Skip to content

Commit 7c0e256

Browse files
committed
bring back inpainting
scale to 0 instead of yanking models
1 parent bc711fb commit 7c0e256

File tree

2 files changed

+92
-3
lines changed

2 files changed

+92
-3
lines changed

chart/model-values.yaml

Lines changed: 90 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ autoscaling:
1212
- WAV2LIP_MODEL_IDS
1313
- U2NET_MODEL_IDS
1414
- DIS_MODEL_IDS
15+
- NEMO_ASR_MODEL_IDS
1516
- AUDIO_LDM_MODEL_IDS
1617
- BARK_MODEL_IDS
1718
- SEAMLESS_MODEL_IDS
@@ -86,6 +87,35 @@ deployments:
8687
SD_MODEL_IDS: |-
8788
runwayml/stable-diffusion-v1-5
8889
90+
- name: "common-diffusion-on-demand"
91+
image: *commonImgOld
92+
autoscaling:
93+
minReplicaCount: 0
94+
limits:
95+
memory: "50Gi"
96+
env:
97+
IMPORTS: |-
98+
common.diffusion
99+
common.controlnet
100+
CONTROLNET_MODEL_IDS: *controlnetModelIds
101+
SD_MODEL_IDS: |-
102+
wavymulder/Analog-Diffusion
103+
prompthero/openjourney
104+
prompthero/openjourney-v2
105+
darkstorm2150/Protogen_v5.3_Official_Release
106+
107+
- name: "common-diffusion-inpaint"
108+
image: *commonImgOld
109+
limits:
110+
memory: "20Gi"
111+
env:
112+
IMPORTS: |-
113+
common.diffusion
114+
CONTROLNET_MODEL_IDS: *controlnetModelIds
115+
SD_MODEL_IDS: |-
116+
stabilityai/stable-diffusion-2-inpainting
117+
runwayml/stable-diffusion-inpainting
118+
89119
- name: "deforum-sd-1"
90120
image: *deforumImg
91121
autoscaling:
@@ -125,8 +155,23 @@ deployments:
125155
WHISPER_MODEL_IDS: |-
126156
openai/whisper-large-v2
127157
128-
- name: "common-whisper-en-long"
158+
- name: "common-whisper-te-short"
129159
image: *commonImgOld
160+
autoscaling:
161+
minReplicaCount: 0
162+
limits:
163+
memory: "20Gi"
164+
env:
165+
QUEUE_PREFIX: "gooey-gpu/short"
166+
IMPORTS: |-
167+
common.whisper
168+
WHISPER_MODEL_IDS: |-
169+
vasista22/whisper-telugu-large-v2
170+
171+
- name: "common-whisper-en-te-long"
172+
image: *commonImgOld
173+
autoscaling:
174+
minReplicaCount: 0
130175
limits:
131176
memory: "40Gi"
132177
env:
@@ -135,9 +180,53 @@ deployments:
135180
common.whisper
136181
WHISPER_MODEL_IDS: |-
137182
openai/whisper-large-v2
183+
vasista22/whisper-telugu-large-v2
184+
185+
- name: "common-whisper-hi-bho-short"
186+
image: *commonImgOld
187+
autoscaling:
188+
minReplicaCount: 0
189+
limits:
190+
memory: "10Gi"
191+
env:
192+
QUEUE_PREFIX: "gooey-gpu/short"
193+
IMPORTS: |-
194+
common.whisper
195+
WHISPER_MODEL_IDS: |-
196+
vasista22/whisper-hindi-large-v2
197+
Harveenchadha/vakyansh-wav2vec2-bhojpuri-bhom-60
198+
199+
- name: "common-whisper-hi-bho-long"
200+
image: *commonImgOld
201+
autoscaling:
202+
minReplicaCount: 0
203+
limits:
204+
memory: "40Gi"
205+
env:
206+
QUEUE_PREFIX: "gooey-gpu/long"
207+
IMPORTS: |-
208+
common.whisper
209+
WHISPER_MODEL_IDS: |-
210+
vasista22/whisper-hindi-large-v2
211+
Harveenchadha/vakyansh-wav2vec2-bhojpuri-bhom-60
212+
213+
- name: "retro-nemo-asr"
214+
image: *retroImg
215+
autoscaling:
216+
minReplicaCount: 0
217+
limits:
218+
memory: "20Gi"
219+
env:
220+
IMPORTS: |-
221+
retro.nvidia_nemo
222+
NEMO_ASR_MODEL_IDS: |-
223+
https://objectstore.e2enetworks.net/indic-asr-public/checkpoints/conformer/english_large_data_fixed.nemo
224+
https://objectstore.e2enetworks.net/indic-asr-public/checkpoints/conformer/stt_hi_conformer_ctc_large_v2.nemo
138225
139226
- name: "common-audio-ldm-bark"
140227
image: *commonImgOld
228+
autoscaling:
229+
minReplicaCount: 0
141230
limits:
142231
memory: "20Gi"
143232
env:

chart/templates/rabbitmq-autoscaling.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ spec:
2323
{{- $autoscaling := ($deployment.autoscaling | default dict) }}
2424
scaleTargetRef:
2525
name: "{{ $.Release.Name }}-{{ .name }}"
26-
minReplicaCount: {{ $autoscaling.minReplicaCount | default $.Values.autoscaling.minReplicaCount }}
27-
maxReplicaCount: {{ $autoscaling.maxReplicaCount | default $.Values.autoscaling.maxReplicaCount }}
26+
minReplicaCount: {{ if hasKey $autoscaling "minReplicaCount" }}{{ $autoscaling.minReplicaCount }}{{ else }}{{ $.Values.autoscaling.minReplicaCount }}{{ end }}
27+
maxReplicaCount: {{ if hasKey $autoscaling "maxReplicaCount" }}{{ $autoscaling.maxReplicaCount }}{{ else }}{{ $.Values.autoscaling.maxReplicaCount }}{{ end }}
2828
cooldownPeriod: 1200
2929
triggers:
3030
{{- $queuePrefix := get $deployment.env "QUEUE_PREFIX" | default "gooey-gpu" }}

0 commit comments

Comments
 (0)