mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-09 03:14:53 +00:00
Remove
Signed-off-by: yuanwu <yuan.wu@intel.com>
This commit is contained in:
parent
4e95db304f
commit
d98116db6e
@ -469,6 +469,7 @@ class FlashLlamaLayer(nn.Module):
|
||||
class FlashLlamaModel(torch.nn.Module):
|
||||
def __init__(self, prefix, config, weights):
|
||||
super().__init__()
|
||||
|
||||
process_group = weights.process_group
|
||||
self.tp_rank = process_group.rank()
|
||||
self.tp_world_size = process_group.size()
|
||||
|
Loading…
Reference in New Issue
Block a user