• Stefy Lanza (nextime / spora )'s avatar
    colibri: pre-compile like ds4 (don't compile in the runtime container) · 8e147d78
    Stefy Lanza (nextime / spora ) authored
    The engine is a pre-built binary, bundled in the image and built on a host with the
    CUDA toolkit — never compiled per-request in the CUDA-*runtime* container (which has
    no nvcc). Build it with the host CUDA 13.x toolkit like ds4: the binary links
    libcudart.so.13, resolved in-container from /opt/coderai/local-libs (the CUDA-13
    runtime coderai already ships for PyTorch), so it adds no portability constraint.
    
    - worker: _detect_build_target now needs a REAL nvcc (a runtime container has
      /usr/local/cuda but no compiler); ensure_built fails early with a clear
      "pre-compile the binary" message instead of cloning and dying deep in `make` with
      the confusing "nvcc not found … backend_cuda.o Error". _make_args defaults CUDA to
      a PORTABLE arch (sm_80..120 + PTX) and points at the resolved nvcc/CUDA_HOME.
    - build.sh --colibri: require a real nvcc and default CUDA_ARCH=portable (like ds4's
      cuda-generic), so the bundled binary isn't locked to the build host's GPU.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01LoSpEthysqmseCc6Geizty
    8e147d78
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...