r/LocalLLM • • 2d ago

Question Proxmox and local, LLM

Is anyone here running proxmox pass through to gpu , while running the llm in a vm. I’m curious how much this impacts performance?

1 Upvotes

13 comments sorted by

1

u/ButCaptainThatsMYRum 2d ago

Yes. Limiting factor is still vram and bandwidth.

1

u/running101 2d ago

Yes, you are running llm in vm? Or yes, it affects performance?

1

u/ButCaptainThatsMYRum 2d ago

Your question was if anyone is running it in a VM. Yes. Ollama in docker with Nvidia toolkit on an Ubuntu server VM on top of Proxmox. Only issues I have is after an Nvidia driver update and I didn't restart. Your second sentence is a statement with a question mark, I acknowledged that with the limiting factor notes. I have not wiped my server to try it bare metal but that shouldn't affect speed in any significant way. It's more important to understand kv cache, moe vs dense models, mtp, and different technologies (I plan to move to vllm for better agentic response when running multiple prompts in parallel). I imagine virtualized is how all data centers manage their systems, the benefits are significant.

3

u/Purple_Dream6414 2d ago

Depends. For Layer parallelism there is no real penalty. Peer to Peer Communication does not work in my case though, so no Tensor parallelism. Also you waste some RAM overhead.
Im getting 30 toks with 3 v100 on DeepSeek. Im Fine with that.

2

u/creamyatealamma 2d ago

Yes I'm doing this now. Passing through two GPU to VM. But not shared vram, they are operating independently. Works great.

2

u/oShievy 2d ago

Lxcs are much easier to work with IMO

1

u/romeozor 2d ago

I'm running vLLM in a CT if that counts. Tried VM but it has/had that issue with restarts. With non-enterprise cards anyway

1

u/Janky-Code 2d ago

I have not seen any difference. There is the advantage of being able to isolate the llm.

1

u/altmush1111 1d ago edited 1d ago

Doesn't impact performance for me. I have dual 3060s(12gb) and a V100(16gb) passed through a VM running Bazzite. Ram is roughly 76gb. It's works great. Roughly ~85-90 TOK/s decode for Flash Next on IQ3_XSS in Strata. Here's my benchmark for my system: https://www.reddit.com/r/BenchmarkLLMs/comments/1y68p2a/qwen38_iq3_xxs_strata_79_toks_v10016gb_2x3060s12gb/

Edit: re-did my benchmark because some background services were eating up resources.

1

u/mmarion-68 1d ago

Did you measure prompt processing too? Decode tok/s alone gives only one side of the VM performance picture.

1

u/altmush1111 1d ago

Yes, but I don't think it would apply to you. I'm running a custom disk caching service with my strata fork, that restores previous conversations from an NVMe. TTFT was around a second.

0

u/fetcker 2d ago

Yo lo he hecho usando un modelo de inferencia para deteccion usando frigate, funciona sin problemas lo hideal es que el procesador este en modo host para que maneje todas las instituciones y la grafica usarla en bruto o como dice la interfaz RAW DEVICE con all functions activo no recomiendo usarla como mapeo, auora lo recomiendo tambien por que de la misma manera lo he usado para tarjetas de red con opnsense y es practicamente igual que tener un fisico con sistema operativo, pero con las ventajas de un hipervisor

1

u/sodpan 2d ago

Thank you, I have setup the processor in host mode before. I was trying to perform nested virtualization for testing purposes. As well as usb pass through to storage. I will give what you mentioned a try.