Getting "munmap_chunk(): invalid pointer Aborted (core dumped)" all of a sudden when script gets to self.logger.loghyperparams in trainer.py #9120
Unanswered
johnmarktaylor91
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 2 comments 1 reply
-
Dear @johnmarktaylor91, Any chance you could comment the lines in PyTorch Lightning and see which one triggers the error. My guess is Best, |
Beta Was this translation helpful? Give feedback.
0 replies
-
Reinstalling PyTorch fixed it! But before that I determined with a debugger that yes, that was the line that triggered it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Suddenly I am getting the following error when I've never gotten it before, and scripts that worked before no longer work. It happens in the following chunk of code in trainers.py:
It gets as far as the line with self.logger.log_hyperparams, and then I get the following error message:
Unfortunately it gives no line number so tracking this down has been painful. Does anyone have any idea where this could be coming from? The relevant version numbers are:
PyTorch: 1.6.0+cu101
Lightning: 1.2.4
Python 3.7.10
OS: Ubuntu 18.04
Beta Was this translation helpful? Give feedback.
All reactions