Skip to content

Commit 5a14021

Browse files
committed
lint
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
1 parent 9e687cc commit 5a14021

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

torchao/_models/mixtral-moe/generate.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,10 @@ def main(
298298

299299
if config is not None:
300300
quantize_(model, config, filter_fn=cond_ffn_filter)
301-
print(f"Time to apply quantization to model: {time.time() - t0:.02f} seconds")
302-
301+
print(
302+
f"Time to apply quantization to model: {time.time() - t0:.02f} seconds"
303+
)
304+
303305
model.to(device=device)
304306
device_sync(device=device)
305307

0 commit comments

Comments
 (0)