deep-daze icon indicating copy to clipboard operation
deep-daze copied to clipboard

"Killed" when imagining

Open dzoba opened this issue 3 years ago • 3 comments

(myenv) chris@chris-desktop:~$ imagine "the most beautiful image in the world"
Starting up...
Imagining "the_most_beautiful_image_in_the_world" from the depths of my weights...
Killed

I'm seeing this message when I try to imagine. I am running this on an Nvidia Jetson Nano (the 4gb version).

These are the versions I am running

(myenv) chris@chris-desktop:~$ python --version
Python 3.6.9
(myenv) chris@chris-desktop:~$ python
Python 3.6.9 (default, Jan 26 2021, 15:33:00) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> print(torch.__version__)
1.8.0
>>> import torchvision
>>> print(torchvision.__version__)
0.9.0

dzoba avatar Mar 23 '21 05:03 dzoba

I was able to get beyond this error by increasing the swap memory on the Jetson following these directions: https://github.com/JetsonHacksNano/resizeSwapMemory

However, now when I begin to imagine I get cuda error: the launch timed out and was terminated

dzoba avatar Mar 24 '21 04:03 dzoba

I would assume that the process was killed due to a lack in RAM. What you can try is to reduce the image_width and batch_sizeto an acceptable level.

I have no clue about the cuda launch time-out error.

NotNANtoN avatar Mar 30 '21 10:03 NotNANtoN

Where can we learn about the minimum RAM requirements?

DannyBen avatar Sep 21 '21 11:09 DannyBen