Update llama.py
This commit is contained in:
parent
96e3269dd8
commit
24a79c14d2
1 changed files with 1 additions and 1 deletions
|
|
@ -1891,7 +1891,7 @@ class FastLlamaModel:
|
|||
torch.cuda.empty_cache()"""
|
||||
multiplier = \
|
||||
"4.5 if getattr(model.config, 'quantization_config', {'load_in_4bit' : False})['load_in_4bit'] else "\
|
||||
"8.0 if getattr(model.config, 'quantization_config', {'load_in_8bit' : False})['load_in_8bit'] else 1.0"
|
||||
"8.0 if getattr(model.config, 'quantization_config', {'load_in_8bit' : False})['load_in_8bit'] else 1.0"
|
||||
debug_info = debug_info.replace("multiplier__", "(" + multiplier + ")")
|
||||
debug_info = debug_info.replace("P__", "get_model_param_count")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue