Open YifanShenSZ opened 6 months ago
Similarly, dynamic slice would also fail
class DynamicSlicer(torch.nn.Module):
def forward(self, x, context_length):
return x[context_length:, :, :]
due to
torch._dynamo.exc.Unsupported: Dynamic slicing on data-dependent value is not supported
This toy model fails in ExecuTorch
due to
But some other dynamic indexing models are fine, e.g.