Skip to content

Commit 18866d6

Browse files
authored
Support Pixtral Large (#993)
1 parent 90d168e commit 18866d6

4 files changed

Lines changed: 33 additions & 0 deletions

File tree

docs/en/DEPLOY_OPTION.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,8 @@ As of 2025/03, the multimodal models are:
649649
"apac.anthropic.claude-3-5-sonnet-20241022-v2:0",
650650
"us.meta.llama3-2-90b-instruct-v1:0",
651651
"us.meta.llama3-2-11b-instruct-v1:0",
652+
"us.mistral.pixtral-large-2502-v1:0",
653+
"eu.mistral.pixtral-large-2502-v1:0",
652654
"amazon.nova-pro-v1:0",
653655
"amazon.nova-lite-v1:0",
654656
"us.amazon.nova-pro-v1:0",
@@ -815,6 +817,8 @@ This solution supports the following text generation models:
815817
"mistral.mistral-large-2407-v1:0",
816818
"mistral.mistral-large-2402-v1:0",
817819
"mistral.mistral-small-2402-v1:0",
820+
"us.mistral.pixtral-large-2502-v1:0",
821+
"eu.mistral.pixtral-large-2502-v1:0",
818822
"anthropic.claude-v2:1",
819823
"anthropic.claude-v2",
820824
"anthropic.claude-instant-v1",
@@ -896,6 +900,7 @@ const envs: Record<string, Partial<StackInput>> = {
896900
{ modelId: 'us.deepseek.r1-v1:0', region: 'us-east-1' },
897901
{ modelId: 'us.meta.llama3-3-70b-instruct-v1:0', region: 'us-east-1' },
898902
{ modelId: 'us.meta.llama3-2-90b-instruct-v1:0', region: 'us-east-1' },
903+
{ modelId: 'us.mistral.pixtral-large-2502-v1:0', region: 'us-east-1' },
899904
],
900905
imageGenerationModelIds: [
901906
'amazon.nova-canvas-v1:0',
@@ -942,6 +947,10 @@ const envs: Record<string, Partial<StackInput>> = {
942947
{
943948
"modelId": "us.meta.llama3-2-90b-instruct-v1:0",
944949
"region": "us-east-1"
950+
},
951+
{
952+
"modelId": "us.mistral.pixtral-large-2502-v1:0",
953+
"region": "us-east-1"
945954
}
946955
],
947956
"imageGenerationModelIds": [
@@ -991,6 +1000,7 @@ const envs: Record<string, Partial<StackInput>> = {
9911000
'meta.llama3-8b-instruct-v1:0',
9921001
'cohere.command-r-plus-v1:0',
9931002
'cohere.command-r-v1:0',
1003+
'us.mistral.pixtral-large-2502-v1:0',
9941004
'mistral.mistral-large-2402-v1:0',
9951005
],
9961006
imageGenerationModelIds: [

docs/ja/DEPLOY_OPTION.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,8 @@ const envs: Record<string, Partial<StackInput>> = {
664664
"apac.anthropic.claude-3-5-sonnet-20241022-v2:0",
665665
"us.meta.llama3-2-90b-instruct-v1:0",
666666
"us.meta.llama3-2-11b-instruct-v1:0",
667+
"us.mistral.pixtral-large-2502-v1:0",
668+
"eu.mistral.pixtral-large-2502-v1:0",
667669
"amazon.nova-pro-v1:0",
668670
"amazon.nova-lite-v1:0",
669671
"us.amazon.nova-pro-v1:0",
@@ -830,6 +832,8 @@ const envs: Record<string, Partial<StackInput>> = {
830832
"mistral.mistral-large-2407-v1:0",
831833
"mistral.mistral-large-2402-v1:0",
832834
"mistral.mistral-small-2402-v1:0",
835+
"us.mistral.pixtral-large-2502-v1:0",
836+
"eu.mistral.pixtral-large-2502-v1:0",
833837
"anthropic.claude-v2:1",
834838
"anthropic.claude-v2",
835839
"anthropic.claude-instant-v1",
@@ -910,6 +914,7 @@ const envs: Record<string, Partial<StackInput>> = {
910914
{ modelId: 'us.deepseek.r1-v1:0', region: 'us-east-1' },
911915
{ modelId: 'us.meta.llama3-3-70b-instruct-v1:0', region: 'us-east-1' },
912916
{ modelId: 'us.meta.llama3-2-90b-instruct-v1:0', region: 'us-east-1' },
917+
{ modelId: 'us.mistral.pixtral-large-2502-v1:0', region: 'us-east-1' },
913918
],
914919
imageGenerationModelIds: [
915920
'amazon.nova-canvas-v1:0',

packages/cdk/lambda/utils/models.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,22 @@ export const BEDROCK_TEXT_GEN_MODELS: {
10771077
extractConverseOutput: extractConverseOutput,
10781078
extractConverseStreamOutput: extractConverseStreamOutput,
10791079
},
1080+
'us.mistral.pixtral-large-2502-v1:0': {
1081+
defaultParams: MISTRAL_DEFAULT_PARAMS,
1082+
usecaseParams: USECASE_DEFAULT_PARAMS,
1083+
createConverseCommandInput: createConverseCommandInput,
1084+
createConverseStreamCommandInput: createConverseStreamCommandInput,
1085+
extractConverseOutput: extractConverseOutput,
1086+
extractConverseStreamOutput: extractConverseStreamOutput,
1087+
},
1088+
'eu.mistral.pixtral-large-2502-v1:0': {
1089+
defaultParams: MISTRAL_DEFAULT_PARAMS,
1090+
usecaseParams: USECASE_DEFAULT_PARAMS,
1091+
createConverseCommandInput: createConverseCommandInput,
1092+
createConverseStreamCommandInput: createConverseStreamCommandInput,
1093+
extractConverseOutput: extractConverseOutput,
1094+
extractConverseStreamOutput: extractConverseStreamOutput,
1095+
},
10801096
'cohere.command-r-v1:0': {
10811097
defaultParams: COMMANDR_DEFAULT_PARAMS,
10821098
usecaseParams: USECASE_DEFAULT_PARAMS,

packages/common/src/application/model.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ export const modelFeatureFlags: Record<string, FeatureFlags> = {
137137
'mistral.mistral-small-2402-v1:0': MODEL_FEATURE.TEXT_ONLY,
138138
'mistral.mistral-large-2402-v1:0': MODEL_FEATURE.TEXT_DOC,
139139
'mistral.mistral-large-2407-v1:0': MODEL_FEATURE.TEXT_DOC,
140+
'us.mistral.pixtral-large-2502-v1:0': MODEL_FEATURE.TEXT_DOC_IMAGE,
141+
'eu.mistral.pixtral-large-2502-v1:0': MODEL_FEATURE.TEXT_DOC_IMAGE,
140142
// Cohere
141143
'cohere.command-r-v1:0': MODEL_FEATURE.TEXT_DOC,
142144
'cohere.command-r-plus-v1:0': MODEL_FEATURE.TEXT_DOC,

0 commit comments

Comments
 (0)