mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-24 00:12:08 +00:00
No one saw that, therefore it didn't happen.
This commit is contained in:
parent
55cf4d257c
commit
5de6863756
@ -21,7 +21,7 @@ from text_generation_server.utils.layers import (
|
||||
|
||||
|
||||
def load_row(config, prefix: str, weights, bias: bool):
|
||||
weight = weights.get_multi_weights_col([prefix], quantize=config.quantize, dim=1)
|
||||
weight = weights.get_multi_weights_row(prefix, quantize=config.quantize)
|
||||
|
||||
if bias and weights.process_group.rank() == 0:
|
||||
# Rank is only on the first rank process
|
||||
|
Loading…
Reference in New Issue
Block a user