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

fix: drop fullgraph=True from torch.compile for broader compatibility

Browse files

fullgraph=True requires no graph breaks, which fails without
SAM2VideoPredictorVOS's .clone() patches. Removing it allows
torch.compile to handle graph breaks gracefully via partial
compilation.

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

1 file changed +5 -5
models/segmenters/grounded_sam2.py+5-5