-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Cannot start on Ubuntu 24.04: "RuntimeError: unable to mmap ... Cannot allocate memory (12)" #89
Comments
RTX 4070 12G - Same problem. At first, something takes a long time to load, it takes up 9 GB GPU memory, then the message "Loading checkpoint" appears. Then this message:
|
You both do not have enough VRAM. This model, even the smaller one, is still very large. As far as I understand, you really do need something like an A100 to run this. I cannot run this on my 4070 Super because UVM doesn't work on nvidia drivers (it should work, but it doesn't), and like you, I run out of VRAM. If you do not have enough VRAM, or working "Shared Memory" (nvidia doesn't work: NVIDIA/open-gpu-kernel-modules#663) I can't tell you for AMD, how to get shared memory to work. I have never had an AMD card. Good luck. If you want to try it without the GPU, Unfortunately, on Windows, shared memory usually works fine. You may have better luck with that+ WSL2. The real solution is for the graphics card manufacturers to fix their shared memory implementation in their linux kernel drivers. You can send them a strongly worded email 😃 |
I have a 3060 12GB, driver version 555.58.02, and I am running Pop OS, using the provided scripts gave me the same out of memory error. However, I was able to run it with the following script in the same venv.
Hope this helps. |
Thanks man. It sucks the startup examples given in the readme don't take this into account - however - an effective gatekeeping method (It certainly gatekept me!) |
I'm very new to this, and it's possible that I am missing the obvious.
ubuntu 24.04
I followed the README instructions, and I get the following:
The text was updated successfully, but these errors were encountered: