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

Use miniforge conda as Pyfunc ensembler service base image #360

Merged
merged 2 commits into from
Sep 8, 2023

Conversation

krithika369
Copy link
Collaborator

@krithika369 krithika369 commented Sep 8, 2023

Anaconda repo is no longer free for use, for companies with over 200 employees: https://community.anaconda.cloud/t/is-conda-cli-free-for-use/14303

This PR replaces continuumio/miniconda3 used as the Pyfunc ensembler service base image with an image that uses Miniforge. With Miniforge:

conda-forge set as the default (and only) channel

Screenshot 2023-09-08 at 8 04 47 AM

Screenshot 2023-09-08 at 8 05 04 AM

Additionally, the Miniforge conda version in the batch ensembler base image is updated to the latest as well.

@krithika369 krithika369 marked this pull request as draft September 8, 2023 00:23
@krithika369 krithika369 marked this pull request as ready for review September 8, 2023 01:23
@krithika369 krithika369 changed the title Draft: Use miniforge conda as Pyfunc ensembler service base image Use miniforge conda as Pyfunc ensembler service base image Sep 8, 2023
Copy link
Contributor

@deadlycoconuts deadlycoconuts left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀 Just curious, as CaraML is a public (not sure if we check all the boxes of being 'open-source') project with only < 20 contributors (14 from caraml-dsp), do we also fall into the group of organisations with >= 200 employees? :o

Screenshot 2023-09-08 at 10 35 33 AM

@krithika369
Copy link
Collaborator Author

LGTM! 🚀 Just curious, as CaraML is a public (not sure if we check all the boxes of being 'open-source') project with only < 20 contributors (14 from caraml-dsp), do we also fall into the group of organisations with >= 200 employees? :o

Screenshot 2023-09-08 at 10 35 33 AM

I believe yes, unfortunately, as the usage of these images is in our internal DS clusters.

krithika369 added a commit to caraml-dev/merlin that referenced this pull request Sep 8, 2023
<!--  Thanks for sending a pull request!  Here are some tips for you:

1. Run unit tests and ensure that they are passing
2. If your change introduces any API changes, make sure to update the
e2e tests
3. Make sure documentation is updated for your PR!

-->

**What this PR does / why we need it**:
<!-- Explain here the context and why you're making the change. What is
the problem you're trying to solve. --->

Anaconda repo is no longer free for use, for companies with over 200
employees:
https://community.anaconda.cloud/t/is-conda-cli-free-for-use/14303

This PR replaces `continuumio/miniconda3` used as the Python SDK docs
base image with an image that uses
[Miniforge](https://github.com/conda-forge/miniforge). With Miniforge:

> [conda-forge](https://conda-forge.org/) set as the default (and only)
channel

Related PR on Turing: caraml-dev/turing#360

Additionally, the existing references to `miniforge/conda` are updated
to the latest version.

**Which issue(s) this PR fixes**:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

None

**Does this PR introduce a user-facing change?**:
<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required. Enter your extended release note in
the block below.
If the PR requires additional action from users switching to the new
release, include the string "action required".

For more information about release notes, see kubernetes' guide here:
http://git.k8s.io/community/contributors/guide/release-notes.md
-->

```release-note
Upgrade the miniforge/conda version used in Pyfunc models' base Docker image.
```

**Checklist**

- [ ] Added unit test, integration, and/or e2e tests
- [ ] Tested locally
- [x] Updated documentation
- [ ] Update Swagger spec if the PR introduce API changes
- [ ] Regenerated Golang and Python client if the PR introduce API
changes
@krithika369 krithika369 merged commit f9c2a11 into caraml-dev:main Sep 8, 2023
12 checks passed
@krithika369 krithika369 deleted the update_conda_miniforge branch September 8, 2023 02:53
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.

None yet

2 participants