From 2e6ab4bf671d7fd3a11c772057b7fcca31991391 Mon Sep 17 00:00:00 2001 From: flybird11111 <1829166702@qq.com> Date: Tue, 5 Dec 2023 08:11:02 +0800 Subject: [PATCH] fix fix --- colossalai/tensor/colo_parameter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colossalai/tensor/colo_parameter.py b/colossalai/tensor/colo_parameter.py index 5712505ae2ff..5301c87b9836 100644 --- a/colossalai/tensor/colo_parameter.py +++ b/colossalai/tensor/colo_parameter.py @@ -7,7 +7,7 @@ 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: