Skip to content

fix: pass hub_arn to get_init_kwargs in _build_for_jumpstart#5747

Open
varunmoris wants to merge 1 commit intoaws:masterfrom
varunmoris:master
Open

fix: pass hub_arn to get_init_kwargs in _build_for_jumpstart#5747
varunmoris wants to merge 1 commit intoaws:masterfrom
varunmoris:master

Conversation

@varunmoris
Copy link
Copy Markdown
Contributor

The _build_for_jumpstart method was not forwarding hub_arn to get_init_kwargs, causing private hub models to fail during model creation. Without hub_arn, the SDK could not resolve the correct account ID in the hub content ARN, resulting in 'hub content not found' errors for private hubs.

Public hub models are unaffected since hub_arn is None for them.

Issue #, if available:

Description of changes:

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

The _build_for_jumpstart method was not forwarding hub_arn to
get_init_kwargs, causing private hub models to fail during model
creation. Without hub_arn, the SDK could not resolve the correct
account ID in the hub content ARN, resulting in 'hub content not
found' errors for private hubs.

Public hub models are unaffected since hub_arn is None for them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant