Automatically download converted models from the Hugging Face Hub (#70)
* Automatically download converted models from the Hugging Face Hub * Remove unused import * Remove non needed requirements in dev mode * Remove extra index URL when pip install in CI * Allow downloading to a specific directory * Update docstring * Add argument to disable the progess bars * Fix typo in docstring
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
- name: Install module
|
||||
run: |
|
||||
pip install wheel
|
||||
pip install .[dev] --extra-index-url https://download.pytorch.org/whl/cpu
|
||||
pip install -e .[dev]
|
||||
|
||||
- name: Check code format with Black
|
||||
run: |
|
||||
@@ -55,11 +55,11 @@ jobs:
|
||||
- name: Install module
|
||||
run: |
|
||||
pip install wheel
|
||||
pip install .[dev] --extra-index-url https://download.pytorch.org/whl/cpu
|
||||
pip install -e .[dev]
|
||||
|
||||
- name: Run pytest
|
||||
run: |
|
||||
pytest -v tests/test.py
|
||||
pytest -v tests/
|
||||
|
||||
|
||||
build-and-push-package:
|
||||
|
||||
Reference in New Issue
Block a user