Skip to content

Commit 815a698

Browse files
author
niushengxiao
committed
add lightllm ops
1 parent 4948cea commit 815a698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightllm/utils/light_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# TODO: lightllm_kernel release
66
import lightllm_kernel
77

8-
light_ops = lightllm_kernel
8+
light_ops = getattr(lightllm_kernel, "ops", lightllm_kernel)
99
HAS_LIGHTLLM_KERNEL = True
1010
except:
1111
light_ops = None

0 commit comments

Comments
 (0)