Skip to content

Commit

Permalink
Merge pull request #75 from FR-DC/frml-159
Browse files Browse the repository at this point in the history
FRML-159 Add torch with gpu to Poetry
  • Loading branch information
Eve-ning authored Jun 19, 2024
2 parents 730fdc4 + 110c253 commit d5bc1f1
Show file tree
Hide file tree
Showing 4 changed files with 1,046 additions and 191 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/basic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
pull_request:
paths:
- "src/frdc/**"
- "poetry.lock"

jobs:
build:
Expand Down Expand Up @@ -40,7 +41,6 @@ jobs:
python -m pip install flake8 pytest poetry
poetry export --with dev --without-hashes -o requirements.txt
pip install -r requirements.txt
pip install torch torchaudio torchvision lightning
- name: Lint with flake8
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/model-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ jobs:
python3 -m pip install flake8 pytest poetry
poetry export --with dev --without-hashes -o requirements.txt
pip3 install -r requirements.txt
pip3 install torch torchvision torchaudio
- name: Check CUDA is available
run: nvidia-smi
Expand Down
Loading

0 comments on commit d5bc1f1

Please sign in to comment.