Skip to content

Estimator environment variables are not passed to entry point script when using HyperparameterTuner #2618

@yuntan

Description

@yuntan

Describe the bug
Environment variables specified at Estimator class are not passed to the entry point script when running jobs by HyperparameterTune class.

To reproduce
Dummy entry point script and notebook running sagemaker SDK

Expected behavior
Training jobs run without failure and HyperParameterTuning job finishes without error.

Screenshots or logs
Logs is shown in above link.

System information

  • SageMaker Python SDK version: 2.59.1 (local)
  • Framework name (eg. PyTorch) or algorithm (eg. KMeans): TensorFlow
  • Framework version: 2.4.1
  • Python version: 3.9.4 (local)
  • CPU or GPU: CPU
  • Custom Docker image (Y/N): N

related: #2311

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions