Skip to content

patch for the case of offload_state_to_cpu=True in the new SAM2VideoPredictor #490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

ronghanghu
Copy link
Contributor

@ronghanghu ronghanghu commented Dec 12, 2024

This PR adds a patch for the case of offload_state_to_cpu=True where pred_masks might have been offload to CPU device (close #489)

…eoPredictor`

This PR adds a pathc for the case of `offload_state_to_cpu=True` where `pred_masks` might have been offload to CPU device (close facebookresearch#489)
@ronghanghu ronghanghu merged commit 722d1d1 into facebookresearch:main Dec 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tensors not on same device after 12/11/2024 update
3 participants