The thing that I keep running into in my SLA plans is concurrency. Yes, you can have a Llama 2 model running on an A100 somewhere - but that will support 1 concurrent prompt. Anything at a higher concurrency needs another GPU, or your end users will be waiting a while. Want to rent an 8 GPU machine in the cloud for inference? Be prepared to pay a lot of money for it.
Ask HN: Who is using small OS LLMs in production?
31–40 of 59 posts
Re: Ask HN: Who is using small OS LLMs in production?
#32Earlier quoted context omitted.
Can you elaborate on the pricing difference?
LLAMA 2 appears to require no cost because it can be run locally. The license does mention that if you are using facilitating than 700 million users that you have to negotiate for a different license or something like that but for most peoples uses, it would seem that LLAMA 2 is basically "free".
Re: Ask HN: Who is using small OS LLMs in production?
#33Running llama-2-7b-chat at 8 bit quantization, and completions are essentially at GPT-3.5 levels (and instant) on a single RTX4090 using 15gb VRAM. I don't think most people realize just how small and efficient these models are going to become.
7B or 70B?
7B 8bit GGML running on a single 4090 with llama.cpp. It's hard to overstate the massive jump in capability between llama 1 and 2.
Re: Ask HN: Who is using small OS LLMs in production?
#34Re: Ask HN: Who is using small OS LLMs in production?
#35Re: Ask HN: Who is using small OS LLMs in production?
#36I see comments here about running Llama on 4090's, which is fine for local development and testing - but getting into production is a significant leap and a significant cost. The thing that I keep running into in my SLA plans is concurrency. Yes, you can have a Llama 2 model running on an A100 somewhere - but that will support 1 concurrent prompt. Anything at a higher concurrency needs another GPU, or your end users…
it's reasonably straightforward for me to host this and serve public requests, but would likely just be a base model -- not sure if hosting (eg) 13B chat can serve peoples' use cases
Re: Ask HN: Who is using small OS LLMs in production?
#37Earlier quoted context omitted.
7B or 70B?
>7B or 70B? 7B 8bit GGML running on a single 4090 with llama.cpp. It's hard to overstate the massive jump in capability between llama 1 and 2.
Re: Ask HN: Who is using small OS LLMs in production?
#38Earlier quoted context omitted.
LLAMA 2 appears to require no cost because it can be run locally. The license does mention that if you are using facilitating than 700 million users that you have to negotiate for a different license or something like that but for most peoples uses, it would seem that LLAMA 2 is basically "free".
Right, but can you scale GPUs for cheaper than OpenAI charges to use their APIs? 3.5 is _cheap_, and perfectly good for many use cases.
Re: Ask HN: Who is using small OS LLMs in production?
#39I see comments here about running Llama on 4090's, which is fine for local development and testing - but getting into production is a significant leap and a significant cost. The thing that I keep running into in my SLA plans is concurrency. Yes, you can have a Llama 2 model running on an A100 somewhere - but that will support 1 concurrent prompt. Anything at a higher concurrency needs another GPU, or your end users…
you need an inference server. I am doing ~400 tokens/sec on 7B with a 4090 with multiple concurrent (streaming!) requests. it's reasonably straightforward for me to host this and serve public requests, but would likely just be a base model -- not sure if hosting (eg) 13B chat can serve peoples' use cases