Skip to content

Commit

Permalink
[docs] fix typo (huggingface#36080)
Browse files Browse the repository at this point in the history
typo fix
  • Loading branch information
faaany authored and sbucaille committed Feb 14, 2025
1 parent 725db80 commit e6e4508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/quantization/compressed_tensors.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ct_model = AutoModelForCausalLM.from_pretrained("nm-testing/Meta-Llama-3.1-8B-In

# Measure memory usage
mem_params = sum([param.nelement()*param.element_size() for param in ct_model.parameters()])
print(f"{mem/2**30:.4f} GB")
print(f"{mem_params/2**30:.4f} GB")
# 8.4575 GB
```

Expand Down

0 comments on commit e6e4508

Please sign in to comment.