Abhinav Kulkarni
commited on
Commit
•
ffa0ed1
1
Parent(s):
1c84c10
Updated README
Browse files
README.md
CHANGED
@@ -72,6 +72,7 @@ with init_empty_weights():
|
|
72 |
torch_dtype=torch.float16, trust_remote_code=True)
|
73 |
|
74 |
real_quantize_model_weight(model, w_bit=w_bit, q_config=q_config, init_only=True)
|
|
|
75 |
|
76 |
model = load_checkpoint_and_dispatch(model, load_quant, device_map="balanced")
|
77 |
|
|
|
72 |
torch_dtype=torch.float16, trust_remote_code=True)
|
73 |
|
74 |
real_quantize_model_weight(model, w_bit=w_bit, q_config=q_config, init_only=True)
|
75 |
+
model.tie_weights()
|
76 |
|
77 |
model = load_checkpoint_and_dispatch(model, load_quant, device_map="balanced")
|
78 |
|