Skip to content

Commit

Permalink
Merge pull request #10 from afrittoli/install_fms_dev
Browse files Browse the repository at this point in the history
Fix the ibm-fms install for mypy
  • Loading branch information
nairbv authored Feb 16, 2024
2 parents 27e655d + 18ee13c commit 118e2ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
- name: Test with mypy
run: |
# Install ibm-fms from the main branch for testing purposes
pip install ibm-fms@git+https://github.com/foundation-model-stack/foundation-model-stack@main
# Use -I to ignore the existing install and actually install
# the version on main
pip install -I ibm-fms@git+https://github.com/foundation-model-stack/foundation-model-stack@main
# No type stubs available for "fire" and "transformers"
mypy --exclude fms_to_hf.py --exclude main_training.py .
Expand All @@ -55,4 +57,4 @@ jobs:
uses: actions/cache/save@v4
with:
path: ./.venv/
key: ${{ steps.cache-venv-restore.outputs.cache-primary-key }}
key: ${{ steps.cache-venv-restore.outputs.cache-primary-key }}

0 comments on commit 118e2ee

Please sign in to comment.