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
xuwx1
LightX2V
Commits
2ed083ba
Commit
2ed083ba
authored
Jun 23, 2025
by
helloyongyang
Browse files
fix ci
parent
c7bb59cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lightx2v_kernel/python/lightx2v_kernel/__init__.py
lightx2v_kernel/python/lightx2v_kernel/__init__.py
+4
-4
No files found.
lightx2v_kernel/python/lightx2v_kernel/__init__.py
View file @
2ed083ba
import
ctypes
import
ctypes
import
os
import
os
import
platform
import
platform
import
torch
import
torch
from
lightx2v_kernel
import
common_ops
from
lightx2v_kernel.gemm
import
cutlass_scaled_fp4_mm
,
scaled_fp4_quant
from
lightx2v_kernel.version
import
__version__
SYSTEM_ARCH
=
platform
.
machine
()
SYSTEM_ARCH
=
platform
.
machine
()
...
@@ -10,8 +13,5 @@ cuda_path = f"/usr/local/cuda/targets/{SYSTEM_ARCH}-linux/lib/libcudart.so.12"
...
@@ -10,8 +13,5 @@ cuda_path = f"/usr/local/cuda/targets/{SYSTEM_ARCH}-linux/lib/libcudart.so.12"
if
os
.
path
.
exists
(
cuda_path
):
if
os
.
path
.
exists
(
cuda_path
):
ctypes
.
CDLL
(
cuda_path
,
mode
=
ctypes
.
RTLD_GLOBAL
)
ctypes
.
CDLL
(
cuda_path
,
mode
=
ctypes
.
RTLD_GLOBAL
)
from
lightx2v_kernel
import
common_ops
from
lightx2v_kernel.gemm
import
cutlass_scaled_fp4_mm
,
scaled_fp4_quant
from
lightx2v_kernel.version
import
__version__
build_tree_kernel
=
None
build_tree_kernel
=
None
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