my-voice-assistant / setup.sh
Devakumar868's picture
Update setup.sh
0511216 verified
raw
history blame
547 Bytes
#!/usr/bin/env bash
echo "πŸ”§ Starting custom setup..."
# Install numpy first to avoid conflicts
echo "πŸ“¦ Installing NumPy..."
pip install --no-cache-dir numpy==1.24.3
echo "πŸ“¦ Installing CUDA-enabled PyTorch..."
# Install CUDA-enabled PyTorch
pip install --no-cache-dir \
torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 \
--index-url https://download.pytorch.org/whl/cu118
echo "πŸ“‹ Installing remaining dependencies..."
# Install remaining dependencies
pip install --no-cache-dir -r requirements.txt
echo "βœ… Setup complete!"