-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added autogluon v0.0.14 support, changed the build method (#1640)
* added autogluon v0.0.14 support, changed the build method * changed the bash execution Co-authored-by: Eric Johnson <[email protected]>
- Loading branch information
1 parent
633fcf1
commit 84d8d37
Showing
5 changed files
with
8 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
advanced_functionality/autogluon-tabular/container-inference/Dockerfile.inference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
ARG REGISTRY_URI | ||
FROM ${REGISTRY_URI}/mxnet-inference:1.6.0-cpu-py3 | ||
|
||
RUN pip install --upgrade pip | ||
|
||
COPY package/ /opt/ml/code/package/ | ||
RUN pip install autogluon | ||
RUN pip install PrettyTable | ||
|
||
# Defines inference.py as script entrypoint | ||
ENV SAGEMAKER_PROGRAM inference.py |
6 changes: 3 additions & 3 deletions
6
advanced_functionality/autogluon-tabular/container-training/Dockerfile.training
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
ARG REGISTRY_URI | ||
FROM ${REGISTRY_URI}/mxnet-training:1.6.0-cpu-py3 | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install autogluon | ||
RUN pip install PrettyTable | ||
ENV PATH="/opt/ml/code:${PATH}" | ||
|
||
# Copies the training code inside the container | ||
COPY package/ /opt/ml/code/package/ | ||
COPY container-training/train.py /opt/ml/code/train.py | ||
COPY container-training/inference.py /opt/ml/code/inference.py | ||
|
||
# this environment variable is used by the SageMaker PyTorch container to determine our user code directory. | ||
ENV SAGEMAKER_SUBMIT_DIRECTORY /opt/ml/code | ||
|
||
# Defines train.py as script entrypoint | ||
ENV SAGEMAKER_PROGRAM train.py | ||
ENV SAGEMAKER_PROGRAM train.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters