Skip to content

Fix float16 inference for Sam2 Video / Sam3 Video / Sam3 Video Tracker + add tests#43414

Closed
yonigozlan wants to merge 1 commit intohuggingface:mainfrom
yonigozlan:fix-sam2-float16
Closed

Fix float16 inference for Sam2 Video / Sam3 Video / Sam3 Video Tracker + add tests#43414
yonigozlan wants to merge 1 commit intohuggingface:mainfrom
yonigozlan:fix-sam2-float16

Conversation

@yonigozlan
Copy link
Copy Markdown
Member

Issue originally raised in #43268, but provided fix changes inference values for other dtypes. This keeps memory saved as bf16 and only convert concatenated memory to inference_session dtype.

@yonigozlan yonigozlan requested a review from molbap January 22, 2026 15:36
@github-actions
Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: edgetam_video, sam2_video, sam3_tracker_video, sam3_video

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@yonigozlan
Copy link
Copy Markdown
Member Author

Closing as changes pushed directly in the original PR

@yonigozlan yonigozlan closed this Jan 22, 2026
@yonigozlan yonigozlan removed the request for review from molbap January 22, 2026 15:51
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