Skip to content

Commit

Permalink
Update MLflow in Production DFP example to use Python 3.10 (#1572)
Browse files Browse the repository at this point in the history
- Update `mlflow_writer_options` in DFP config generator to use Python 3.10 (from 3.8) for model's conda environment.
- Update base image of MLflow container to Python 3.10.

Closes #1565

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Eli Fajardo (https://github.com/efajardo-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #1572
  • Loading branch information
efajardo-nv authored Mar 25, 2024
1 parent b939b3d commit 83025e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM python:3.8-slim-buster
FROM python:3.10-slim-buster

# Install curl for health check
RUN apt update && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def train_module_conf(self):
"timestamp_column_name": self._config.ae.timestamp_column_name,
"conda_env": {
'channels': ['defaults', 'conda-forge'],
'dependencies': ['python=3.8', 'pip'],
'dependencies': ['python=3.10', 'pip'],
'pip': ['mlflow', 'dfencoder'],
'name': 'mlflow-env'
}
Expand Down

0 comments on commit 83025e1

Please sign in to comment.