Abhinav Kulkarni
commited on
Commit
•
0fefc53
1
Parent(s):
2e559ce
Updated README
Browse files
README.md
CHANGED
@@ -76,6 +76,7 @@ with init_empty_weights():
|
|
76 |
torch_dtype=torch.float16, trust_remote_code=True)
|
77 |
|
78 |
real_quantize_model_weight(model, w_bit=w_bit, q_config=q_config, init_only=True)
|
|
|
79 |
|
80 |
model = load_checkpoint_and_dispatch(model, load_quant, device_map="balanced")
|
81 |
|
|
|
76 |
torch_dtype=torch.float16, trust_remote_code=True)
|
77 |
|
78 |
real_quantize_model_weight(model, w_bit=w_bit, q_config=q_config, init_only=True)
|
79 |
+
model.tie_weights()
|
80 |
|
81 |
model = load_checkpoint_and_dispatch(model, load_quant, device_map="balanced")
|
82 |
|