domino logo
Latest (5.8)
  • Overview
  • Domino Cloud
  • Domino Nexus
  • Code Assist
  • Get started
  • Work with data
  • Develop models
  • Scale out distributed computing
  • Register and govern models
  • Deploy models
  • Monitor models
  • Publish Apps
  • Projects
  • Collaborate
  • Workspaces
  • Jobs
  • Environments
  • Executions
  • Launchers
  • Environment variables
  • Secure credential store
  • Organizations
  • Domino API
  • Domino CLI
  • Troubleshooting
  • Get help
  • Additional resources
  • Send feedback
domino logo
About Domino
Domino Data LabKnowledge BaseData Science BlogTraining
>
User guide
>
Scale out distributed computing
>
On-demand Ray
>
Manage dependencies

Manage dependencies

While the Ray base images (especially the ray-ml flavor) come with a comprehensive set of packages frequently used for machine learning, you may still need to modify your environment when you need additional packages or when you need a specific version of a given package.

Domino allows you to easily package and manage dependencies as part of your Ray-enabled compute environments. This approach creates the flexibility to manage dependencies for individual projects or workloads without having to deal with the complexity of a shared cluster.

To add a new dependency, you must add the appropriate statements in the Docker Instructions section of the relevant Ray base and Ray execution compute environments.

For example, if you wanted to add a particular version of PyTorch you might include the following.

### Optionally specify version if desired
RUN pip install torch==1.8.0 torchvision==0.9.0
Domino Data Lab
Knowledge Base
Data Science Blog
Training
Copyright © 2023 Domino Data Lab. All rights reserved.