-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fast_dev_run should set max_steps #5136
Comments
Hi! thanks for your contribution!, great first issue! |
Do you mean? also in the video here it says, |
I noticed it too, it's a bug (I tried to explain here #4629). it should really just be a test that the training loop runs. logging is still executed to some extend but it should not get sent to the actual logger object, no files should be saved. The motivation is to be able to debug the script without polluting the working dir with tons of files :) |
yeah, I believe a simple fix would be to disable loggers, checkpoint callback, earlystopping, ... maybe more in the init itself. |
Will that fix the original bug filed here - ie. |
@tchaton ^^ |
@indigoviolet mind explain this a bit more, what do you mean here? |
I meant that the lightning module might need to refer to |
yeah then |
🐛 Bug
Trainer(fast_dev_run=True)
should setmax_steps
accordingly, butmax_steps
isNone
Please reproduce using the BoringModel and post here
https://colab.research.google.com/drive/1PFoozULca2zFtw0Ljor5V8AAGsGqe1Y4#scrollTo=quj4LUDgmFvj
To Reproduce
Expected behavior
max_steps
should be set to1 if fast_dev_run is True else fast_dev_run
Environment
Note:
Bugs with code
are solved faster !Colab Notebook
should be madepublic
!IDE
: Please, use our python bug_report_model.py template.Colab Notebook
: Please copy and paste the output from our environment collection script (or fill out the checklist below manually).You can get the script and run it with:
Additional context
The text was updated successfully, but these errors were encountered: