Skip to content

Commit

Permalink
chore: update requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachneet committed Jan 3, 2025
1 parent 2417c1f commit 739d454
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,8 @@ jobs:
with:
python-version: 3.9

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential
sudo apt-get install -y cuda-toolkit-11.2 # Adjust based on your CUDA version
sudo apt-get install -y libomp-dev # Optional for parallel builds
- name: Install Python dependencies
run: |
# Install numpy before torch to avoid missing numpy error
pip install numpy
# Install PyTorch with the specific version (with CUDA 11.2 support here)
pip install torch==2.4.0+cu121 # Modify for the correct CUDA version
# Install packaging, wheel, and other required libraries
pip install packaging wheel
# Install flash-attn with no build isolation
pip install flash-attn==2.6.3 --no-build-isolation
# Install the current package (from setup.py)
pip install .
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ fastapi==0.111.0
fastapi-cli==0.0.4
fastchat==0.1.0
torch==2.4.0
flash-attn==2.6.3
flashinfer==0.1.2+cu121torch2.3
huggingface-hub==0.23.4
langchain==0.3.3
Expand Down

0 comments on commit 739d454

Please sign in to comment.