Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SageMaker Training Backend #3140

Merged
merged 13 commits into from
Dec 16, 2023
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,21 +113,15 @@ retina_archive_structures:
bash -c "python manage.py runscript create_retina_archive_structures"


scripts/algorithm_io.tar:
docker buildx build --platform linux/amd64 -t algorithm_io app/tests/resources/gc_demo_algorithm/
docker save algorithm_io -o scripts/algorithm_io.tar
chmod a+r scripts/algorithm_io.tar


algorithm_evaluation_fixtures: scripts/algorithm_io.tar
algorithm_evaluation_fixtures:
docker compose run \
-v $(shell readlink -f ./scripts/):/app/scripts:ro \
--rm \
web \
python manage.py runscript algorithm_evaluation_fixtures


cost_fixtures: scripts/algorithm_io.tar
cost_fixtures:
docker compose run \
-v $(shell readlink -f ./scripts/):/app/scripts:ro \
--rm \
Expand Down
3 changes: 3 additions & 0 deletions app/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,9 @@
COMPONENTS_DOCKER_TASK_AWS_SECRET_ACCESS_KEY = os.environ.get(
"COMPONENTS_DOCKER_TASK_AWS_SECRET_ACCESS_KEY", "componentstask123"
)
COMPONENTS_DOCKER_KEEP_CAPS_UNSAFE = strtobool(
os.environ.get("COMPONENTS_DOCKER_KEEP_CAPS_UNSAFE", "False")
)
COMPONENTS_PUBLISH_PORTS = strtobool(
os.environ.get("COMPONENTS_PUBLISH_PORTS", "False")
)
Expand Down
Loading