Skip to content

Commit e4487e2

Browse files
committed
fix call
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
1 parent 74aa7c9 commit e4487e2

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

tests/llmcompressor/transformers/tracing/test_models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ def test_model_trace(model_id, model_class, targets, modality, backends):
136136
modality=modality,
137137
trust_remote_code=True,
138138
skip_weights=True,
139-
device_map="cpu",
140139
)
141140

142141
target_modules = get_target_modules(model, targets)

tests/lmeval/test_lmeval.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ def set_up(self, test_data_file: str):
9090
logger.info("========== RUNNING ==============")
9191
logger.info(self.scheme)
9292

93-
self.device = "cuda:0"
9493
self.num_calibration_samples = 512
9594
self.max_seq_length = 2048
9695

@@ -103,7 +102,6 @@ def test_lm_eval(self, test_data_file: str):
103102
oneshot_model, processor = run_oneshot_for_e2e_testing(
104103
model=self.model,
105104
model_class=self.model_class,
106-
device=self.device,
107105
num_calibration_samples=self.num_calibration_samples,
108106
max_seq_length=self.max_seq_length,
109107
scheme=self.scheme,

0 commit comments

Comments
 (0)