This commit is contained in:
hailin 2025-09-20 10:33:21 +08:00
parent 57e01ee012
commit 57d862d695
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ WORKDIR /opt/flashinfer
ENV FLASHINFER_CUDA_ARCH_LIST="7.5 8.0 8.6 8.9"
# 先做 AOT 预编译,再直接打 wheel不隔离使用同一份自编 torch
RUN python3 -m pip install --no-cache-dir numpy requests build "cuda-python>=12.0,<13" "nvidia-nvshmem-cu12" ninja pynvml && \
RUN python3 -m pip install --no-cache-dir numpy requests build "cuda-python>=12.0,<13" "nvidia-nvshmem-cu12" ninja pynvml filelock && \
python3 -m flashinfer.aot && \
python3 -m build --no-isolation --wheel && \
ls -lh dist/