Closed jchia closed 2 years ago
same, macos 12.2, python 3.8
+1
I think this is a duplicate of #1
@kuprel Not the same file. This one is for dalle_bart_mini and being downloaded with wandb.
does the suggestion in #31 work?
There are 2 problems causing undetected bad downloads:
wandb artifact get
fails silently. I did the wandb artifact get
download for mini twice, each time obtaining 0 exit code (indicating success) but got different sizes for flax_model.msgpack. Probably network errors were being silently ignored.set -e
in setup.sh
. This was added in 63a65372b0e50fa09633d900cd2ef3e1a54f2679 but later removed, perhaps accidentally. This means if a big download fails resulting in partially-downloaded files, set -e
helps failure detection if the downloading program fails as it should (not wandb in this case).The problem went away after I manually downloaded flax_model.msgpack with a web browser.
I suspect a lot of people getting msgpack deserializing errors are getting them from silently-failed downloads caused by the above problems, so fixing the silent failure would prevent further similar issues from being reported and wasting time. I'm not familiar with wandb artifact get
but this kind of silent failure is surprising.
I just added back set -e
I suppose the main issue now is the silent failure in wandb artifact get
. I wonder if others can repro.
Closing this since the flax model was moved
Got this error on Ubuntu 20.04 with Python 3.8.10.
pretrained/dalle_bart_mini/flax_model.msgpack
was somehow not deserializing properly.