1 Answer
- Newest
- Most votes
- Most comments
0
Modifying the pip.config file within a SageMaker pre-built Docker image for dependency management isn't recommended. These images are designed for a specific environment and modifying them could lead to compatibility issues.
Here's a recommended approach to achieve your goal:
- Create a custom Docker image that inherits from the SageMaker base image.
- In your custom image, copy your pip.config file and set the PIP_CONFIG_FILE environment variable pointing to the copied file's location.
- Install your required Python packages using pip install within your custom image.
- Push the custom image to your container registry.
- Use this custom image for your SageMaker training jobs.
Relevant content
- asked a year ago
- asked 3 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago