tensorflow / cloud

The TensorFlow Cloud repository provides APIs that will allow to easily go from debugging and training your Keras and TensorFlow code in a local environment to distributed training in the cloud.
https://github.com/tensorflow/cloud
Apache License 2.0
375 stars 88 forks source link

Add support to read AI Platform Notebooks metadata environment #246

Open gogasca opened 3 years ago

gogasca commented 3 years ago

As part of AI Platform Notebooks DLVM OS, when a user saves a Notebook (.ipynb) file, metadata is written to define image version/container. Provide ability of tensorflow-cloud to infer Metadata when passing container information if available to AI Platform.

{
    "environment": {
        "name": "tf2-2-3-gpu.2-3.m56",
        "type": "gcloud",
        "uri": "gcr.io/deeplearning-platform-release/tf2-2-3-gpu.2-3:m56"
    },
    "kernelspec": {
        "display_name": "Python 3",
        "language": "python",
        "name": "python3"
    },
    "language_info": {
        "codemirror_mode": {
            "name": "ipython",
            "version": 3
        },
        "file_extension": ".py",
        "mimetype": "text/x-python",
        "name": "python",
        "nbconvert_exporter": "python",
        "pygments_lexer": "ipython3",
        "version": "3.7.8"
    }
}