Skip to content

Commit f9d1821

Browse files
authored
fix
1 parent 4d65e33 commit f9d1821

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ RUN echo "🔧 Building lightllm-kernel package..." && \
8282
# Build flash_attn_3 package (hopper)
8383
RUN echo "🔧 Building flash_attn_3 package..." && \
8484
cd flash-attention/hopper && \
85-
MAX_JOBS=2 NVCC_THREADS=2 FLASH_ATTN_CUDA_ARCHS=90 python setup.py bdist_wheel && \
85+
MAX_JOBS=2 NVCC_THREADS=2 FLASH_ATTN_CUDA_ARCHS=90 FLASH_ATTENTION_DISABLE_SM80=TRUE python setup.py bdist_wheel && \
8686
cp dist/*.whl /out/ && \
8787
echo "✅ flash_attn_3 build completed"
8888

@@ -95,4 +95,4 @@ RUN echo "📦 Final wheel packages:" && \
9595
echo "❌ Error: Expected 2 wheels, found $WHEEL_COUNT" && exit 1; \
9696
else \
9797
echo "✅ Successfully built all wheel packages"; \
98-
fi
98+
fi

0 commit comments

Comments
 (0)