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
change
sglang
Commits
5de9a58e
"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "b3c437e009b1efc44c56f52e62c298ff9acd727c"
Unverified
Commit
5de9a58e
authored
Dec 11, 2024
by
Yineng Zhang
Committed by
GitHub
Dec 11, 2024
Browse files
fix: use manylinux2014_x86_64 tag (#2434)
parent
56fcd8e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
sgl-kernel/setup.py
sgl-kernel/setup.py
+5
-3
No files found.
sgl-kernel/setup.py
View file @
5de9a58e
...
@@ -34,10 +34,12 @@ def rename_wheel():
...
@@ -34,10 +34,12 @@ def rename_wheel():
new_info
=
tmp_dir
/
f
"sgl_kernel-
{
base_version
}
+cu
{
cuda_version
}
.dist-info"
new_info
=
tmp_dir
/
f
"sgl_kernel-
{
base_version
}
+cu
{
cuda_version
}
.dist-info"
old_info
.
rename
(
new_info
)
old_info
.
rename
(
new_info
)
new_wheel
=
(
platform
=
"manylinux2014_x86_64"
wheel_dir
new_wheel
=
wheel_dir
/
old_wheel
.
name
.
replace
(
"linux_x86_64"
,
platform
)
/
f
"sgl_kernel-
{
base_version
}
+cu
{
cuda_version
}
-
{
old_wheel
.
name
.
split
(
'-'
,
2
)[
-
1
]
}
"
new_wheel
=
wheel_dir
/
new_wheel
.
name
.
replace
(
base_version
,
f
"
{
base_version
}
+cu
{
cuda_version
}
"
)
)
with
zipfile
.
ZipFile
(
new_wheel
,
"w"
,
zipfile
.
ZIP_DEFLATED
)
as
new_zip
:
with
zipfile
.
ZipFile
(
new_wheel
,
"w"
,
zipfile
.
ZIP_DEFLATED
)
as
new_zip
:
for
file_path
in
tmp_dir
.
rglob
(
"*"
):
for
file_path
in
tmp_dir
.
rglob
(
"*"
):
if
file_path
.
is_file
():
if
file_path
.
is_file
():
...
...
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