torchfile.load() works fine for vocab.t7, but returns an empty array when I try running torchfile.load('train.t7'). When I dig into the code deeper, it seems that T7Reader correctly finds that typeidx == 4 (Torch) after calling reader.read_obj() a first time. The code proceeds...
🐛 Describe the bug import torch torch.save(b'hello', '/tmp/dummy.pth') torch.load('/tmp/dummy.pth', weights_only=False) # OK torch.load('/tmp/dummy.pth', weights_only=True) # Error # UnpicklingError: Weights only load failed. This file c...
from torchair.core import _torchair ImportError: /usr/local/python3.8.18/lib/python3.8/site-packages/torchair/core/_abi_compat_ge_apis.so: undefined symbol: _ZN2ge5Graph28LoadFromSerializedModelArrayEPKvm 二、软件版本: -- CANN 版本 (7.0): --Pytorch 版本:2.1 --Python 版本 (3.8.18): 三...