Updated PRs to apply

This commit is contained in:
Eugene Rakhmatulin
2026-04-01 08:31:34 -07:00
parent 3a3ab98b3e
commit a770865834

View File

@@ -122,25 +122,15 @@ RUN if [ -n "$FLASHINFER_PRS" ]; then \
done; \ done; \
fi fi
# TEMPORARY patch for NVFP4 crash (PR 2913) # TEMPORARY patch for flashinfer autotune and other improvements (PR 2927)
RUN curl -fsL https://github.com/flashinfer-ai/flashinfer/pull/2913.diff -o pr2913.diff \ RUN curl -fsL https://github.com/flashinfer-ai/flashinfer/pull/2927.diff -o pr2927.diff \
&& if git apply --reverse --check pr2913.diff 2>/dev/null; then \ && if git apply --reverse --check pr2927.diff 2>/dev/null; then \
echo "PR #2913 already applied, skipping."; \ echo "PR #2927 already applied, skipping."; \
else \ else \
echo "Applying FI PR #2913..."; \ echo "Applying FI PR #2927..."; \
git apply -v pr2913.diff; \ git apply -v pr2927.diff; \
fi \ fi \
&& rm pr2913.diff && rm pr2927.diff
# TEMPORARY patch for flashinfer autotune and other improvements (PR 2897)
RUN curl -fsL https://github.com/flashinfer-ai/flashinfer/pull/2897.diff -o pr2897.diff \
&& if git apply --reverse --check pr2897.diff 2>/dev/null; then \
echo "PR #2897 already applied, skipping."; \
else \
echo "Applying FI PR #2897..."; \
git apply -v pr2897.diff; \
fi \
&& rm pr2897.diff
# Apply patch to avoid re-downloading existing cubins # Apply patch to avoid re-downloading existing cubins
COPY flashinfer_cache.patch . COPY flashinfer_cache.patch .