Giter Club home page Giter Club logo

Comments (9)

jwenjian avatar jwenjian commented on August 22, 2024

same, macos 12.2, python 3.8

from min-dalle.

georgemorgan avatar georgemorgan commented on August 22, 2024

+1

from min-dalle.

kuprel avatar kuprel commented on August 22, 2024

I think this is a duplicate of #1

from min-dalle.

jchia avatar jchia commented on August 22, 2024

@kuprel Not the same file. This one is for dalle_bart_mini and being downloaded with wandb.

from min-dalle.

kuprel avatar kuprel commented on August 22, 2024

does the suggestion in #31 work?

from min-dalle.

jchia avatar jchia commented on August 22, 2024

There are 2 problems causing undetected bad downloads:

  1. 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.
  2. The lack of set -e in setup.sh. This was added in 63a6537 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.

from min-dalle.

kuprel avatar kuprel commented on August 22, 2024

I just added back set -e

from min-dalle.

jchia avatar jchia commented on August 22, 2024

I suppose the main issue now is the silent failure in wandb artifact get. I wonder if others can repro.

from min-dalle.

kuprel avatar kuprel commented on August 22, 2024

Closing this since the flax model was moved

from min-dalle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.