1回答
- 新しい順
- 投票が多い順
- コメントが多い順
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.
関連するコンテンツ
- AWS公式更新しました 8ヶ月前