Skip to content

Commit d07f4ef

Browse files
committed
add: temporally add llama-3.2-11B-Vision-Instruct on top of the list
1 parent cc66de2 commit d07f4ef

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

react/src/components/ModelCardModal.tsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,11 @@ const ModelCardModal: React.FC<ModelCardModalProps> = ({
167167
: 'v1'
168168
}
169169
modelName={
170-
model_card?.name?.includes('stable-diffusion-3-medium')
170+
model_card?.name === 'stable-diffusion-3-medium'
171171
? 'stable-diffusion-3m'
172-
: model_card?.name || ''
172+
: model_card?.name === 'Llama-3.2-11B-Vision-Instruct'
173+
? 'llama-vision-11b'
174+
: model_card?.name || ''
173175
}
174176
/>
175177
</Flex>

react/src/components/ModelTryContent.tsx

+5-2
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ const ModelTryContent: React.FC<ModelTryContentProps> = ({
205205
): ServiceLauncherFormValue => {
206206
const model = modelName?.includes('stable-diffusion-3-medium')
207207
? 'stable-diffusion-3m'
208-
: modelName;
208+
: modelName?.includes('Llama-3.2-11B-Vision-Instruct')
209+
? 'llama-vision-11b'
210+
: modelName;
209211
return {
210212
serviceName: `${model}-${generateRandomString(4)}`,
211213
replicas: 1,
@@ -537,7 +539,8 @@ const ModelTryContent: React.FC<ModelTryContentProps> = ({
537539
<Button
538540
disabled={
539541
modelName?.includes('stable-diffusion') ||
540-
modelName?.includes('gemma-2-27b-it')
542+
modelName?.includes('gemma-2-27b-it') ||
543+
modelName?.includes('Llama-3.2-11B-Vision-Instruct')
541544
}
542545
type="primary"
543546
onClick={() => {

react/src/pages/ModelStoreListPage.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ const ModelStoreListPage: React.FC = () => {
244244
.sort((a, b) => {
245245
const specialNames = [
246246
'gemma-2-27b-it',
247+
'Llama-3.2-11B-Vision-Instruct',
247248
'stable-diffusion-3-medium',
248249
];
249250
const aIndex = specialNames.indexOf(a?.name || '');

0 commit comments

Comments
 (0)