TensorPlay
Reference guides
Copy
View MarkdownDownload .md

tensorplay.hub

Loading models from Hub

tensorplay.hub.load

Unified model loader.

tensorplay.hub.download_url_to_file

Download a URL to a local file(Safe download: temp file + hash check + progress feedback).

tensorplay.hub.load_state_dict_from_url

Downloads a raw checkpoint URL and loads it (torch semantics).

Where are my downloaded models saved?

tensorplay.hub.get_dir

Get the TensorPlay Hub cache directory used for storing downloaded models & weights.

tensorplay.hub.set_dir

Optionally set the TensorPlay Hub directory used to save downloaded models & weights.

Ask DeepWiki