- 
                Notifications
    
You must be signed in to change notification settings  - Fork 3.6k
 
Fix TBPTT example #20528
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
Fix TBPTT example #20528
Conversation
| 
           could we also add a test for it?  | 
    
| 
           @Borda given that it is in the example, wouldn't it be in the doc build (or in a bit of code that cannot be run on the CI due to being too large)?  | 
    
| 
           Actually, I would like this to be a copy-pastable example, which this isn't. More work to be done.  | 
    
| 
           Alright, I made it correct and runnable.  | 
    
| 
           I added the corresponding test, it's very lightweight  | 
    
          Codecov ReportAll modified and coverable lines are covered by tests ✅ 
 
 Additional details and impacted files@@            Coverage Diff            @@
##           master   #20528     +/-   ##
=========================================
- Coverage      87%      79%     -8%     
=========================================
  Files         267      264      -3     
  Lines       23380    23325     -55     
=========================================
- Hits        20235    18366   -1869     
- Misses       3145     4959   +1814     🚀 New features to boost your workflow:
  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good :)
* Fix TBPTT example * Make example self-contained * Update imports * Add test (cherry picked from commit 76f0c54)
* Fix TBPTT example * Make example self-contained * Update imports * Add test (cherry picked from commit 76f0c54)
What does this PR do?
Fixes #20517
Thanks to @simon-bachhuber for the fix
📚 Documentation preview 📚: https://pytorch-lightning--20528.org.readthedocs.build/en/20528/