mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-04-28 03:43:01 +00:00
parent
368b5e3d64
commit
3dbbf83f1c
@ -7,7 +7,7 @@ from colossalai.tensor.param_op_hook import ColoParamOpHookManager
|
||||
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user