Skip to content

Commit

Permalink
Adding the flag to docker laucnher.
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil committed Nov 28, 2023
1 parent e3c31c9 commit 26a271f
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration-tests/UNKNOWN.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Metadata-Version: 2.1
Name: UNKNOWN
Version: 0.0.0
24 changes: 24 additions & 0 deletions integration-tests/UNKNOWN.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
pyproject.toml
UNKNOWN.egg-info/PKG-INFO
UNKNOWN.egg-info/SOURCES.txt
UNKNOWN.egg-info/dependency_links.txt
UNKNOWN.egg-info/top_level.txt
models/test_bloom_560m.py
models/test_bloom_560m_sharded.py
models/test_flash_awq.py
models/test_flash_awq_sharded.py
models/test_flash_falcon.py
models/test_flash_llama.py
models/test_flash_llama_gptq.py
models/test_flash_mistral.py
models/test_flash_neox.py
models/test_flash_neox_sharded.py
models/test_flash_santacoder.py
models/test_flash_starcoder.py
models/test_flash_starcoder_gptq.py
models/test_idefics.py
models/test_mpt.py
models/test_mt0_base.py
models/test_neox.py
models/test_neox_sharded.py
models/test_t5_sharded.py
1 change: 1 addition & 0 deletions integration-tests/UNKNOWN.egg-info/dependency_links.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions integration-tests/UNKNOWN.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
models
4 changes: 4 additions & 0 deletions integration-tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ def docker_launcher(
quantize: Optional[str] = None,
trust_remote_code: bool = False,
use_flash_attention: bool = True,
dtype: Optional[str] = None
):
port = random.randint(8000, 10_000)

Expand All @@ -283,6 +284,9 @@ def docker_launcher(
if quantize is not None:
args.append("--quantize")
args.append(quantize)
if dtype is not None:
args.append("--dtype")
args.append(dtype)
if trust_remote_code:
args.append("--trust-remote-code")

Expand Down

0 comments on commit 26a271f

Please sign in to comment.