aws-samples / amazon-sagemaker-local-mode

Amazon SageMaker Local Mode Examples
MIT No Attribution
242 stars 59 forks source link

Fix code locality in XGBoost example #17

Closed alar0330 closed 2 years ago

alar0330 commented 2 years ago

Description of changes: Despite using Local Mode to train and deploy an XGBoost locally, the current example performs 3 round trips to S3 and back along the way (training script upload/download, trained model artifact upload/download, and inference script upload/download). This PR ensure full code locality of this code sample -- no S3 resources are involved at all.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.