Support torchrun and SPMD-style offline inference (#12071)
Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
+2
-2
@@ -940,8 +940,8 @@ class LogitsProcessorWithLoRA(BaseLayerWithLoRA):
|
||||
return self.base_layer.soft_cap
|
||||
|
||||
@property
|
||||
def use_gather(self):
|
||||
return self.base_layer.use_gather
|
||||
def use_all_gather(self):
|
||||
return self.base_layer.use_all_gather
|
||||
|
||||
@property
|
||||
def org_vocab_size(self):
|
||||
|
||||
Reference in New Issue
Block a user