Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
955ac912
Unverified
Commit
955ac912
authored
Jun 23, 2022
by
Ziyue Jiang
Committed by
GitHub
Jun 23, 2022
Browse files
remove log (#1160)
parent
4e67b2a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
colossalai/nn/graph/utils.py
colossalai/nn/graph/utils.py
+0
-1
No files found.
colossalai/nn/graph/utils.py
View file @
955ac912
...
@@ -28,7 +28,6 @@ def register_colo_graph(input_pos: List[int], param_pos: List[int]) -> Callable:
...
@@ -28,7 +28,6 @@ def register_colo_graph(input_pos: List[int], param_pos: List[int]) -> Callable:
input_list
.
append
(
convert_to_colo_tensor
(
arg
))
input_list
.
append
(
convert_to_colo_tensor
(
arg
))
if
isinstance
(
arg
,
torch
.
Tensor
)
and
idx
in
param_pos
:
if
isinstance
(
arg
,
torch
.
Tensor
)
and
idx
in
param_pos
:
param_list
.
append
(
convert_to_colo_tensor
(
arg
))
param_list
.
append
(
convert_to_colo_tensor
(
arg
))
print
(
f
'Op
{
func
}
'
)
# building the computing graph, inputs -> op
# building the computing graph, inputs -> op
if
GraphGlobalEnv
().
graph_building
:
if
GraphGlobalEnv
().
graph_building
:
cur_op_node
=
GraphOpNode
(
'linear'
,
param_list
)
cur_op_node
=
GraphOpNode
(
'linear'
,
param_list
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment