Skip to content

Gaudi: add CI #3160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ jobs:
export label_extension="-gaudi"
export docker_volume="/mnt/cache"
export docker_devices=""
export runs_on="ubuntu-latest"
export runs_on="aws-dl1-24xlarge"
export platform=""
export extra_pytest=""
export extra_pytest="--gaudi"
export target=""
esac
echo $dockerfile
Expand Down
3 changes: 1 addition & 2 deletions backends/gaudi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ local-dev-install: install-dependencies

# In order to run the integration tests, you need to first build the image (make -C backends/gaudi image)
run-integration-tests:
uv pip install -r ${root_dir}/backends/gaudi/server/integration-tests/requirements.txt
DOCKER_VOLUME=${root_dir}/data \
HF_TOKEN=`cat ${HOME}/.cache/huggingface/token` \
uv run pytest --durations=0 -sv ${root_dir}/backends/gaudi/server/integration-tests
pytest --durations=0 -s -vv ${root_dir}/integration-tests --gaudi

# This is used to capture the expected outputs for the integration tests offering an easy way to add more models to the integration tests
capture-expected-outputs-for-integration-tests:
Expand Down
2 changes: 0 additions & 2 deletions backends/gaudi/server/integration-tests/pytest.ini

This file was deleted.

7 changes: 0 additions & 7 deletions backends/gaudi/server/integration-tests/requirements.txt

This file was deleted.

276 changes: 0 additions & 276 deletions backends/gaudi/server/integration-tests/test_model.py

This file was deleted.

Loading
Loading