Learn.export()

When trying to export a model in VSCode on my M1 Mac with

learn.export()

I get following error:
‘RuntimeError: don’t know how to determine data location of torch.storage._UntypedStorage’

Anybody knows how to solve this problem?