Earlier quoted context omitted.
Nvidia’s workstation cards are available with more RAM than the consumer cards, at a lower price than the datacenter cards. RTX 6000 Ada has 48 GB VRAM and retails for $6800, and RTX 5000 Ada has 32 GB VRAM and retails for $4000[1]. Very large models have to be distributed across multiple GPUs though, even if you’re using datacenter chips like H100s. [1] https://store.nvidia.com/en-us/nvidia-rtx/store/
Other than power consumption, is there any reason to prefer a single workstation card over multiple consumer cards then? A single $6800 RTX 6000 Ada with 48GB of VRAM vs 6x 7900XTX with a combined total of 144GB of VRAM honestly makes this seem like a no brainer to me.
Show HN: I made a GPU VRAM calculator for transformer-based models
21–30 of 41 posts
Re: Show HN: I made a GPU VRAM calculator for transformer-based models
#22Earlier quoted context omitted.
Nvidia’s workstation cards are available with more RAM than the consumer cards, at a lower price than the datacenter cards. RTX 6000 Ada has 48 GB VRAM and retails for $6800, and RTX 5000 Ada has 32 GB VRAM and retails for $4000[1]. Very large models have to be distributed across multiple GPUs though, even if you’re using datacenter chips like H100s. [1] https://store.nvidia.com/en-us/nvidia-rtx/store/
Other than power consumption, is there any reason to prefer a single workstation card over multiple consumer cards then? A single $6800 RTX 6000 Ada with 48GB of VRAM vs 6x 7900XTX with a combined total of 144GB of VRAM honestly makes this seem like a no brainer to me.
Re: Show HN: I made a GPU VRAM calculator for transformer-based models
#23While not as pretty (and mobile-friendly) as the original link, the calculators below support modeling LoRA-based training, alongside full finetuning. https://huggingface.co/spaces/Vokturz/can-it-run-llm https://rahulschand.github.io/gpu_poor/
Re: Show HN: I made a GPU VRAM calculator for transformer-based models
#24Earlier quoted context omitted.
Doesn't using bf16 alleviate the problem? At least I've had success training a Bert like model from scratch
I wonder about that too. With the small precision, parameter updates might be too small to have an effect (is it possible to use some sort of probabilistic update in that case?) Unfortunately, I haven’t found any resources describing the feasibility of full fp16 or bf16 training.
You might find this paper interesting: https://arxiv.org/pdf/2010.06192.pdf
Re: Show HN: I made a GPU VRAM calculator for transformer-based models
#25Are people still rawdoggin' 16-bit models? I almost exclusively use 5-bit inference quants (or 8-bit natives like Yi-34b) on my MacBook Pro. Tiny accuracy loss, runs fast, and leave plenty of (V)RAM on the table. Mixtral 8x7 is my new daily driver, and only takes like 40GB to run! I wonder if I could run two of them talking to each other...
Pure 16bit is horrible for training, sorry.
Re: Show HN: I made a GPU VRAM calculator for transformer-based models
#26Earlier quoted context omitted.
Pure 16bit is horrible for training, sorry.
Doesn't using bf16 alleviate the problem? At least I've had success training a Bert like model from scratch
Re: Show HN: I made a GPU VRAM calculator for transformer-based models
#27Re: Show HN: I made a GPU VRAM calculator for transformer-based models
#28Earlier quoted context omitted.
Doesn't using bf16 alleviate the problem? At least I've had success training a Bert like model from scratch
I wonder about that too. With the small precision, parameter updates might be too small to have an effect (is it possible to use some sort of probabilistic update in that case?) Unfortunately, I haven’t found any resources describing the feasibility of full fp16 or bf16 training.
Check out the fastai docs for more details: https://docs.fast.ai/callback.fp16.html
Re: Show HN: I made a GPU VRAM calculator for transformer-based models
#29Are people still rawdoggin' 16-bit models? I almost exclusively use 5-bit inference quants (or 8-bit natives like Yi-34b) on my MacBook Pro. Tiny accuracy loss, runs fast, and leave plenty of (V)RAM on the table. Mixtral 8x7 is my new daily driver, and only takes like 40GB to run! I wonder if I could run two of them talking to each other...
Re: Show HN: I made a GPU VRAM calculator for transformer-based models
#30Earlier quoted context omitted.
Other than power consumption, is there any reason to prefer a single workstation card over multiple consumer cards then? A single $6800 RTX 6000 Ada with 48GB of VRAM vs 6x 7900XTX with a combined total of 144GB of VRAM honestly makes this seem like a no brainer to me.
You can only fit 1-2 graphics cards in a “normal” ATX case (each card takes 2-3 “slots”). If you want 4 cards on one machine, you need a bigger/more expensive motherboard, case, PSU, etc. I haven’t personally seen anyone put 6 cards in a workstation.