aws / aws/sagemaker-python-sdk

Specifiy code upload location for processing jobs

Offen
#1,973 2 Kommentare 2 Reaktionen 1 zugewiesene Person Beansprucht von @mollyheamazon Auf GitHub ansehen
component: processing contributions welcome type: feature request
Vorherrschende Sprache
Python
Sterne
2.3k
Forks
1.3k
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
35

Beschreibung

**Describe the feature you'd like**
For estimators that are based on the `Framework` class and upload local code, it is possible to provide a `code_location` argument that specifies the location of the uploaded code. This helps to avoid cluttering the root "directory" of the s3 bucket because everything can go under a prefix/directory of choice. The same should be possible for processing jobs.

**How would this feature be used? Please describe.**
The developer provides a `code_location` argument when instantiating the `ScriptProcessor`. The value of that argument is then put in between bucket and job name when creating the upload path. By default the value can be empty, meaning there is no breaking change necessary and this can be released anytime.

**Describe alternatives you've considered**
It would be best to align this with how it is done for training jobs, so the above solution should work out fine.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.