mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-19 08:32:55 +00:00
[autoparallel] fix bias addition module (#1800)
This commit is contained in:
@@ -58,7 +58,7 @@ def torch_bmm(input, mat2, *, out=None):
|
||||
|
||||
|
||||
@meta_patched_function.register(torch.nn.functional.linear)
|
||||
def torch_linear(input, mat2, *, out=None):
|
||||
def torch_linear(input, mat2, bias=None, *, out=None):
|
||||
if out is not None:
|
||||
raise ValueError("Don't support in-place abs for MetaTensor analysis")
|
||||
output_shape = list(input.shape)
|
||||
|
Reference in New Issue
Block a user