-
Notifications
You must be signed in to change notification settings - Fork 113
Issues with Docker #3
Comments
Hey Charles, thanks for reporting this! I just pushed e233fbc which should resolve this issue. Please let us know if you run into further problems. BTW please note that we had limited success building the Docker image on MacOS as it seems to stall while compiling PyTorch. This may be a resource constraint. |
Hello Heinrich, Thanks for the help, unfortunately this did not end up fixing the issue to me; in the end a similar error occurred. (I included a few more messages from the build.) I will try building on a linux machine, and see if I can get it to work there. Best,
|
Hey @cjlovering, did you end up making progress on this? |
Hello @edran, so far no. I tried again with new installs and updated source on MacOS and it did not work. I have not had a chance do so on a linux machine (as I don't have immediate access to one with sufficient permissions). I will be coming back to this issue again soon. |
Docker Desktop on mac has its own set of resource constraints (controlled in Preferences -> Advanced). I wonder if the internal compiler error is caused by failing to allocate memory due to the constraint. |
Hello! I've stopped trying to get this to work on Mac, and now trying on Google cloud. I have gotten docker and polybeast to run, but I have not been able do use GPUs with it. Do you have a recommended approach for using docker with GPUs? |
@cjlovering you most likely want to use
|
@edran Thank you! (I followed the second option and used I think the GPUs are available and cuda is installed. For instance, I was able to run Is there something I should update in the pytorch installation or something along those lines? |
I don't know whether the base image is enough to pull both cuda and cudnn, and it's possible that both might be required for pytorch to be compiled with cuda support. Try using Also, if you share your dockerfile I can give it a go locally to see whether I spot issues. |
Thanks! I tried updating the image with that and it didn't seem to work for me. Here's the file (with the updated image): |
After installing docker (on MacOS), the build failed. I am on the latest commit in master.
I get the following message:
The text was updated successfully, but these errors were encountered: