• Stefy Lanza (nextime / spora )'s avatar
    packaging: build SageAttention into the OCI image (non-fatal, arch-gated) · c4b4b884
    Stefy Lanza (nextime / spora ) authored
    The diffusers video path uses SageAttention (INT8 attention) when available
    for faster Wan2.2 rendering. Like flash-attn it is CUDA-arch-sensitive, so
    it is built from source in the devel/builder stage against the just-installed
    torch, gated by BUILD_SAGEATTENTION (default 1) and SAGEATTENTION_ARCH
    (default 8.6 = RTX 3090). The build is non-fatal: on failure the image still
    works and the runtime attention-backend resolver falls back to flash/SDPA.
    
    build_oci_image.sh passes the three new args through (overridable via env:
    BUILD_SAGEATTENTION / SAGEATTENTION_REF / SAGEATTENTION_ARCH).
    
    Note: the fast update_oci_image.sh overlay is based on the runtime image (no
    nvcc), so it cannot build SageAttention — a full build_oci_image.sh is needed
    to bake it in.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01RdMufYvtTbtGDWsiZVoXce
    c4b4b884
Name
Last commit
Last update
codai Loading commit data...
docs Loading commit data...
packaging Loading commit data...
samples Loading commit data...
tests Loading commit data...
tools Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
CODERAI_API_DOCUMENTATION.md Loading commit data...
CoderAI.gif Loading commit data...
DISTRIBUTION.md Loading commit data...
LICENSE.md Loading commit data...
MULTIMODAL_CAPABILITIES.md Loading commit data...
MULTIMODAL_UI_EXAMPLES.md Loading commit data...
README.md Loading commit data...
build-oci.sh Loading commit data...
build.ps1 Loading commit data...
build.sh Loading commit data...
coderai Loading commit data...
coderai-broker-implementation-reference.md Loading commit data...
coderai-integration.md Loading commit data...
commands Loading commit data...
osxbuild.sh Loading commit data...
package-oci.sh Loading commit data...
package-tarball.sh Loading commit data...
requirements-nvidia.txt Loading commit data...
requirements-vulkan.txt Loading commit data...
requirements.txt Loading commit data...
run-oci.sh Loading commit data...
smoke-test-oci.sh Loading commit data...
todo.md Loading commit data...
video_editor.config.json Loading commit data...