Skip to content

Support environment variable S3_ENDPOINT in tensorboard without tensorflow #3014

@lgeo3

Description

@lgeo3

When using tensorboard with tensorflow installed, we are able to set the s3_endpoint using S3_ENDPOINT environment variable. It is particularly usefull when running a local s3 instance like minio.

But when using the tensorboard package (without tensorflow), it uses the boto3 client, and don't use the S3_ENDPOINT variable.

A simple modification would be to replace boto3.client/session call with the same call but with the parameter: endpoint_url=os.environ.get('S3_ENDPOINT', None)

What do you think ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions