local_copilot / setup_conda_gpu.bat
Kash6's picture
Deploy AI Coding Assistant
04653e2
raw
history blame contribute delete
353 Bytes
@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