You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: site-src/guides/index.md
+8-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ This quickstart guide is intended for engineers familiar with k8s and model serv
5
5
## **Prerequisites**
6
6
- Envoy Gateway [v1.2.1](https://gateway.envoyproxy.io/docs/install/install-yaml/#install-with-yaml) or higher
7
7
- A cluster with:
8
-
- Support for services of typs`LoadBalancer`. (This can be validated by ensuring your Envoy Gateway is up and running).
8
+
- Support for services of type`LoadBalancer`. (This can be validated by ensuring your Envoy Gateway is up and running).
9
9
For example, with Kind, you can follow [these steps](https://kind.sigs.k8s.io/docs/user/loadbalancer).
10
10
11
11
## **Steps**
@@ -34,6 +34,13 @@ This quickstart guide is intended for engineers familiar with k8s and model serv
34
34
35
35
#### CPU-Based Model Server
36
36
37
+
For this setup, we use approximately 9.5GB of memory and 12 CPUs for each replica.
38
+
While it is possible to deploy the model server with less resources, this is not recommended.
39
+
For example, in our tests, loading the model using 8GB of memory and 1 CPU was possible but took almost 3.5 minutes and inference requests took unreasonable time.
40
+
In general, there is a tradeoff between the memory and CPU we allocate to our pods and the performance. The more memory and CPU we allocate the better performance we can get.
41
+
After running multiple configurations of these values we decided in this sample to use 9.5GB of memory and 12 CPUs for each replica, which gives reasonable response times. You can increase those numbers and potentially may even get better response times.
42
+
For modifying the allocated resources, adjust the numbers in `./config/manifests/vllm/cpu-deployment.yaml` as needed.
43
+
37
44
Deploy a sample vLLM deployment with the proper protocol to work with the LLM Instance Gateway.
0 commit comments