Skip to main content

A fast and intuitive tool for visualizing and analyzing model structures from safetensors files

Project description

TensorKiko

A fast and intuitive tool for visualizing and analyzing model structures from safetensors files, supporting tree-based visualizations and detailed parameter analysis.

Installation

Requirements

  • Python 3.11 or higher

Installation Methods

Using pip

To install TensorKiko with pip, run the following command:

pip install tensorkiko

Using Homebrew

To install TensorKiko using Homebrew, use the following commands:

brew tap takara-ai/tensorkiko https://github.com/takara-ai/TensorKiko
brew install tensorkiko

Usage

After installation, you can use TensorKiko from the command line to visualize your model:

tensorkiko path/to/your/model.safetensors

TensorKiko can also attempt to convert .ckpt files to .safetensors. However, conversion will only succeed if the .ckpt file is in a standard model format without unique code elements such as SQLite.

For more options, use the help command:

tensorkiko --help

Features

  • Load and process safetensors files
  • Generate interactive HTML visualizations of model structures
  • Analyze model parameters, memory usage, and estimated FLOPs
  • Search functionality for easy navigation of large models

Contributing

We welcome contributions! If you'd like to contribute, please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tensorkiko-0.1.7.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tensorkiko-0.1.7-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file tensorkiko-0.1.7.tar.gz.

File metadata

  • Download URL: tensorkiko-0.1.7.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for tensorkiko-0.1.7.tar.gz
Algorithm Hash digest
SHA256 33044e1abcafdf3e557c11d71a463182da07de2e69984df90fa22c6835b3be39
MD5 95ca2e87e6f984def5cdfecd09dafac1
BLAKE2b-256 33a6acc39a3e3ecfc6fef49b70efab08b26408900d734d602358e94fd62d5236

See more details on using hashes here.

File details

Details for the file tensorkiko-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: tensorkiko-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for tensorkiko-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 115179771b33cfcc96142cc19db982f8b7a5994bfa4ee2d1a47f8e6144c93248
MD5 0fe80aade062b79afd85fbeb9f2fcc0d
BLAKE2b-256 43890f822385507ed115962661ad928cec55a625733d315b9f596fd5dec08a3e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page