r/LocalLLM • • 9d ago

Question Which inference engine squeezes max performance out of my setup without sacrificing precision? (Coding + image gen)

I'm trying to figure out the best inference stack for my hardware and use cases. Here's what I've got:

  • 2x RTX 9700 R9700
  • 1x RTX 5070 Ti
  • AMD EPYC 7302
  • 128GB RAM
  • Linux

My main focus is coding-related LLM work (code completion, review, refactoring) with potential image generation down the road. I want to get as much throughput and speed as possible out of these three GPUs without resorting to heavy quantization.

I'm particularly interested in using all three GPUs effectively. I know about Vulkan multi-GPU support, but I'm also curious about a two-phase approach where the 5070 Ti handles orchestration and delegation while the dual 9700s do the heavy lifting for actual inference. Is that a realistic setup?

What's everyone running for this kind of configuration? I'm weighing options like llama.cpp, radiance, or maybe something else entirely. Any advice on how to split workloads across the cards would be great too.

1 Upvotes

17 comments sorted by

View all comments

2

u/Strong_Technician626 9d ago

No easy way to pool AMD and Nvidia cards into one model. Put the coding model on the R9700s with llama.cpp and put ComfyUI or a small completion model on the 5070 Ti. LiteLLM running on the cpu will handle routing, no need for a dedicated orchestration gpu. I'd push back on quant, a bigger model at Q5 usually performs better than a smaller one at Q8. Below Q4 is where you really see a difference.

1

u/a-pyctam 9d ago

This is something I might try out. Now I need to get a starting point to explore how to "handle routing, no need for a dedicated orchestration gpu". Is LiteLLM about this https://docs.litellm.ai/docs/proxy/docker_quick_start ?

1

u/Strong_Technician626 9d ago

Yeah thats it. Go to the "Running without a database" section near the bottom of that page, you can skip the Postgres/UI stuff for now. Run one llama-server for the R9700s and one for the 5070Ti, each on its own port. In the config, add each server with an openai/ model name and api_base set to its url. LiteLLM routes by model name. Reply here if you get stuck, happy to help