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
3dbbf83f
Unverified
Commit
3dbbf83f
authored
Dec 05, 2023
by
flybird11111
Committed by
GitHub
Dec 05, 2023
Browse files
fix (#5158)
fix
parent
368b5e3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
colossalai/tensor/colo_parameter.py
colossalai/tensor/colo_parameter.py
+1
-1
No files found.
colossalai/tensor/colo_parameter.py
View file @
3dbbf83f
...
@@ -7,7 +7,7 @@ from colossalai.tensor.param_op_hook import ColoParamOpHookManager
...
@@ -7,7 +7,7 @@ from colossalai.tensor.param_op_hook import ColoParamOpHookManager
from
.colo_tensor
import
_convert_output
from
.colo_tensor
import
_convert_output
WHITE_LIST_FUNCS
=
{
torch
.
Tensor
.
__getitem__
}
WHITE_LIST_FUNCS
=
{
torch
.
Tensor
.
__getitem__
,
torch
.
Tensor
.
is_floating_point
}
def
is_no_hook_op
(
func
)
->
bool
:
def
is_no_hook_op
(
func
)
->
bool
:
...
...
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