Getting this error (which seems to be the same thing) regardless of sequence length. Running this on m1 max with 64GBHey Luca, nice work! However, when launching the benchmarking script on my M1 Max I am running into the issue described here (which I was indeed able to replicate): https://github.com/pytorch/pytorch/issues/78001.
Using exactly the same setup as in the repo. Did anyone else run into this?
Code:
MPSNDArray.mm:782: failed assertion `[MPSNDArray, initWithBuffer:descriptor:]
Error: buffer is not large enough. Must be 32768 bytes