Skip to content

Commit a187cf8

Browse files
committed
remove cuda
1 parent ae8c831 commit a187cf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/llm/export/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def calibrate_template(
225225
)
226226

227227
eval_wrapper = EagerEvalWrapper(
228-
model=prepared_module.to(device="cuda"),
228+
model=prepared_module,
229229
tokenizer=tokenizer,
230230
max_seq_length=calibration_seq_length,
231231
use_kv_cache=self.use_kv_cache,

0 commit comments

Comments
 (0)