Files
Grounded-SAM-2/sam2
Ronghang Hu 2b90b9f5ce remove .pin_memory() in obj_pos of SAM2Base to resolve and error in MPS (#495)
In this PR, we remove `.pin_memory()` in `obj_pos` of `SAM2Base` to resolve and error in MPS. Investigations show that `.pin_memory()` causes an error of `Attempted to set the storage of a tensor on device "cpu" to a storage on different device "mps:0"`, as originally reported in https://github.com/facebookresearch/sam2/issues/487.

(close https://github.com/facebookresearch/sam2/issues/487)
2024-12-15 16:47:17 -08:00
..
2024-07-30 08:13:47 -04:00
2024-09-29 05:49:56 +00:00
2024-09-29 05:49:56 +00:00
2024-09-29 05:49:56 +00:00
2024-09-29 05:49:56 +00:00
2024-09-29 05:49:56 +00:00