You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Framework processor creates an Estimator when uploading the code artifact (sourcedir.tar.gz) to S3. However when instantiating the estimator, the output_kms_key is not passed to the constructor (code)
def _upload_payload(
self,
entry_point: str,
source_dir: Optional[str],
dependencies: Optional[List[str]],
git_config: Optional[Dict[str, str]],
job_name: str,
) -> "sagemaker.estimator.Framework": # type: ignore[name-defined] # noqa: F821
"""Upload payload sourcedir.tar.gz to S3."""
# A new estimator instance is required, because each call to ScriptProcessor.run() can
# use different codes.
estimator = self._create_estimator(
entry_point=entry_point,
source_dir=source_dir,
dependencies=dependencies,
git_config=git_config,
)
estimator._prepare_for_training(job_name=job_name)
logger.info(
"Uploaded %s to %s",
estimator.source_dir,
estimator._hyperparameters["sagemaker_submit_directory"],
)
return estimator
If a customer has a bucket policy that requires a SSE with KMS, they are unable to use the Frameworkprocessor.
The text was updated successfully, but these errors were encountered:
Don't see how is this related to #3784 as that is for the Model not FrameworkProcessor. This issue is still not fixed and should be reopened. The fix is here
The Framework processor creates an Estimator when uploading the code artifact (sourcedir.tar.gz) to S3. However when instantiating the estimator, the output_kms_key is not passed to the constructor (code)
If a customer has a bucket policy that requires a SSE with KMS, they are unable to use the Frameworkprocessor.
The text was updated successfully, but these errors were encountered: