FORUM WATCHTOWER
DISCOURSE API · WEBHOOK ACTIVEOPEN FORUM →
4UNREAD
3URGENT
3DRAFTS PENDING
12TODAY
2REPLIED
HIGH-VALUE CONTENTTOP TYPE
TRENDING
TECHNICAL ROBOTICSDRAFT PENDING

OpenVLA freezing during manipulation task on RTX 4090 — reproducible crash

@robotics_dev_84Trust Level 2/4AI Models388d ago47 views3 likes

I'm running OpenVLA fine-tuned on our own pick-and-place dataset and it consistently crashes after ~12 minutes of continuous inference. GPU memory looks stable in nvidia-smi but the Python process just dies. Stack trace shows it's inside the vision encoder. Has anyone seen this? Running Ubuntu 22.04, CUDA 12.1, transformers 4.40.

openvlavlartx-4090manipulationbug
SUGGESTED ROUTINGTechnical Lead
AI-ASSISTED DRAFT· NOT YET POSTED · REQUIRES HUMAN APPROVAL
AWAITING REVIEW
MODEL: gpt-4oCONFIDENCE: 87%TONE: TECHNICALAI MUST NOT IMPERSONATE HUMAN
Hi Marcus — this is a known issue with OpenVLA's vision encoder under sustained inference on Ampere-class GPUs. The root cause is typically a memory fragmentation buildup in the attention cache that the Python garbage collector doesn't reclaim aggressively enough.

Two things to try:

1. Add `torch.cuda.empty_cache()` and `gc.collect()` every 200 inference steps. This alone often resolves the 12-minute crash window.
2. Set `PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512` before launching — this changes the allocator strategy and significantly reduces fragmentation.

If you're on transformers 4.40, there's also a known issue in the `modeling_openvla.py` vision tower with gradient accumulation in eval mode — check if `model.eval()` is being called consistently or if there's a context manager leak.

Let us know if either of those helps. We can dig further into the stack trace if you want to share the full output.
DRAFTS PENDING3
RECENT ALERTS
82SENT

Marcus R. reports a reproducible crash in OpenVLA after ~12 mins of inference on RTX 4090. Urgency 82. Draft reply ready for review.

91SENT

Trust level 4 user Nils B. posted a high-quality vapor chamber cooling solution with CAD file offer. Urgency 91 — content team opportunity.

94ACKNOWLEDGED

Supply chain thread on tariff-driven actuator procurement has 1200+ views and 89 likes in 48h. High business relevance. Urgency 94.

AUDIT LOG
WALTERPOST_DISMISSED

Logged for content roadmap — no immediate reply needed

390d ago
WALTERREPLY_POSTED

Reply posted to Discourse t/10468

388d ago
WALTERDRAFT_APPROVED

Approved with note: 'Good — add a link to our open models section'

388d ago
AIDRAFT_GENERATED

Draft generated with gpt-4o, confidence 0.89

388d ago
AIPOST_CLASSIFIED

Classified as HIGH_VALUE_CONTENT, urgency 88

388d ago
SYSTEMPOST_RECEIVED

Webhook received from Discourse

388d ago
SYSTEMALERT_SENT

In-app alert sent to walter

388d ago
AIDRAFT_GENERATED

Draft generated with gpt-4o, confidence 0.87

388d ago
AIPOST_CLASSIFIED

Classified as TECHNICAL_ROBOTICS, urgency 82

388d ago
SYSTEMPOST_RECEIVED

Webhook received from Discourse

388d ago