-
Notifications
You must be signed in to change notification settings - Fork 12
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
ReLERNN train TF2 model.fit memory leak and errors #16
Comments
hey there-- if you are getting the library error I would guess something is wrong in your nvidia setup. How did you install tf / the cuda tools? Also I'm not sure if ReLERNN is ready for tf2.1, but I do know @jradrion has it working on tf2.... |
Hi Andrew, |
so this memory leak seems to be on the TF side, but the error you report has to do with nvidia tools-- how was cuda installed on your system? |
not sure, it loads with python when run on a GPU node |
okay so one question for your admins is what happened to |
I will ask them whats going on. |
@LZeitler I had not noticed a memory leak issue in my testing of ReLERNN with tf2.1. However, I testing by running only ~10 epochs for speed, and our machine has a fairly large amount of memory, so it's possible that I'll find this issue when training for more epochs. I will be testing this ASAP. As far as the warning your first describe, I also get that warning at every epoch. I had seen a comment about it being a spurious in this thread, and temporarily ignored it since everything else appeared to be working. However, users are now saying it is connected to the memory leak issue. The warning about I'll do some more testing and report back. |
@LZeitler I have not forgotten about you. I'm still debugging a number of issues related to this move to tf2. |
@LZeitler I removed multiprocessing from model.fit, and I was able to run a full-sized dataset to >400 epochs without running into any memory issues. Could you try to pull these changes and reinstall. Please let me know if you are still having issues. |
@jradrion I pulled and reinstalled.
|
@jradrion Running on big dataset works now! Thanks for the fix! Memory issue is also resolved! |
Hi @LZeitler thanks for bringing the issue with the example scripts to my attention. I had to bump up the number of training simulations to avoid this error with a fixed number of epochs. I'm going to go ahead and close this issue. Please let me know if you come across any other problems. Best, |
I have problems running the TF2 version of relernn.
I'm using:
tensorflow 2.1
cudatk 10.1.243
cudnn 7.6.4
CUDA enabled GPU (1080Ti)
Memory leak
Each training iteration memory usage keeps increasing which eventually leads to >200GB RAM usage. I think it's related to these issues
tensorflow/tensorflow#33030
tensorflow/tensorflow#35100
I also tried nightly which has the same issue.
Error message
I'm also getting error and warning messages in each epoch with TF2.
I don't know if these problems are related but maybe they are.
On a side note, I can run the example pipeline with producing output, even though another error comes up when loading modules (
Could not load dynamic library 'libnvinfer.so.6'
)There was another issue with ReLERNN train (earlier TF1 commits, where
model.fit_generator
was used). The model fitting would not succeed after all epochs ran, without any error message. Maybe you have an idea what the problem could be here? Then I could use the TF1 version of ReLERNN and run my stuff that way.I'm running it on a dataset with 5 individuals and about 2M SNPs (unphased, with some missing data).
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: