Closed sanshe316 closed 11 months ago
@sanshe316 I'm able to reproduce this error for both the 2.2 RC and current nightly. cc @jbschlosser @soulitzer .
#114164 broke this and sadly landed the last day of the 2.2 RC. I'm working on a fix.
Ok @sanshe316 I just reran the snippet on the latest nightly (December 13th) and also landed https://github.com/pytorch-labs/segment-anything-fast/pull/105 to make sure it works on CPU (in case that was your intention). We'll make sure the fix also makes it into 2.2. Thank you for opening the issue! Could I kindly ask you to try again? Thank you.
After upgrading from torch-2.2.0.dev20231206+cu121 -> torch-2.3.0.dev20231217+cu121, the problem fixed. Thank you
Reproduce:
Error stack:
collect_env:
It seems a problem with nested_tensor, but I don't know what causes it and how to fix it.