Running Jobs with Conda Environment
Learn how to run jobs with Conda environment in DGX Cloud Lepton.
Conda is known for its ability to create isolated environments for different projects. When running jobs on DGX Cloud Lepton, you can use Conda to ensure your code runs with the exact dependencies needed, making your workloads more reliable and reproducible.
Here is an example of running a job with Conda environment management on DGX Cloud Lepton.
Prepare the Conda environment
Assume you have already set up a Dev Pod running with a Conda-installed image and filesystem mounted at /mnt.
You can create a Conda environment with PyTorch and pack it to the filesystem.
The foo.tar.gz file contains the Conda environment.
Create a Job with Conda environment
You can then load the Conda environment in the job by adding the following command in the Run Command field during job creation. Make sure Conda is installed in the container image.
Once the job is created, you can view the job in the dashboard.