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

[Feature Request] TensorBoardOutputConfig local output path #560

Open
austinmw opened this issue Mar 9, 2022 · 0 comments
Open

[Feature Request] TensorBoardOutputConfig local output path #560

austinmw opened this issue Mar 9, 2022 · 0 comments

Comments

@austinmw
Copy link

austinmw commented Mar 9, 2022

Hi, I really wish I could use TensorBoardOutputConfig when my SageMaker Estimator instance type is local or local_gpu.

This could be accomplished by either or both of:

  • Enabling streaming to s3 when running local mode jobs
  • Enabling a local output path instead of an s3 output path, for example:
from sagemaker.debugger import TensorBoardOutputConfig

instance_type = 'local_gpu'

tb_output_path = "file:///local/path/to/stream/tensorboard/files/to"

tensorboard_output_config = TensorBoardOutputConfig(
   # and rename s3_output_path to output_path?
    output_path=tb_output_path,
    container_local_output_path='/tensorboard'
)

This would make it possible to perform local debugging of tensorboard logging code within my sagemaker scripts. Without local debugging, writing tensorboard logging code for sagemaker jobs can be a very slow process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant