Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecolle committed Jan 8, 2025
1 parent 314feab commit d514d64
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/debug-dind.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Debug DIND

on:
push:
# push:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/test-pytorch-xla-tpu-tgi-integration.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Optimum TPU / Test TGI on TPU / Integration Tests

on:
push:
schedule:
- cron: '0 4 * * *' # run at 4 AM UTC
# This can be used to allow manually triggering nightlies from the web interface
Expand Down Expand Up @@ -32,9 +33,16 @@ jobs:
sudo apt-get install -y python3 python3-pip
sudo ln -s /usr/bin/python3 /usr/bin/python
# We cannot use make tpu-tgi here because we need to build the docker image with the network host option
- name: Build TGI Docker Image
run: |
make tpu-tgi
docker build --rm -f text-generation-inference/docker/Dockerfile \
--build-arg VERSION=$(VERSION) \
--build-arg TGI_VERSION=$(TGI_VERSION) \
--ulimit nofile=100000:100000 \
--network host \
-t huggingface/optimum-tpu:$(VERSION)-tgi .
docker tag huggingface/optimum-tpu:$(VERSION)-tgi huggingface/optimum-tpu:latest
- name: Run integration tests
run: |
Expand Down

0 comments on commit d514d64

Please sign in to comment.