Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Support Cross Region Inference #629

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

michaelraskansky
Copy link

@michaelraskansky michaelraskansky commented Feb 2, 2025

Issue #, if available:
#609

Description of changes:
This change enables the listModels API to return models that support cross-region inference and makes necessary changes to allow model providers to register themselves to handle cross-region inference calls. Additionally, the Lambda function permissions have been modified to allow listing of inference profiles.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

update snapshots to include bedrock:ListInferenceProfiles

list crisr

remove redundant comment
@michaelraskansky michaelraskansky changed the title support cross region inference Feature: Support Cross Region Inference Feb 2, 2025
}


def list_bedrock_cris_models():
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean list_bedrock_cross_models?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cris is short for cross region inference profiles

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, thank you!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, thanks!

@maryamkhidir maryamkhidir merged commit 32333cc into aws-samples:main Feb 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants