Text generation · served with vLLM · ↓ 954 downloads a month · View on Hugging Face
stabilityai/stablelm-2-12b needs about 30.1 GB of GPU memory for conversations of up to 4,096 tokens. It runs on 4x RTX 3060 from $0.43/h right now; best value: RTX 5090 at $0.66/h.
Weights
24 GB
GPU memory needed
about 30.1 GB
Conversation length
4,096 tokens
Model allows
4,096 tokens
Memory · disk
20.1 GB · 67 GB
Architecture
StableLmForCausalLM
Licence
other
Hardware and deploy
$0.66/h from your balance while it runs, billed by the hour; stop it from its page. GridPup rents the machine, which downloads the model from Hugging Face (usually ready in 10 to 15 minutes), and gives you an https address, keys and a Playground.
Questions
How much GPU memory does stablelm-2-12b need?
About 30.1 GB for conversations of up to 4,096 tokens: 24.29 GB of weights, the cache for one full-length conversation and the runtime's own memory.
What is the cheapest GPU to run stablelm-2-12b?
Right now 4x RTX 3060 at $0.43 an hour; RTX 5090 at $0.66 an hour is the best value for its speed. Prices are live offers from GPU clouds, checked every 15 minutes.
Can stablelm-2-12b run on an RTX 4090?
Not on one: it needs about 30.1 GB and an RTX 4090 has 24 GB. An RTX 5090 (32 GB) is enough.
How do I deploy stablelm-2-12b as an API?
Pick a machine on its GridPup page and press Deploy: GridPup rents the GPU, downloads the model from Hugging Face and serves it at an https address with keys and OpenAI's chat API, billed by the hour.
Prices are per hour for the whole machine and its disk, right now. Speed is Vast's DLPerf score of the machine, relative to the cheapest. Best value: the most speed per dollar. Only machines with a Vast reliability above 95% that download at 400 Mbit/s or more are offered: the machine fetches the model itself.