AlexanderLutsenko/nobuco

pytorch version?

mychina75 opened this issue · 1 comments

Thanks for your work.
When try to run dynamic_shape.py, I got error info like following:
AttributeError: module 'torch.nn.functional' has no attribute '_canonical_mask'
AttributeError: module 'torch' has no attribute 'fill'
etc...

I think may caused by pytorch version. which version are you using?

@mychina75 Hi! As you can see here, it's Pytorch 2.0.0 (or newer). I should probably add guards against such type of errors. You only need v2.x.x for that F._canonical_mask function. Thanks for bringing this up.