h3-blackwell-runtime/Dockerfile.spark

21 lines
876 B
Text
Raw Normal View History

2026-08-12 14:12:42 +07:00
# GB10/Grace Blackwell development image. It does not start inference by default.
FROM ghcr.io/aeon-7/comfyui-aeon-spark:slim
WORKDIR /opt/h3-blackwell-runtime
COPY . .
2026-08-12 15:21:03 +07:00
# Prebuilt against the base image's CUDA 13 / Torch ABI for GB10 (sm_121a).
COPY wheels/sageattn3-*.whl /tmp/wheels/
RUN python -m pip install --no-cache-dir --no-deps /tmp/wheels/sageattn3-*.whl \
&& rm -rf /tmp/wheels
2026-08-12 14:12:42 +07:00
2026-08-13 14:38:17 +07:00
RUN python -m pip install --no-cache-dir --no-deps comfy-kitchen==0.2.28
2026-08-12 14:12:42 +07:00
RUN python -m pip install --no-cache-dir --no-deps -e . \
2026-08-13 14:38:17 +07:00
&& python -c "import comfy_kitchen, torch; from sageattn3 import sageattn3_blackwell; assert hasattr(torch.ops.comfy_kitchen, 'rms_rope_split_half_'); print(torch.__version__, torch.version.cuda)"
2026-08-12 14:12:42 +07:00
ENV H3_MODEL_PATH=/models/minimax_h3_ref2va_pruned_nvfp4.safetensors
ENV TORCH_COMPILE_DISABLE=0 TORCHDYNAMO_DISABLE=0
ENTRYPOINT []
CMD ["bash"]