tpu

module
v0.0.0-...-c3186a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0

README

Cloud TPUs

This repository is a collection of reference models and tools used with Cloud TPUs.

The fastest way to get started training a model on a Cloud TPU is by following the tutorial. Click the button below to launch the tutorial using Google Cloud Shell.

Open in Cloud Shell

Note: This repository is a public mirror, pull requests will not be accepted. Please file an issue if you have a feature or bug request.

Running Models

To run models in the models subdirectory, you may need to add the top-level /models folder to the Python path with the command:

export PYTHONPATH="$PYTHONPATH:/path/to/models"

Directories

Path Synopsis
tools
ctpu
Package main contains the ctpu main program.
Package main contains the ctpu main program.
ctpu/commands
Package commands contains commands available to ctpu users.
Package commands contains commands available to ctpu users.
ctpu/config
Package config contains common configuration to all commands & control abstractions.
Package config contains common configuration to all commands & control abstractions.
ctpu/ctrl
Package ctrl contains simplified abstractions for interacting with Cloud APIs.
Package ctrl contains simplified abstractions for interacting with Cloud APIs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL