Skip to content

fix: override NVIDIA entrypoint in autoresearch image#113

Merged
max4c merged 1 commit intomainfrom
fix/autoresearch-entrypoint
Mar 18, 2026
Merged

fix: override NVIDIA entrypoint in autoresearch image#113
max4c merged 1 commit intomainfrom
fix/autoresearch-entrypoint

Conversation

@max4c
Copy link
Contributor

@max4c max4c commented Mar 18, 2026

Summary

  • Adds ENTRYPOINT ["/start.sh"] to the autoresearch Dockerfile only
  • Overrides the inherited nvidia_entrypoint.sh which kills the container on hosts with older NVIDIA drivers (550 = CUDA 12.4 max, but this image needs CUDA 12.8)
  • Scoped to autoresearch — does not touch the base image or affect other templates

Context

The autoresearch template (x7o8gn1p4f) enters an undebuggable boot loop on RunPod machines with driver <570. The NVIDIA entrypoint fails the CUDA compatibility check and exits before /start.sh runs. No logs, no SSH, just 0 uptime forever.

This is the same approach ComfyUI uses — its image already has ENTRYPOINT ["/start.sh"].

Replaces #112 which tried to fix this in the base image but would break child images that override CMD.

Test plan

  • Rebuild autoresearch image from this branch
  • Deploy on RTX 4090 community cloud (mixed driver versions)
  • Verify container boots, SSH connects, /workspace/autoresearch populated
  • Verify torch.cuda.is_available() returns True
  • Verify other templates (ComfyUI, PyTorch) are unaffected

Made with Cursor

The nvidia/cuda base images set ENTRYPOINT to nvidia_entrypoint.sh which
enforces a strict CUDA driver version check. On RunPod machines with
driver 550 (CUDA 12.4 max), this kills the container before /start.sh
runs — pods enter an undebuggable boot loop with 0 uptime.

Adding ENTRYPOINT ["/start.sh"] to the autoresearch Dockerfile only,
so the fix is scoped and doesn't affect the shared base image or any
downstream templates.

Made-with: Cursor
Copy link
Member

@TimPietruskyRunPod TimPietruskyRunPod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@max4c max4c merged commit c71d8a8 into main Mar 18, 2026
6 checks passed
@max4c max4c deleted the fix/autoresearch-entrypoint branch March 18, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants