Spaces:
Sleeping
Sleeping
File size: 353 Bytes
04653e2 | 1 2 3 4 5 6 7 8 9 10 | @echo off
REM GPU setup using Conda
echo Creating conda environment...
call conda create -n localcopilot python=3.11 -y
call conda activate localcopilot
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
pip install -r requirements.txt
python -c "import torch; print(f'CUDA: {torch.cuda.is_available()}')"
pause
|