tensorflow / tensorflow/cloud

Add support to read AI Platform Notebooks metadata environment

Open
#246 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
383
Forks
93
Avg merge
1d 3h
Merged PRs (30d)
1

Description

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"
    }
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating tensorflow-cloud's handling of container information and the path that receives a .ipynb file, then compare it with the AI Platform Notebooks metadata example in the issue. Done means available environment metadata can be inferred when present and existing behavior remains unchanged when it is absent.

Written by the indexing model from the issue text.

Assessment

Tech stack
gcp, jupyter-notebook, python
Domain
backend, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.