Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 authored Dec 13, 2024
1 parent 9596911 commit 88e81a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/brevitas_examples/llm/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ def main(args):

if args.bias_corr:
model = add_zero_bias_to_linear(model)

model = offload_model(model)

with torch.no_grad():
Expand Down

0 comments on commit 88e81a8

Please sign in to comment.