Spaces:
Build error
Build error
File size: 974 Bytes
22cec44 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
@echo off
echo Installing Phi-4 Training Requirements
echo =====================================
echo.
REM Check if Python is available
where python >nul 2>&1
if %ERRORLEVEL% neq 0 (
echo Python not found! Please make sure Python is installed and in your PATH.
exit /b 1
)
echo Step 1: Installing base requirements...
python -m pip install -r requirements-base.txt
if %ERRORLEVEL% neq 0 (
echo Failed to install base requirements.
exit /b 1
)
echo Base requirements installed successfully.
echo.
echo Step 2: Installing additional requirements...
python -m pip install -r requirements.txt
if %ERRORLEVEL% neq 0 (
echo Failed to install additional requirements.
exit /b 1
)
echo Additional requirements installed successfully.
echo.
echo All required packages installed successfully!
echo To install optional flash-attention, run: python -m pip install -r requirements-flash.txt --no-build-isolation
echo.
pause |