Skip to content
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

regression task memory error #49

Closed
geoHeil opened this issue Jan 18, 2021 · 3 comments
Closed

regression task memory error #49

geoHeil opened this issue Jan 18, 2021 · 3 comments

Comments

@geoHeil
Copy link
Contributor

geoHeil commented Jan 18, 2021

classification is working fine for me. However after 50 iterations the data loader is running out of memory in the case of a 1D regression task:

RuntimeError: DataLoader worker (pid 140809) is killed by signal: Bus error. It is possible that dataloader's workers are out of shared memory. Please try to raise your shared memory limit.

I till try to further reduce the batch size, but so far this did not help.

Interestingly, the GPU as well as host memory do not look occupied at all. No where near their limit.

@oguiza
Copy link
Contributor

oguiza commented Jan 18, 2021

Hi @geoHeil,
I've seen that issue pop up in the fastai forums from time to time.
Personally, I haven't seen it. It might be because I always work with data on disk (np.memmap). I'm not sure I'm going to be able to help. I do not believe it's a tsai specific issue. I'll investigate it though. In the meantime, you may want to either try np.memmap arrays, read the forum or raise a question there.

@oguiza
Copy link
Contributor

oguiza commented Jan 25, 2021

Hi @geoHeil,
Have you tried using np.memmap? Do you still have this issue?

@geoHeil
Copy link
Contributor Author

geoHeil commented Jan 26, 2021

Unfortunately, I was blocked the last couple of days. I will try mmap soon! until then, I can close the issue - and re-open when I know more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants