Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
ronghanghu merged 1 commit into
facebookresearch:mainfrom
ronghanghu:ronghanghu/patch_for_cpu_offload_in_new_video_predictor
Dec 12, 2024
Merged

patch for the case of offload_state_to_cpu=True in the new SAM2VideoPredictor#490
ronghanghu merged 1 commit into
facebookresearch:mainfrom
ronghanghu:ronghanghu/patch_for_cpu_offload_in_new_video_predictor

Conversation

@ronghanghu

@ronghanghu ronghanghu commented Dec 12, 2024

Copy link
Copy Markdown
Contributor

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
mahmoudzaouali pushed a commit to mahmoudzaouali/sam2 that referenced this pull request Jul 31, 2025
…eoPredictor` (facebookresearch#490)

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)
maximuswatkins pushed a commit to owen24819/CellSam2 that referenced this pull request May 25, 2026
…eoPredictor` (facebookresearch#490)

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)
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