Coder Social home page Coder Social logo

Comments (4)

umakrishnaswamy avatar umakrishnaswamy commented on May 26, 2024 1

@ksmdnl - got it, unfortunately we do not support this right now since we can only update one run at a time, and you would have to terminate the other run in order to log to the new run. I'd be happy to make a feature request for this, and I'll update this thread if any progress arises on it.

from wandb.

umakrishnaswamy avatar umakrishnaswamy commented on May 26, 2024

hey @ksmdnl - currently we don't support logging more than 1 run in the same process. this would have to be done sequentially. alternatively, perhaps you can utilize Python's multiprocessing library to spin up separate processes. Each process can handle its own W&B run, allowing you to independently log different forward passes or experiments. Please let me know if you have further questions or would like to discuss further!

from wandb.

ksmdnl avatar ksmdnl commented on May 26, 2024

Hi @umakrishnaswamy, thanks for the input!
If I understood it correctly, I would then need to initialize the API object in as many processes as the number of forward pass and log the corresponding data there. However, when each process finished, so as each corresponding run is also finished. Thus, each step the same thing should be started again. But I'm not sure if this will help because I'd like to keep each run (without initializing them again every step) and update them one step at a time. Is my understanding correct or do you imagine another use case/approach using multiprocessing?

To be clear, in my scenario it's only one experiment with multiple forward passes per step (which includes the optimization) and I would like to log the output of each pass.

from wandb.

ksmdnl avatar ksmdnl commented on May 26, 2024

@umakrishnaswamy yes, that would be very helpful. Thanks!

from wandb.

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.