Skip to content

Commit

Permalink
Try again to fix nightly builds (#37)
Browse files Browse the repository at this point in the history
* fix(ci): install missing build package to build python packages

* feat(ci): make pytest tests verbose

* fix(build): correct default clone url

* fix(CI): correct CI's nightly workflow step for TGI tests

Install was missing.
  • Loading branch information
tengomucho authored May 4, 2024
1 parent b05579e commit 829f64c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test-pytorch-xla-tpu-tgi-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ jobs:

- name: Build and test Optimum TPU (also slow tests)
run: |
python -m pip install build
make build_dist test_installs
python -m pytest --runslow tests
python -m pytest --runslow -sv tests
- name: Build and test TGI (also slow tests)
run: |
make tgi_server test_installs
python -m pytest --runslow text-generation-inference/tests
find text-generation-inference/ -name "text_generation_server-*whl" -exec python -m pip install {} \;
python -m pytest --runslow -sv text-generation-inference/tests
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
SHELL := /bin/bash
CURRENT_DIR = $(shell pwd)
DEFAULT_CLONE_URL := https://github.com/huggingface/optimum-neuron.git
DEFAULT_CLONE_URL := https://github.com/huggingface/optimum-tpu.git
# If CLONE_URL is empty, revert to DEFAULT_CLONE_URL
REAL_CLONE_URL = $(if $(CLONE_URL),$(CLONE_URL),$(DEFAULT_CLONE_URL))

Expand Down

0 comments on commit 829f64c

Please sign in to comment.