mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
Set resource limits (#22)
* Added resource limits to resources. * Boost version number, rebuild YAMLs
This commit is contained in:
parent
86cbe7f929
commit
a01a72ba00
27 changed files with 2445 additions and 220 deletions
|
|
@ -15,6 +15,18 @@ local url = import "url.jsonnet";
|
|||
"--chunk-overlap",
|
||||
"10",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
"text-completion": base + {
|
||||
|
|
@ -28,6 +40,18 @@ local url = import "url.jsonnet";
|
|||
"-t",
|
||||
"0.0",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
"text-completion-rag": base + {
|
||||
|
|
@ -45,6 +69,18 @@ local url = import "url.jsonnet";
|
|||
"-o",
|
||||
"non-persistent://tg/response/text-completion-rag-response",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.1',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue