Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FRML-44 Integrate CML #17

Merged
merged 31 commits into from
Nov 20, 2023
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
fd7a486
Test custom runner
Eve-ning Nov 6, 2023
9d961ff
Try use poetry to install
Eve-ning Nov 6, 2023
2e59b92
Fix pipx not installed issue
Eve-ning Nov 6, 2023
9a1b3f2
Fix pipx not installed issue
Eve-ning Nov 6, 2023
184c330
Fix pipx not installed issue
Eve-ning Nov 6, 2023
7406710
Fix pipx not installed issue
Eve-ning Nov 6, 2023
2758d57
Fix pipx not installed issue
Eve-ning Nov 6, 2023
86cf7ad
Update poetry lock
Eve-ning Nov 6, 2023
fda1a42
Use poetry to run pytest
Eve-ning Nov 6, 2023
0b73851
Add cuda toolkit installation
Eve-ning Nov 6, 2023
1064c34
Add cuda toolkit installation
Eve-ning Nov 6, 2023
56fb64c
Test custom CML runner
Eve-ning Nov 8, 2023
3835b8a
Change container to CML GPU
Eve-ning Nov 8, 2023
cde72c5
Fix missing poetry
Eve-ning Nov 8, 2023
da1c810
Fix missing poetry
Eve-ning Nov 8, 2023
b6eac89
Remove caching
Eve-ning Nov 8, 2023
a3e61ba
Try to use torch gpu
Eve-ning Nov 8, 2023
a904fc3
Try use non-container
Eve-ning Nov 8, 2023
1f05f7b
Try use traditional pip
Eve-ning Nov 8, 2023
eebd369
Try use CML comment
Eve-ning Nov 8, 2023
dcc1f30
Try use CML comment
Eve-ning Nov 8, 2023
2d10518
Add write-all perms
Eve-ning Nov 8, 2023
51b1b6e
Fix GH perms for token
Eve-ning Nov 8, 2023
80e50c6
Try with inferred token
Eve-ning Nov 8, 2023
d0758fb
Add wandb dependency
Nov 8, 2023
d700604
Test mvp run without GLCM
Eve-ning Nov 8, 2023
276e788
Fix incorrect test run python call
Eve-ning Nov 8, 2023
13d7758
Call via module syntax to preserve path
Eve-ning Nov 8, 2023
8392545
Add src to PYTHONPATH
Eve-ning Nov 8, 2023
df6cf56
Fix some issues with WandB export and PYTHONPATH
Eve-ning Nov 8, 2023
2cf9193
Fix issue with report exporting relative to call
Eve-ning Nov 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use poetry to run pytest
  • Loading branch information
Eve-ning committed Nov 6, 2023
commit fda1a422c16a9cf2f18fceeb9f934fc9888ea866
6 changes: 3 additions & 3 deletions .github/workflows/model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ jobs:
uses: 'google-github-actions/setup-gcloud@v1'

# We don't necessarily need to install the CUDA version of torch, so we'll do with cpu
- name: Install dependencies
- name: Install dependencies through poetry
run: |
python -m pip install --upgrade pip
poetry install --with dev,glcm
# pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

- name: Test with pytest
- name: Test with pytest through poetry
run: |
pytest tests/model_tests
poetry run pytest tests/model_tests


Loading