Only 1 test, no container name

This commit is contained in:
Nicolas Patry 2024-10-02 18:03:26 +02:00
parent 3ae4e090eb
commit 29eb7601a9
No known key found for this signature in database
GPG Key ID: E939E8CC91A1C674
2 changed files with 2 additions and 2 deletions

View File

@ -199,5 +199,5 @@ jobs:
echo $DOCKER_IMAGE 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)' # 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 which pytest
pytest -s -vv integration-tests -k flash_llama_grammar_tools pytest -s -vv integration-tests -k flash_llama_grammar_tools_auto
# pytest -s -vv integration-tests ${PYTEST_FLAGS} ${EXTRA_PYTEST} # pytest -s -vv integration-tests ${PYTEST_FLAGS} ${EXTRA_PYTEST}

View File

@ -532,7 +532,7 @@ def launcher(event_loop):
container = client.containers.run( container = client.containers.run(
DOCKER_IMAGE, DOCKER_IMAGE,
command=args, command=args,
name=container_name, # name=container_name,
environment=env, environment=env,
auto_remove=False, auto_remove=False,
detach=True, detach=True,