Skip to main content

AWS Neuron plugins for viztracer

Project description

VizNeuron

VizTracer plugins for AWS Neuron. It is inspired by the official VizTracer plugings: vizplugins.

Features

VizNeuron currently only supports memory usage tracing via Neuron Sysfs Filesystem.

Install

The preferred way to install VizNeuron is via pip:

git clone git@github.com:clumsy/vizneuron.git && cd vizneuron
pip install -e .

Basic Usage

VizNeuron should be used with VizTracer.

You can use VizNeuron and the plugin via command line:

viztracer --plugin vizneuron.memory_usage -- my_script.py arg1 arg2

Or equivalent syntax:

viztracer --plugin "vizneuron --memory_usage" -- my_script.py arg1 arg2

You can also add the plugin to VizTracer programmatically as described in the official documentation.

Finally, VizNeuron provides a PyTorch Lightning Callback that can be used as part of model training.

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

vizneuron-0.0.1.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

vizneuron-0.0.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file vizneuron-0.0.1.tar.gz.

File metadata

  • Download URL: vizneuron-0.0.1.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for vizneuron-0.0.1.tar.gz
Algorithm Hash digest
SHA256 75931efba950df42bcf942149feb808e3b793bde406a151b371ae851e0269c62
MD5 936264cf3cd1cf2e601dcc26003fa0c2
BLAKE2b-256 aa063c3d7823078a22dab8ab92adcb11d20035464a92188a14d4408297e286b6

See more details on using hashes here.

File details

Details for the file vizneuron-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: vizneuron-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for vizneuron-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5ecbd61400fa61a1ca02f2d316a2b16088f64f57fee14d60059f75166066a07
MD5 d9814e4a3e2bdcd4ef636f70e7bbdd55
BLAKE2b-256 3ab7b62ed36c7302733cfef76c3600a771dbdbe1431bafd232e4fbd5365e7d7a

See more details on using hashes here.

Supported by

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