Fix ci install to allow prerelease (#12449)
This commit is contained in:
@@ -86,7 +86,7 @@ else
|
|||||||
export UV_SYSTEM_PYTHON=true
|
export UV_SYSTEM_PYTHON=true
|
||||||
|
|
||||||
PIP_CMD="uv pip"
|
PIP_CMD="uv pip"
|
||||||
PIP_INSTALL_SUFFIX="--index-strategy unsafe-best-match"
|
PIP_INSTALL_SUFFIX="--index-strategy unsafe-best-match --prerelease allow"
|
||||||
|
|
||||||
# Clean up existing installations
|
# Clean up existing installations
|
||||||
$PIP_CMD uninstall sgl-kernel sglang || true
|
$PIP_CMD uninstall sgl-kernel sglang || true
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import functools
|
|||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
import torch
|
import torch
|
||||||
from sgl_kernel import silu_and_mul
|
from sgl_kernel.elementwise import silu_and_mul
|
||||||
|
|
||||||
|
|
||||||
def get_scalar_type(num_bits: int, has_zp: bool):
|
def get_scalar_type(num_bits: int, has_zp: bool):
|
||||||
|
|||||||
Reference in New Issue
Block a user