[Update] Enhance build scripts and requirements for Hugging Face integration; improve logging and error handling

This commit is contained in:
misyaguziya
2025-05-29 08:04:06 +09:00
parent 238bd41109
commit 67d06ab1e1
7 changed files with 23 additions and 29 deletions

View File

@@ -1,21 +1,25 @@
REM .venv .venv_cuda があれば削除
REM .venv exists
if exist .venv (
rmdir /s /q .venv
)
if exist .venv_cuda (
rmdir /s /q .venv_cuda
)
REM .venv .venv_cuda を作成
REM make .venv
python -m venv .venv
python -m venv .venv_cuda
REM .venv .venv_cuda に必要なパッケージをインストール
REM install packages for .venv
call .venv/Scripts/activate
python.exe -m pip install --upgrade pip
pip install --no-cache-dir --force-reinstall -r requirements.txt
REM if .venv_cuda exists
if exist .venv_cuda (
rmdir /s /q .venv_cuda
)
REM make .venv_cuda
python -m venv .venv_cuda
REM install packages for .venv_cuda
call .venv_cuda/Scripts/activate
python.exe -m pip install --upgrade pip
pip install --no-cache-dir --force-reinstall -r requirements_cuda.txt