Fix compilation of position encoding
Summary: When running with compile=True, we were getting the following error: P2186079344 Swapping to not use cudagraphs for a quik fix. Will follow up with swapping the Position embedding impl to not cache. Reviewed By: raedle Differential Revision: D93508585 fbshipit-source-id: 0eaa29fcf826611b6a652811a6f2472399014b84
This commit is contained in:
committed by
meta-codesync[bot]
parent
2ec3c0711a
commit
f0399e7fce
@@ -627,7 +627,7 @@ class Sam3VideoInference(Sam3VideoBase):
|
|||||||
## Compile Tracker model components
|
## Compile Tracker model components
|
||||||
self.tracker.maskmem_backbone.forward = compile_wrapper(
|
self.tracker.maskmem_backbone.forward = compile_wrapper(
|
||||||
self.tracker.maskmem_backbone.forward,
|
self.tracker.maskmem_backbone.forward,
|
||||||
mode="max-autotune",
|
mode="max-autotune-no-cudagraphs",
|
||||||
fullgraph=True,
|
fullgraph=True,
|
||||||
dynamic=False,
|
dynamic=False,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user