Skip to content

Commit 88714e3

Browse files
#10 Allow retrieval of models hosted in HuggingFace (#21)
* Enable pulling models from Hugging Face (#1) Co-authored-by: Jonatan Contreras <[email protected]> * Enable pulling models from Hugging Face (#2) * Enable pulling models from Hugging Face * Disable validation by default --------- Co-authored-by: Jonatan Contreras <[email protected]> * Enable pulling models from Hugging Face (#3) * Enable pulling models from Hugging Face * Disable validation by default * Enable pulling models from Hugging Face --------- Co-authored-by: Jonatan Contreras <[email protected]> * Create Mock Test for Pull Algorithm from Hub (#4) * Create Mock Test for Pull Algorithm from Hub * Create Mock Test for Pull Algorithm from Hub * Create Mock Test for Pull Algorithm from Hub * Hugging Face Pulling Methods (#5) * Adding contributors * Enable pulling models from Hugging Face --------- Co-authored-by: [email protected] Co-authored-by: [email protected] Co-authored-by: [email protected] Co-authored-by: [email protected] ---------- Leads Tech lead: Juan Miguel Avila - [email protected] Focal lead: Tanya Franco - [email protected] * Refactor hub pull: conditional validation, clearer logging, and testability (#6) * Create Mock Test for Snapshot Download from Hub (#7) * Refactor hub pull: conditional validation, clearer logging, and testability * Create Mock Test for Snapshot Download from Hub * Mock snapshot_download using side_effect with standalone function for accurate signature match (#8) * Use a tmpdir fixture to create a tmp dir (#9) * Use only third-party mock functions that interact with external services (#10) --------- Co-authored-by: Jonatan Contreras <[email protected]> Co-authored-by: Jonatan Contreras <[email protected]>
1 parent 9b91276 commit 88714e3

File tree

6 files changed

+958
-5
lines changed

6 files changed

+958
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: |
3737
python -m pip install --upgrade pip
3838
pip install torch --extra-index-url https://download.pytorch.org/whl/cpu
39-
pip install numpy loguru pytest maturin
39+
pip install numpy loguru pytest pytest-mock maturin
4040
pip install -e .
4141
- name: Run tests
4242
env:

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,7 @@ runs/
7474

7575
# Rust
7676
rust/target
77-
target
77+
target
78+
79+
# Downloaded Models
80+
/models

0 commit comments

Comments
 (0)