[TPU] Support collective communications in XLA devices (#6813)

This commit is contained in:
Woosuk Kwon
2024-07-27 01:45:57 +00:00
committed by GitHub
parent bb5494676f
commit d09b94ca58
4 changed files with 70 additions and 2 deletions
+4
View File
@@ -1067,6 +1067,10 @@ class LogitsProcessorWithLoRA(BaseLayerWithLoRA):
def soft_cap(self):
return self.base_layer.soft_cap
@property
def use_gather(self):
return self.base_layer.use_gather
@property
def org_vocab_size(self):
return self.base_layer.org_vocab_size