Skip to content

Commit

Permalink
Make unit tests pass by pip installing torchdata from nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
gokulavasan committed Apr 26, 2024
1 parent bac6673 commit d09fcfb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/unit_test_4gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- name: Install dependencies
run: |
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121
pip3 install --pre torchdata --index-url https://download.pytorch.org/whl/nightly/cpu
python -m pip install -r requirements.txt
python -m pip install -r dev-requirements.txt
python -m pip install -e .
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit_test_cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- name: Install dependencies
run: |
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121
pip3 install --pre torchdata --index-url https://download.pytorch.org/whl/nightly/cpu
python -m pip install -r requirements.txt
python -m pip install -r dev-requirements.txt
python -m pip install -e .
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ tensorboard
sentencepiece
tiktoken
blobfile
-i https://download.pytorch.org/whl/nightly/cpu
torchdata

0 comments on commit d09fcfb

Please sign in to comment.