Skip to content

Commit

Permalink
remove broken energy tracker reset method
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecolle committed Oct 14, 2024
1 parent b7b8dbb commit 9fdb506
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions examples/pytorch_llama.yaml → examples/pytorch_gpt2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ launcher:
backend:
model: gpt2
device: cuda
device_ids: 0
torch_dtype: float16

scenario:
Expand Down
8 changes: 5 additions & 3 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# can be run with pytest tests/test_example.py -s -k "cuda and pytorch"
CUDA_PYTORCH_CONFIGS = [
"pytorch_bert.yaml",
"pytorch_llama.yaml",
"pytorch_gpt2.yaml",
]

# can be run with pytest tests/test_example.py -s -k "cuda and txi"
Expand All @@ -58,7 +58,7 @@

# can be run with pytest tests/test_example.py -s -k "cuda and tensorrt_llm"
CUDA_TENSORRT_LLM_CONFIGS = [
"trt_llama.yaml",
# "trt_llama.yaml",
]

# can be run with pytest tests/test_example.py -s -k "cuda and vllm"
Expand All @@ -72,14 +72,16 @@
"llama_cpp_text_generation.yaml",
]

# can be run with pytest tests/test_example.py -s -k "cuda and pytorch"
CUDA_PYTORCH_SCRIPTS = [
"pytorch_bert.py",
"pytorch_llama.py",
"pytorch_gpt2.py",
]

# Those tests are not run on the CI/CD pipeline as they are currently broken
UNTESTED_YAML_CONFIGS = [
"energy_star.yaml",
"trt_llama.yaml",
]

ALL_YAML_CONFIGS = (
Expand Down

0 comments on commit 9fdb506

Please sign in to comment.