You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. I have searched related issues but cannot get the expected help.
2. The bug has not been fixed in the latest version.
3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
5. Please use English, otherwise it will be closed.
Describe the bug
For aarch64 it generates wheels but != platform
creating build/bdist.linux-aarch64/wheel/sgl_kernel-0.0.3.post6.dist-info/WHEEL
creating '/opt/sglang/sgl-kernel/wheels/sgl_kernel-0.0.3.post6-cp39-abi3-manylinux2014_x86_64.whl' and adding 'build/bdist.linux-aarch64/wheel' to it
Reproduction
#!/usr/bin/env bashset -ex
pip3 install compressed-tensors decord
# Clone the repository if it doesn't existecho"FLASH INFER ${SGLANG_VERSION}"
git clone --branch=v${SGLANG_VERSION} --recursive --depth=1 https://github.com/flashinfer-ai/flashinfer /opt/flashinfer ||
git clone --recursive --depth=1 https://github.com/flashinfer-ai/flashinfer /opt/flashinfer
cd /opt/flashinfer
export MAX_JOBS=$(nproc)export TORCH_CUDA_ARCH_LIST="8.7"export FLASHINFER_ENABLE_AOT=1
python3 setup.py --verbose bdist_wheel --dist-dir /opt/flashinfer/wheels/ && \
pip3 install --verbose /opt/flashinfer/wheels/flashinfer_python-*.whl
echo"Building SGLang ${SGLANG_VERSION}"cd /opt/
git clone --branch=v${SGLANG_VERSION} --recursive --depth=1 https://github.com/sgl-project/sglang /opt/sglang ||
git clone --recursive --depth=1 https://github.com/sgl-project/sglang /opt/sglang
cd /opt/sglang
# Remove dependencies
sed -i '/sgl-kernel/d' python/pyproject.toml
sed -i '/flashinfer/d' python/pyproject.toml
sed -i '/xgrammar/d' python/pyproject.toml
echo"Building SGL-KERNEL"cd /opt/sglang/sgl-kernel/
export SGL_KERNEL_ENABLE_BF16=1
python3 setup.py --verbose bdist_wheel --dist-dir /opt/sglang/sgl-kernel/wheels/ && \
pip3 install --verbose /opt/sglang/sgl-kernel/wheels/sgl_*.whl
cd /opt/sglang/
iftest -f "python/sglang/srt/utils.py";then
sed -i '/return min(memory_values)/s/.*/ return None/' python/sglang/srt/utils.py
sed -i '/if not memory_values:/,+1d' python/sglang/srt/utils.py
fi# Install SGLang# pip3 install --no-cache-dir -e "python[all]"
python3 setup.py --verbose bdist_wheel --dist-dir /opt/sglang/wheels/ && \
pip3 install --verbose /opt/sglang/wheels/sglang*.whl
# Install Gemlite python packages
pip3 install gemlite
# Validate installations
pip3 show sglang
python3 -c 'import sglang'# Optionally upload to a repository using Twine
twine upload --verbose /opt/flashinfer/wheels/flashinfer_python*.whl ||echo"Failed to upload wheel to ${TWINE_REPOSITORY_URL}"
twine upload --verbose /opt/sglang/wheels/sglang*.whl ||echo"Failed to upload wheel to ${TWINE_REPOSITORY_URL}"
Environment
Jetson Aarch64
The text was updated successfully, but these errors were encountered:
Thank you for pointing that out. But I dont think currently we have device with Jetson AArch64. Maybe we will add support or adapt to it when we get the access to it.
Thank you for pointing that out. But I dont think currently we have device with Jetson AArch64. Maybe we will add support or adapt to it when we get the access to it.
Exists github arm runners that installing cuda sbsa you can generate wheels, but not can test it
Checklist
Describe the bug
For aarch64 it generates wheels but != platform
Reproduction
Environment
Jetson Aarch64
The text was updated successfully, but these errors were encountered: