Qwen 27B runs very comfortably on a 5090. You need to use Q4 quants and Q8 KV cache. Here's the math
https://news.ycombinator.com/item?id=49514141