question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Should this work, even if slowly, on just a 2080Ti?

See original GitHub issue

Hi, just tried to run it via cog using r8.im/kuprel/min-dalle and even though it setups correctly I’m getting a PyTorch OOM error :

RuntimeError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 10.73 GiB total capacity; 9.87 GiB already allocated; 20.06 MiB free; 9.88 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

This is “just” a gaming card but I’m wondering still if that’s a bug, a hard limit on minimum hardware, or rather a default parameter based on T4 starting at 16GB of VRAM being the bare minimum replicate expects that could eventually be changed. Or even if starting from this repository instead could solve it.

PS: nvidia-smi shows no other process using the GPU, 11264MiB to use and CUDA 11.7

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Utopiahcommented, Aug 12, 2022

Super, thanks in indeed it works now relying on this Dockerfile :

FROM continuumio/anaconda3 
# Assuming it runs on a directory resulting from git clone https://github.com/kuprel/min-dalle
COPY . /min-dalle/
WORKDIR /min-dalle
RUN pip install -r requirements.txt
RUN pip install min-dalle
RUN mkdir output # should be volume instead, see example below
ENTRYPOINT bash
# docker run --gpus=all -v $(pwd):/test -it ae7705b67ea2 python image_from_text.py --text='penguin on a large pirate boat' --no-mega --image-path=/test/generated.png
1reaction
kuprelcommented, Aug 4, 2022

Yeah float16 from the repo might work. You should be able to just run the notebook.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Slow 2080 Ti | Overclock.net
It performs poorly both in games and in benchmarks. It's only marginally better than a 1080 ti when it should beat it by...
Read more >
performance much worse on 2080ti than 1080ti #22961 - GitHub
I have a model that I have historically trained on 1080ti, and recently I discovered that the training speed is much worse (almost...
Read more >
Keras - RTX 2080 ti training slower than both CPU-only and ...
I just got my 2080 ti today and hooked it right up to experiment with Keras on my models. But for some reason,...
Read more >
My desktop PC has AMD 3950, 2080 Ti GPU, but it ... - Quora
Many times when the newest AMD CPU is released although it works out of the box the bios ... So, the desktop PC...
Read more >
NVIDIA's RTX 2080 Ti changed my PC experience
You can get a solid experience even if not the best with gaming. Video editing is a bit different, it's more specific.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found