sweep+pytorch lightning hangs
See original GitHub issuewandb --version 0.9.2 python --version 3.8
- Weights and Biases version: 0.9.2
- Python version: 3.8
- Operating System: Windows
Description
Hello, when I try to run a sweep with a model built with Pytorch lightning it always hangs. It never runs even the first configuration.
What I Did
a minimal working example is in this notebook: https://github.com/AyushExel/COVID19WB/blob/master/main.ipynb
For the author it seems to work but I log on with my wandb account it just hangs:
Any help would be appreciated.
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
sweep+pytorch lightning hangs · Issue #1139 · wandb/ ...
Hello, when I try to run a sweep with a model built with Pytorch lightning it always hangs. It never runs even the...
Read more >Speed Up Model Training - PyTorch Lightning - Read the Docs
When you are limited with the resources, it becomes hard to speed up model training and reduce the training time without affecting the...
Read more >Weights & Biases sweep cannot import modules with ...
My pytorch-lightning code works with a Weights and Biases logger. I am trying to do a parameter sweep using a W&B parameter sweep....
Read more >Digging Into KITTI With Weights & Biases With PyTorch- ...
This is a simple demo for performing semantic segmentation on the Kitti dataset using Pytorch-Lightning and optimizing the neural network by ...
Read more >Grid Team, Author at Grid.ai - Page 2 of 3
Founded by the creators of PyTorch Lightning, Grid is a platform designed to ... Grid allows running hyperparameter sweeps without changing a single...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I use regular Pytorch + wandb (not Lightning), but I was able to fix this issue recently in my code, so I’ll post the solution here: I just encapsulated all the top-level code (besides imports, functions, and class definitions) in
if __name__ == '__main__':
. I even had to stick thewandb.init
andwandb.config
stuff under there.Hey @kevinkwshin In the past few months we’ve majorly reworked the CLI and UI for Weights & Biases. We’re closing stale issues. Please comment to reopen. 😄