Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Dec 10, 2024
1 parent 4629a4e commit 2f37ba2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions examples/cuda_pytorch_llama.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ launcher:

backend:
device: cuda
device_ids: 0
no_weights: true
torch_dtype: float16
model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
Expand Down
1 change: 0 additions & 1 deletion examples/cuda_tgi_llama.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ launcher:
backend:
device: cuda
device_ids: 0
no_weights: true
model: TinyLlama/TinyLlama-1.1B-Chat-v1.0

scenario:
Expand Down
1 change: 0 additions & 1 deletion examples/cuda_trt_llama.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ launcher:
backend:
device: cuda
device_ids: 0
no_weights: true
model: TinyLlama/TinyLlama-1.1B-Chat-v1.0

scenario:
Expand Down
1 change: 0 additions & 1 deletion examples/cuda_vllm_llama.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ launcher:
backend:
device: cuda
device_ids: 0
no_weights: true
serving_mode: offline
model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
engine_args:
Expand Down
4 changes: 3 additions & 1 deletion tests/test_energy_star.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
for config in os.listdir(TEST_CONFIG_DIR)
if config.endswith(".yaml") and not (config.startswith("_") or config.endswith("_"))
]
TEST_SCRIPT_PATHS = [TEST_CONFIG_DIR / filename for filename in os.listdir(TEST_CONFIG_DIR) if filename.endswith(".py")]
TEST_SCRIPT_PATHS = [
str(TEST_CONFIG_DIR / filename) for filename in os.listdir(TEST_CONFIG_DIR) if filename.endswith(".py")
]

ROCR_VISIBLE_DEVICES = os.environ.get("ROCR_VISIBLE_DEVICES", None)
CUDA_VISIBLE_DEVICES = os.environ.get("CUDA_VISIBLE_DEVICES", None)
Expand Down
4 changes: 3 additions & 1 deletion tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
if config.endswith(".yaml") and not (config.startswith("_") or config.endswith("_"))
]

TEST_SCRIPT_PATHS = [TEST_CONFIG_DIR / filename for filename in os.listdir(TEST_CONFIG_DIR) if filename.endswith(".py")]
TEST_SCRIPT_PATHS = [
str(TEST_CONFIG_DIR / filename) for filename in os.listdir(TEST_CONFIG_DIR) if filename.endswith(".py")
]

ROCR_VISIBLE_DEVICES = os.environ.get("ROCR_VISIBLE_DEVICES", None)
CUDA_VISIBLE_DEVICES = os.environ.get("CUDA_VISIBLE_DEVICES", None)
Expand Down

0 comments on commit 2f37ba2

Please sign in to comment.