File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
bin/sagemaker-containers/pytorch/1.1.0 Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 23
23
cd bin/sagemaker-containers/pytorch/1.1.0/
24
24
cp ~ /sagemaker-pytorch-container/dist/sagemaker_pytorch_container-* .whl .
25
25
cp -r ~ /sagemaker-pytorch-container/lib .
26
+ export SM_BINARY=` ls sagemaker_pytorch_container-* .whl`
26
27
27
- export TORNASOLE_BINARY_PATH=s3://tornasole-binaries-use1/tornasole_mxnet /py3/latest
28
+ export TORNASOLE_BINARY_PATH=s3://tornasole-binaries-use1/tornasole_pytorch /py3/latest
28
29
aws s3 sync $TORNASOLE_BINARY_PATH tornasole-binary
29
30
cp tornasole-binary/* .whl .
30
31
export TORNASOLE_BINARY=` ls tornasole-* .whl`
31
32
32
33
export ECR_REPO_NAME=tornasole-preprod-pytorch-1.1.0-gpu
33
34
docker build -t $ECR_REPO_NAME :$ECR_TAG_NAME --build-arg py_version=3 \
34
35
--build-arg tornasole_framework_installable=$TORNASOLE_BINARY \
36
+ --build-arg framework_support_installable=$SM_BINARY \
35
37
-f Dockerfile.gpu .
36
38
tag_and_push
37
39
38
40
export ECR_REPO_NAME=tornasole-preprod-pytorch-1.1.0-cpu
39
41
docker build -t $ECR_REPO_NAME :$ECR_TAG_NAME --build-arg py_version=3 \
40
42
--build-arg tornasole_framework_installable=$TORNASOLE_BINARY \
43
+ --build-arg framework_support_installable=$SM_BINARY \
41
44
-f Dockerfile.cpu .
42
- tag_and_push
45
+ tag_and_push
You can’t perform that action at this time.
0 commit comments