mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-07 12:01:39 +00:00
[ColoTensor] rename APIs and add output_replicate to ComputeSpec (#1168)
This commit is contained in:
@@ -129,7 +129,7 @@ def _get_colo_tensors_info(*args) -> list:
|
||||
info = []
|
||||
for arg in args:
|
||||
if isinstance(arg, ColoTensor):
|
||||
info.append((arg.__class__, arg.spec))
|
||||
info.append((arg.__class__, arg.tensor_spec))
|
||||
else:
|
||||
info.append(None)
|
||||
return info
|
||||
|
Reference in New Issue
Block a user