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

Fix the ibm-fms install for mypy #10

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Changes from all commits
Commits
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
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 }}
Loading