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

Support lightweight Python components on Sagemaker #804

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

RobbeSneyders
Copy link
Member

Fixes #755

image

if ref == "fndnt":
logging.info("Reusable component detected, patching URI")
uri = pull_through(f"{self.ecr_namespace}/{full_ref}")
elif ref == "public.ecr.aws":
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should start to collect constant string values at one place.

Copy link
Member Author

Choose a reason for hiding this comment

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

Agree with defining reused string values, however this one is only used once.

src/fondant/pipeline/compiler.py Show resolved Hide resolved
Copy link
Contributor

@PhilippeMoussalli PhilippeMoussalli left a comment

Choose a reason for hiding this comment

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

Thanks Robbe!

Copy link
Collaborator

@GeorgesLorre GeorgesLorre left a comment

Choose a reason for hiding this comment

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

Nice ! minimal changes and maximal impact

src/fondant/pipeline/compiler.py Show resolved Hide resolved
@RobbeSneyders RobbeSneyders merged commit 9c4e3b1 into main Jan 22, 2024
11 checks passed
@RobbeSneyders RobbeSneyders deleted the feature/python-on-aws branch January 22, 2024 10:44
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.

Support Lightweight Python components in Sagemaker runner
4 participants