mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
Without pytest.
This commit is contained in:
parent
c803a53cdd
commit
51f07200ce
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
@ -197,8 +197,8 @@ jobs:
|
||||
# export EXTRA_PYTEST="${{ needs.build-and-push.outputs.extra_pytest }}"
|
||||
export HF_TOKEN=${{ secrets.HF_TOKEN }}
|
||||
echo $DOCKER_IMAGE
|
||||
# python -c 'import docker; client = docker.from_env(); client.containers.run("registry.internal.huggingface.tech/api-inference/community/text-generation-inference:sha-318bbc7-rocm", devices=["/dev/kfd", "/dev/dri"], env={"MODEL_ID": "gpt2"}, detach=True)'
|
||||
which pytest
|
||||
python -c 'import docker; client = docker.from_env(); client.containers.run("registry.internal.huggingface.tech/api-inference/community/text-generation-inference:sha-318bbc7-rocm", devices=["/dev/kfd", "/dev/dri"], env={"MODEL_ID": "gpt2", "HF_TOKEN": ${HF_TOKEN}}, devices=["/dev/kfd", "/dev/dri"])'
|
||||
# which pytest
|
||||
pip freeze
|
||||
pytest -s -vv integration-tests -k flash_llama_grammar_tools_auto
|
||||
# pytest -s -vv integration-tests -k flash_llama_grammar_tools_auto
|
||||
# pytest -s -vv integration-tests ${PYTEST_FLAGS} ${EXTRA_PYTEST}
|
||||
|
Loading…
Reference in New Issue
Block a user