Zhen Ye Claude Opus 4.6 commited on
Commit
4c36e1e
·
1 Parent(s): 63684e4

fix: add runtime fallback for torch.compile inductor/triton failures

Browse files

torch.compile wrapping succeeds immediately but actual compilation
happens lazily on first forward pass. Now catches runtime errors on
the first propagate_in_video yield, reverts all compiled forwards
to eager originals, and retries the propagation transparently.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

1 file changed +44 -4
models/segmenters/grounded_sam2.py+44-4