Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoin committed Jul 18, 2024
1 parent af8f5a0 commit 3063398
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_auto_fp8.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ def preprocess(example):
quantize_config = BaseQuantizeConfig(quant_method="fp8", activation_scheme="static")

model = AutoFP8ForCausalLM.from_pretrained(model_id, quantize_config)
model.model.to("cpu")

model.quantize(ds)
model.save_quantized(quantized_model_dir)

Expand Down

0 comments on commit 3063398

Please sign in to comment.