mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
temporarily disable integration tests
This commit is contained in:
parent
7a5f5d9757
commit
0d5c8977d7
68
.github/workflows/build.yaml
vendored
68
.github/workflows/build.yaml
vendored
@ -396,36 +396,38 @@ jobs:
|
|||||||
label: ${{ needs.start-runner.outputs.label }}
|
label: ${{ needs.start-runner.outputs.label }}
|
||||||
ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}
|
ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}
|
||||||
|
|
||||||
integration-tests-rocm:
|
# TODO: Move this to `build_amd.yml` (and `build_nvidia.yml`)
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }}
|
# integration-tests-rocm:
|
||||||
cancel-in-progress: true
|
# concurrency:
|
||||||
needs:
|
# group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }}
|
||||||
- start-runner
|
# cancel-in-progress: true
|
||||||
- build-and-push-image
|
# needs:
|
||||||
- integration-tests
|
# - start-runner
|
||||||
- build-and-push-image-rocm
|
# - build-and-push-image
|
||||||
- stop-runner
|
# - integration-tests
|
||||||
runs-on: [self-hosted, docker-gpu, amd-gpu, multi-gpu, mi300]
|
# - build-and-push-image-rocm
|
||||||
container:
|
# - stop-runner
|
||||||
image: registry.internal.huggingface.tech/api-inference/community/text-generation-inference:sha-${{ needs.build-and-push-image-rocm.outputs.short_sha }}-rocm
|
# runs-on: [self-hosted, amd-gpu, multi-gpu, mi300]
|
||||||
options: --device /dev/kfd --device /dev/dri --env ROCR_VISIBLE_DEVICES --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/cache
|
# container:
|
||||||
env:
|
# image: registry.internal.huggingface.tech/api-inference/community/text-generation-inference:sha-${{ needs.build-and-push-image-rocm.outputs.short_sha }}-rocm
|
||||||
DOCKER_VOLUME: /cache
|
# options: --device /dev/kfd --device /dev/dri --env ROCR_VISIBLE_DEVICES --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/cache
|
||||||
steps:
|
# env:
|
||||||
- name: ROCM-SMI
|
# DOCKER_VOLUME: /cache
|
||||||
run: |
|
# steps:
|
||||||
rocm-smi
|
# - name: ROCM-SMI
|
||||||
- name: ROCM-INFO
|
# run: |
|
||||||
run: |
|
# rocm-smi
|
||||||
rocminfo | grep "Agent" -A 14
|
# - name: ROCM-INFO
|
||||||
- name: Show ROCR environment
|
# run: |
|
||||||
run: |
|
# rocminfo | grep "Agent" -A 14
|
||||||
echo "ROCR: $ROCR_VISIBLE_DEVICES"
|
# - name: Show ROCR environment
|
||||||
- name: Install
|
# run: |
|
||||||
run: |
|
# echo "ROCR: $ROCR_VISIBLE_DEVICES"
|
||||||
make install-integration-tests
|
# - name: Install
|
||||||
- name: Run tests
|
# run: |
|
||||||
run: |
|
# make install-integration-tests
|
||||||
export HUGGING_FACE_HUB_TOKEN=${{ secrets.HUGGING_FACE_HUB_TOKEN }}
|
# - name: Run tests
|
||||||
pytest -s -vv integration-tests
|
# run: |
|
||||||
|
# export HUGGING_FACE_HUB_TOKEN=${{ secrets.HUGGING_FACE_HUB_TOKEN }}
|
||||||
|
# pytest -s -vv integration-tests
|
||||||
|
Loading…
Reference in New Issue
Block a user