mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 11:54:52 +00:00
enable hf_transfer on tests
This commit is contained in:
parent
5862add4d0
commit
c02a5475ea
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
@ -60,7 +60,7 @@ jobs:
|
|||||||
- name: Run server tests
|
- name: Run server tests
|
||||||
run: |
|
run: |
|
||||||
pip install pytest
|
pip install pytest
|
||||||
pytest -sv server/tests
|
HF_HUB_ENABLE_HF_TRANSFER=1 pytest -sv server/tests
|
||||||
- name: Run Rust tests
|
- name: Run Rust tests
|
||||||
run: |
|
run: |
|
||||||
cargo test
|
cargo test
|
||||||
|
2
Makefile
2
Makefile
@ -19,7 +19,7 @@ integration-tests: install-router install-launcher
|
|||||||
cargo test
|
cargo test
|
||||||
|
|
||||||
python-tests:
|
python-tests:
|
||||||
cd server && pytest tests
|
cd server && HF_HUB_ENABLE_HF_TRANSFER=1 pytest tests
|
||||||
|
|
||||||
run-bloom-560m:
|
run-bloom-560m:
|
||||||
text-generation-launcher --model-id bigscience/bloom-560m --num-shard 2
|
text-generation-launcher --model-id bigscience/bloom-560m --num-shard 2
|
||||||
|
Loading…
Reference in New Issue
Block a user