Code Monkey home page Code Monkey logo

Comments (4)

klieret avatar klieret commented on June 9, 2024

Thanks for the issue @CedricLeon and for the link to wandb/wandb#6952 (I hadn't seen that). Unfortunately I don't have any solution for this at the moment.

It is really frustrating to be honest, especially if runs fail/get killed by a scheduler (in that case, no config is ever uploaded).

One thing I've tried was to set the config via the wandb API during the run (with this script that takes the hyperparameters from the lightning config and then sends them to wandb), but it seems like they get overwritten with the next sync.

from wandb-offline-sync-hook.

klieret avatar klieret commented on June 9, 2024

Obviously, this is more of a bug in wandb, though wandb-osh could include a fix/workaround if only we had one (but I don't know of any). Let me know if you discover something!

from wandb-offline-sync-hook.

CedricLeon avatar CedricLeon commented on June 9, 2024

Yes, I tried a similar trick than you, but it gets overwritten at the next synchronization it seems.
Ok thanks for your insights, we will see if they ever try to close wandb/wandb#6952...

So far, my "fix" is to (from time-to-time) run a script I wrote that scans my wandb project for runs which do not have a specific key (coming from my HYDRA config) available on wandb. For each of this run, I find the corresponding log folder in my workspace, do some manual interpolation on the config (because OS variables have changed), and then overwrite the wandb config and update it.
If you are interested, I can try to clean and publish this script somewhere

from wandb-offline-sync-hook.

CedricLeon avatar CedricLeon commented on June 9, 2024

I described the full problem in a wandb issue: #7227

from wandb-offline-sync-hook.

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.