mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
Starting hello
This commit is contained in:
parent
8e4ba60e6b
commit
130b481b31
9
.github/workflows/build.yaml
vendored
9
.github/workflows/build.yaml
vendored
@ -189,12 +189,11 @@ jobs:
|
||||
make install-integration-tests
|
||||
- name: Run tests
|
||||
run: |
|
||||
docker run --device /dev/kfd --device /dev/dri --env ROCR_VISIBLE_DEVICES -e HUGGING_FACE_HUB_TOKEN=$HF_TOKEN -e ROCM_USE_FLASH_ATTN_V2_TRITON=1 -v /home/nicolas/.cache/huggingface/:/data -p 3000:80 registry.internal.huggingface.tech/api-inference/community/text-generation-inference:sha-318bbc7-rocm --model-id mistralai/Mistral-7B-Instruct-v0.1
|
||||
# export DOCKER_VOLUME=/mnt2/
|
||||
export DOCKER_VOLUME=/mnt2/
|
||||
# export DOCKER_IMAGE=${{ needs.build-and-push.outputs.docker_image }}
|
||||
export DOCKER_IMAGE=hello-world
|
||||
# export DOCKER_DEVICES=${{ needs.build-and-push.outputs.docker_devices }}
|
||||
# export EXTRA_PYTEST="${{ needs.build-and-push.outputs.extra_pytest }}"
|
||||
# export HF_TOKEN=${{ secrets.HF_TOKEN }}
|
||||
# export ROCR_VISIBLE_DEVICES=3,4
|
||||
# echo $DOCKER_IMAGE
|
||||
# pytest -s -vv integration-tests ${PYTEST_FLAGS} ${EXTRA_PYTEST}
|
||||
echo $DOCKER_IMAGE
|
||||
pytest -s -vv integration-tests ${PYTEST_FLAGS} ${EXTRA_PYTEST}
|
||||
|
Loading…
Reference in New Issue
Block a user