torch._dynamo.exc.Unsupported: dynamic shape operator: aten.repeat_interleave.Tensor
from user code:
File "/data1/qlt/LlamaGen/autoregressive/models/gpt.py", line 255, in forward
h = x + self.drop_path(self.attention(self.attention_norm(x), freqs_cis, start_pos, mask))
File "/data1/qlt/LlamaGen/autoregressive/models/gpt.py", line 229, in forward
keys = keys.repeat_interleave(self.n_head // self.n_kv_head, dim=1)
I notice this error iscaused by the default args in autoregressive/sample/sample_c2i_ddp.py where torch compile is set to True by default.
Hi, I'm running FID evaluation code by following command
This code will raise following error
I notice this error iscaused by the default args in
autoregressive/sample/sample_c2i_ddp.py
where torch compile is set to True by default.The scripts can work by setting this --compile to False. I'm wondering if this is due to my environment or it's a bugs in codes.