1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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.
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos