Good catch man I have an entry in the forum under “Download_images() issue” but got no feedback and then I came across your entry. I was totally stuck so your insight has saved the day
If you want to use the patched binaries which already use CUDA, you can modify the default.nix file. Note the override is currently needed to fix triton-bin.
I’m getting a Out of memory error. Is it possible that this happens because I misconfigured something?. Or I do need a larger/better Graphic card for this.
OutOfMemoryError: CUDA out of memory. Tried to allocate 14.00 MiB. GPU 0 has a total capacity of 1.95 GiB of which 7.00 MiB is free. Including non-PyTorch memory, this process has 1.93 GiB memory in use. Of the allocated memory 1.83 GiB is allocated by PyTorch, and 53.69 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)