title stringlengths 0 125 | url stringlengths 67 206 | markdown stringlengths 55 86.1k | html stringlengths 198 350k | crawlDate stringlengths 24 24 |
|---|---|---|---|---|
Running Neuron Apache MXNet (Incubating) ResNet50 on Inferentia — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/src/examples/mxnet/resnet50/resnet50.html | # Running Neuron Apache MXNet (Incubating) ResNet50 on Inferentia — AWS Neuron Documentation
## Contents
- [Introduction:](#Introduction:)
- [Warning](#Warning)
- [Compile model on Neuron](#Compile-model-on-Neuron)
- [Deploy on Inferentia](#Deploy-on-Inferentia)
## Running Neuron Apache MXNet (Incubating... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Running Neuron Apache MXNet (Incubating) ResNet50 on Inferentia — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../... | 2023-09-29T20:54:55.001Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/mxnet-neuron/mxnet-neuron.rst.txt | ```
.. _mxnet-neuron-rn:
Apache MXNet Neuron (Incubating) Release Notes
==============================================
.. contents:: Table of contents
:local:
:depth: 1
This document lists the release notes for MXNet-Neuron framework.
Apache MXNet Neuron release [1.8.0.2.4.10.0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _mxnet-neuron-rn:
Apache MXNet Neuron (Incubating) Release Notes
==============================================
.. contents:: Table of contents
:local:
:depth: 1
This document ... | 2023-09-29T20:54:55.062Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/transformers-neuronx/setup/index.rst.txt | ```
.. _transformers-neuronx-setup:
Transformers Neuron Setup (``transformers-neuronx``)
====================================================
To install the most rigorously tested stable release, use the PyPI pip wheel:
::
pip install transformers-neuronx --extra-index-url=https://pip.repos.neuron.amazonaws.co... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _transformers-neuronx-setup:
Transformers Neuron Setup (``transformers-neuronx``)
====================================================
To install the most rigorously tested stable rel... | 2023-09-29T20:54:55.068Z | |
Using Data Parallel Mode with Gluon MXNet — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/src/examples/mxnet/data_parallel/data_parallel_tutorial.html | # Using Data Parallel Mode with Gluon MXNet — AWS Neuron Documentation
## Using Data Parallel Mode with Gluon MXNet[#](#Using-Data-Parallel-Mode-with-Gluon-MXNet "Permalink to this headline")
In this tutorial, you will compile a Gluon BERT model and run in data-parallel mode to completely utilize the NeuronCores. Her... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Using Data Parallel Mode with Gluon MXNet — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../../_static/styles/t... | 2023-09-29T20:54:55.257Z |
Neuron Apache MXNet (Incubating) - Configurations for NeuronCore Groups Using Resnet50 — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/src/examples/mxnet/resnet50_neuroncore_groups.html | # Neuron Apache MXNet (Incubating) - Configurations for NeuronCore Groups Using Resnet50 — AWS Neuron Documentation
## Contents
- [Introduction:](#Introduction:)
- [Compile model for Neuron](#Compile-model-for-Neuron)
- [Run inference using NeuronCore Groups](#Run-inference-using-NeuronCore-Groups)
- [Tro... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Neuron Apache MXNet (Incubating) - Configurations for NeuronCore Groups Using Resnet50 — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -... | 2023-09-29T20:54:55.401Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/transformers-neuronx/developer-guide.rst.txt | ```
.. _tn_developer_guide:
Transformers Neuron Developer Guide (``transformers-neuronx``)
==============================================================
.. toctree::
:maxdepth: 1
:hidden:
/libraries/transformers-neuronx/transformers-neuronx-developer-guide
.. include:: /libraries/transformers-neuronx/... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tn_developer_guide:
Transformers Neuron Developer Guide (``transformers-neuronx``)
==============================================================
.. toctree::
:maxdepth: 1
:hi... | 2023-09-29T20:54:55.862Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/transformers-neuronx/transformers-neuronx-tutorials.rst.txt | ```
.. _transformers_neuronx_tutorials:
Transformers Neuron Tutorials (``transformers-neuronx``)
========================================================
.. toctree::
:maxdepth: 1
:hidden:
Hugging Face meta-llama/Llama-2-13b autoregressive sampling on Inf2 & Trn1 <https://github.com/aws-neuron/aws-neuron... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _transformers_neuronx_tutorials:
Transformers Neuron Tutorials (``transformers-neuronx``)
========================================================
.. toctree::
:maxdepth: 1
:hi... | 2023-09-29T20:54:55.951Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/index.rst.txt | ```
.. _neuronx-distributed-index:
Neuron Distributed
===================
Neuron Distributed is a package for supporting different distributed
training/inference mechanism for Neuron devices. It would provide xla
friendly implementations of some of the more popular distributed
training/inference techniques. As the si... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx-distributed-index:
Neuron Distributed
===================
Neuron Distributed is a package for supporting different distributed
training/inference mechanism for Neuron devices.... | 2023-09-29T20:54:56.040Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/developer-guide.rst.txt | ```
.. _neuronx_distributed_developer_guide
Developer Guide (``neuronx-distributed`` )
==========================================
.. toctree::
:maxdepth: 1
:hidden:
/libraries/neuronx-distributed/tp_developer_guide
.. include:: /libraries/neuronx-distributed/developer-guide.txt
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx_distributed_developer_guide
Developer Guide (``neuronx-distributed`` )
==========================================
.. toctree::
:maxdepth: 1
:hidden:
/librarie... | 2023-09-29T20:54:56.145Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/tp_developer_guide.rst.txt | ```
.. _tp_developer_guide:
Developer guide for Tensor Parallelism (``neuronx-distributed`` )
=================================================================
Training
^^^^^^^^
For training models with tensor-parallelism, one would have to make few
changes to their model/training script. Below we walk through the
d... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tp_developer_guide:
Developer guide for Tensor Parallelism (``neuronx-distributed`` )
=================================================================
Training
^^^^^^^^
For training... | 2023-09-29T20:54:56.190Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/tutorials/index.rst.txt | ```
.. _tp_tutorials:
Tutorials for Neuron Distributed (``neuronx-distributed`` )
============================================================
.. toctree::
:maxdepth: 1
:hidden:
Training using Tensor Parallelism </libraries/neuronx-distributed/tutorials/training>
Training GPT-NeoX 6.9B using ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tp_tutorials:
Tutorials for Neuron Distributed (``neuronx-distributed`` )
============================================================
.. toctree::
:maxdepth: 1
:hidden:
... | 2023-09-29T20:54:56.227Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/transformers-neuronx/transformers-neuronx-misc.rst.txt | ```
.. _transformers-neuronx-misc:
Misc (``transformers-neuronx``)
===============================
.. toctree::
:maxdepth: 1
:hidden:
/release-notes/torch/transformers-neuronx/index
.. include:: /libraries/transformers-neuronx/transformers-neuronx-misc.txt
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _transformers-neuronx-misc:
Misc (``transformers-neuronx``)
===============================
.. toctree::
:maxdepth: 1
:hidden:
/release-notes/torch/transformers-neuronx/in... | 2023-09-29T20:54:56.327Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/api_guide.rst.txt | ```
.. _api_guide:
API Reference Guide (``neuronx-distributed`` )
======================================================================
Neuronx-Distributed is XLA based library for distributed training and inference.
As part of this library, currently we support 2D parallelism: Tensor-Parallelism
and DataParallelis... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _api_guide:
API Reference Guide (``neuronx-distributed`` )
======================================================================
Neuronx-Distributed is XLA based library for distribut... | 2023-09-29T20:54:56.355Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/tensor_parallelism_overview.rst.txt | ```
.. _tensor_parallelism_overview:
Tensor Parallelism Overview
===========================
Tensor Parallelism is a technique in which a tensor is split into N
chunks along a particular dimension such that each device only holds 1/N
chunk of the tensor. Computation is performed using this partial chunk
so as to get... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tensor_parallelism_overview:
Tensor Parallelism Overview
===========================
Tensor Parallelism is a technique in which a tensor is split into N
chunks along a particular dim... | 2023-09-29T20:54:56.406Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/setup/index.rst.txt | ```
.. _neuronx_distributed_setup:
Neuron Distributed Setup (``neuronx-distributed``)
==================================================
:ref:`Install PyTorch Neuron on Trn1 <setup-torch-neuronx>` to create a pytorch environment. It is recommended to work out of python
virtual env so as to avoid package installation ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx_distributed_setup:
Neuron Distributed Setup (``neuronx-distributed``)
==================================================
:ref:`Install PyTorch Neuron on Trn1 <setup-torch-n... | 2023-09-29T20:54:56.412Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/torch/transformers-neuronx/index.rst.txt | ```
.. _OPT: https://huggingface.co/docs/transformers/model_doc/opt
.. _GPT2: https://huggingface.co/docs/transformers/model_doc/gpt2
.. _GPT-J: https://huggingface.co/docs/transformers/model_doc/gptj
.. _Tensor-parallelism-support: https://github.com/aws-neuron/transformers-neuronx/blob/main/README.md#tensor-paralleli... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _OPT: https://huggingface.co/docs/transformers/model_doc/opt
.. _GPT2: https://huggingface.co/docs/transformers/model_doc/gpt2
.. _GPT-J: https://huggingface.co/docs/transformers/model_d... | 2023-09-29T20:54:56.422Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/transformers-neuronx/transformers-neuronx-developer-guide.rst.txt | ```
.. _transformers_neuronx_developer_guide:
Transformers Neuron (``transformers-neuronx``) Developer Guide
==============================================================
Transformers Neuron for Trn1 and Inf2 is a software package that enables
PyTorch users to perform large language model (LLM) :ref:`performant infe... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _transformers_neuronx_developer_guide:
Transformers Neuron (``transformers-neuronx``) Developer Guide
==============================================================
Transformers Neuron... | 2023-09-29T20:54:56.435Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/api-reference-guide.rst.txt | ```
.. _neuronx_distributed_api_guide
App Reference Guide (``neuronx-distributed`` )
====================================
.. toctree::
:maxdepth: 1
:hidden:
/libraries/neuronx-distributed/api_guide
.. include:: /libraries/neuronx-distributed/api-reference-guide.txt
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx_distributed_api_guide
App Reference Guide (``neuronx-distributed`` )
====================================
.. toctree::
:maxdepth: 1
:hidden:
/libraries/neuron... | 2023-09-29T20:54:56.444Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/tutorials/training-gpt-neox.rst.txt | ```
.. _gpt_neox_tp_zero1_tutorial:
Training GPT-NeoX 6.9B with Tensor Parallelism and ZeRO-1 Optimizer (``neuronx-distributed`` )
=========================================================================================
In this section, we showcase to pretrain a GPT-NeoX 6.9B model by using tensor parallelism
and ze... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _gpt_neox_tp_zero1_tutorial:
Training GPT-NeoX 6.9B with Tensor Parallelism and ZeRO-1 Optimizer (``neuronx-distributed`` )
=============================================================... | 2023-09-29T20:54:56.479Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/neuronx-distributed-misc.rst.txt | ```
Misc (``neuronx-distributed``)
===============================
.. toctree::
:maxdepth: 1
:hidden:
/release-notes/neuronx-distributed/neuronx-distributed
.. include:: /libraries/neuronx-distributed/neuronx-distributed-misc.txt
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Misc (``neuronx-distributed``)
===============================
.. toctree::
:maxdepth: 1
:hidden:
/release-notes/neuronx-distributed/neuronx-distributed
.. include:: /lib... | 2023-09-29T20:54:56.511Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/app_notes.rst.txt | ```
.. _neuronx_distributed_appnotes:
App Notes (``neuronx-distributed`` )
====================================
.. toctree::
:maxdepth: 1
:hidden:
/libraries/neuronx-distributed/tensor_parallelism_overview
.. include:: /libraries/neuronx-distributed/app_notes.txt
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx_distributed_appnotes:
App Notes (``neuronx-distributed`` )
====================================
.. toctree::
:maxdepth: 1
:hidden:
/libraries/neuronx-distributed/... | 2023-09-29T20:54:56.533Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/neuronx-distributed/neuronx-distributed.rst.txt | ```
.. _neuronx-distributed-rn:
Neuron Distributed Release Notes (``neuronx-distributed``)
==========================================================
.. contents:: Table of contents
:local:
:depth: 1
This document lists the release notes for Neuronx-Distributed library.
Neuron Distributed [0.4.0]
^^^^^^^^^^^... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx-distributed-rn:
Neuron Distributed Release Notes (``neuronx-distributed``)
==========================================================
.. contents:: Table of contents
:loca... | 2023-09-29T20:54:56.556Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/src/examples/pytorch/neuronx_distributed/t5-inference/t5-inference-tutorial.ipynb.txt | ```
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# T5 inference with Tensor Parallelism"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This is an extension to the [t5 inference tutorial](https://awsdocs-neuron.readthedocs-hosted.com/en/latest/s... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# T5 inference with Tensor Parallelism"
]
},
{
"cell_type": "markdown",
"metadata": {},
... | 2023-09-29T20:54:56.604Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-runtime/api-reference-guide.rst.txt | ```
API Reference Guide
===================
.. toctree::
:maxdepth: 1
Runtime API </neuron-runtime/nrt-api-guide>
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">API Reference Guide
===================
.. toctree::
:maxdepth: 1
Runtime API </neuron-runtime/nrt-api-guide></pre></body></html> | 2023-09-29T20:54:56.715Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/tutorials/training.rst.txt | ```
.. _tp_training_tutorial:
Training with Tensor Parallelism (``neuronx-distributed`` )
===========================================================
Keeping the above changes made in :ref:`Developer guide <tp_developer_guide>`, let’s now run an end-to-end training
with tensor-parallelism. This section is adopted fro... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tp_training_tutorial:
Training with Tensor Parallelism (``neuronx-distributed`` )
===========================================================
Keeping the above changes made in :ref:`D... | 2023-09-29T20:54:56.734Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/nemo-megatron/index.rst.txt | ```
.. _nemo-megatron-index:
AWS Neuron Reference for NeMo Megatron
======================================
AWS Neuron Reference for NeMo Megatron is a library that includes modified versions of the open-source packages `NeMo <https://github.com/NVIDIA/NeMo>`_ and `Apex <https://github.com/NVIDIA/apex>`_ that have bee... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _nemo-megatron-index:
AWS Neuron Reference for NeMo Megatron
======================================
AWS Neuron Reference for NeMo Megatron is a library that includes modified versions ... | 2023-09-29T20:54:56.843Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/tutorials/inference.rst.txt | ```
.. _tp_inference_tutorial:
Inference with Tensor Parallelism (``neuronx-distributed``) [Experimental]
===========================================================================
Before we start, let's install transformers.
.. code:: ipython3
pip install transformers==4.26.0
For running model inference, we ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tp_inference_tutorial:
Inference with Tensor Parallelism (``neuronx-distributed``) [Experimental]
===========================================================================
Before we... | 2023-09-29T20:54:56.896Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/neuronx-distributed/tutorials/training-gpt-neox-20b.rst.txt | ```
.. _gpt_neox_20b_tp_zero1_tutorial:
Training GPT-NeoX 20B with Tensor Parallelism and ZeRO-1 Optimizer (``neuronx-distributed`` )
=========================================================================================
In this section, we showcase to pretrain a GPT-NeoX 20B model by using the sequence parallel o... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _gpt_neox_20b_tp_zero1_tutorial:
Training GPT-NeoX 20B with Tensor Parallelism and ZeRO-1 Optimizer (``neuronx-distributed`` )
==========================================================... | 2023-09-29T20:54:56.923Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-runtime/nrt-troubleshoot.rst.txt | ```
.. _nrt-troubleshooting:
Neuron Runtime Troubleshooting on Inf1, Inf2 and Trn1
=====================================================
This document aims to provide more information on how to fix issues you
might encounter while using the Neuron Runtime 2.x or above. For each
issue we will provide an explanation of... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _nrt-troubleshooting:
Neuron Runtime Troubleshooting on Inf1, Inf2 and Trn1
=====================================================
This document aims to provide more information on how ... | 2023-09-29T20:54:56.997Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-runtime/index.rst.txt | ```
.. _neuron_runtime:
Neuron Runtime
==============
Neuron runtime consists of kernel driver and C/C++ libraries which provides APIs to access Inferentia and Trainium Neuron devices. The Neuron ML frameworks plugins for TensorFlow, PyTorch and Apache MXNet use the Neuron runtime to load and run models on the Neuron... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron_runtime:
Neuron Runtime
==============
Neuron runtime consists of kernel driver and C/C++ libraries which provides APIs to access Inferentia and Trainium Neuron devices. The Ne... | 2023-09-29T20:54:57.077Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-runtime/faq.rst.txt | ```
.. _neuron-runtime-faq:
Neuron runtime FAQ
==================
.. contents:: Table of Contents
:local:
:depth: 1
Where can I find information about Neuron Runtime 2.x (``libnrt.so``)
---------------------------------------------------------------------
See :ref:`introduce-libnrt` for detailed information ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-runtime-faq:
Neuron runtime FAQ
==================
.. contents:: Table of Contents
:local:
:depth: 1
Where can I find information about Neuron Runtime 2.x (``libnrt.so`... | 2023-09-29T20:54:57.094Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-runtime/nrt-api-guide.rst.txt | ```
.. _nrt-api-guide:
Developer's Guide - Neuron Runtime
==================================
.. contents:: Table of contents
:local:
:depth: 3
Introduction
------------
This guide is intended to support a deeper understanding of the Neuron Runtime and how ML applications are built using the Runtime APIs dire... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _nrt-api-guide:
Developer's Guide - Neuron Runtime
==================================
.. contents:: Table of contents
:local:
:depth: 3
Introduction
------------
This guide is... | 2023-09-29T20:54:57.164Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-runtime/nrt-configurable-parameters.rst.txt | ```
.. _nrt-configuration:
Neuron Runtime Configuration
============================
Neuron Runtime is responsible for executing ML models on Neuron Devices. Neuron Runtime determines which NeuronCore will execute which model and how to execute it.
Configuration of the Neuron Runtime is controlled through the use of... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _nrt-configuration:
Neuron Runtime Configuration
============================
Neuron Runtime is responsible for executing ML models on Neuron Devices. Neuron Runtime determines which ... | 2023-09-29T20:54:57.244Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/compiler/neuronx-cc.rst.txt | ```
.. _neuronx-cc-index:
Neuron Compiler for Trn1 & Inf2
===============================
.. toctree::
:maxdepth: 1
API Reference Guide </compiler/neuronx-cc/api-reference-guide>
Developer Guide </compiler/neuronx-cc/developer-guide>
Misc </compiler/neuronx-cc/misc-neuronx-cc>
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx-cc-index:
Neuron Compiler for Trn1 & Inf2
===============================
.. toctree::
:maxdepth: 1
API Reference Guide </compiler/neuronx-cc/api-reference-gui... | 2023-09-29T20:54:57.591Z | |
TensorFlow Tutorials — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/frameworks/tensorflow/tensorflow-neuron/tutorials/index.html#tensorflow-tutorials | # TensorFlow Tutorials — AWS Neuron Documentation
Toggle in-page Table of Contents
Contents
- [Before running a tutorial](#before-running-a-tutorial)
- [Computer Vision](#computer-vision)
- [Natural Language Processing](#natural-language-processing)
- [Utilizing Neuron Capabilities](#utilizing-neuron-capabil... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TensorFlow Tutorials — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../../_static/styles/theme.css?digest=19995... | 2023-09-29T20:54:57.665Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-runtime/configuration-guide.rst.txt | ```
Configuration Guide
===================
.. toctree::
:maxdepth: 1
Runtime Configuration </neuron-runtime/nrt-configurable-parameters>
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Configuration Guide
===================
.. toctree::
:maxdepth: 1
Runtime Configuration </neuron-runtime/nrt-configurable-parameters></pre></body></html> | 2023-09-29T20:54:57.699Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/runtime/aws-neuronx-runtime-lib/index.rst.txt | ```
.. _neuron-runtime-rn:
Neuron Runtime Release Notes
============================
Neuron Runtime consists of a kernel mode driver and C/C++ libraries which provides APIs to access Neuron Devices. The runtime itself (libnrt.so) is integrated into the ML frameworks for simplicity of deployment. The Neuron Runtime su... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-runtime-rn:
Neuron Runtime Release Notes
============================
Neuron Runtime consists of a kernel mode driver and C/C++ libraries which provides APIs to access Neuron D... | 2023-09-29T20:54:57.711Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/compiler/neuronx-cc/api-reference-guide.rst.txt | ```
API Reference Guide
===================
.. toctree::
:maxdepth: 1
Neuron Compiler CLI Reference Guide </compiler/neuronx-cc/api-reference-guide/neuron-compiler-cli-reference-guide>
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">API Reference Guide
===================
.. toctree::
:maxdepth: 1
Neuron Compiler CLI Reference Guide </compiler/neuronx-cc/api-reference-guide/neuron-compiler-cli-reference-gu... | 2023-09-29T20:54:57.723Z | |
Get Started with PyTorch Neuron — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/general/quick-start/torch-neuron.html#torch-quick-start | # Get Started with PyTorch Neuron — AWS Neuron Documentation
_This document is relevant for_: `Inf1`, `Inf2`, `Trn1`, `Trn1n`
## Get Started with PyTorch Neuron[#](#get-started-with-pytorch-neuron "Permalink to this headline")
This page provide links that will assist you to quickly start with [PyTorch Neuron](../../... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Get Started with PyTorch Neuron — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../_static/styles/theme.css?digest=... | 2023-09-29T20:54:57.790Z |
Neuron Apache MXNet (Incubating) Tutorials — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/frameworks/mxnet-neuron/tutorials/index.html#mxnet-tutorials | # Neuron Apache MXNet (Incubating) Tutorials — AWS Neuron Documentation
Toggle in-page Table of Contents
Contents
- [Before running a tutorial](#before-running-a-tutorial)
- [Computer Vision](#computer-vision)
- [Natural Language Processing](#natural-language-processing)
- [Utilizing Neuron Capabilities](#ut... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Neuron Apache MXNet (Incubating) Tutorials — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../_static/styles/the... | 2023-09-29T20:54:57.985Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/compiler/neuronx-cc/misc-neuronx-cc.rst.txt | ```
Misc (neuronx-cc)
=================
.. toctree::
:maxdepth: 1
FAQ </compiler/neuronx-cc/faq>
What's New </release-notes/compiler/neuronx-cc/index>
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Misc (neuronx-cc)
=================
.. toctree::
:maxdepth: 1
FAQ </compiler/neuronx-cc/faq>
What's New </release-notes/compiler/neuronx-cc/index>
</pre></body></h... | 2023-09-29T20:54:57.992Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/compiler/index.rst.txt | ```
.. _neuron_cc:
Neuron Compiler
===============
The Neuron Compiler accepts Machine Learning models in various formats (TensorFlow, MXNet, PyTorch, XLA HLO) and optimizes them to run on Neuron devices.
The Neuron compiler is invoked within the ML framework, where ML models are sent to
the compiler by the Neuron F... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron_cc:
Neuron Compiler
===============
The Neuron Compiler accepts Machine Learning models in various formats (TensorFlow, MXNet, PyTorch, XLA HLO) and optimizes them to run on Ne... | 2023-09-29T20:54:58.002Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/compiler/neuronx-cc/faq.rst.txt | ```
.. _neuronx_compiler_faq:
Neuron Compiler FAQ (``neuronx-cc``)
====================================
.. contents:: Table of contents
:local:
:depth: 1
Where can I compile to Neuron?
---------------------------------
The one-time compilation step from the standard framework-level model to
NEFF binary may be... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx_compiler_faq:
Neuron Compiler FAQ (``neuronx-cc``)
====================================
.. contents:: Table of contents
:local:
:depth: 1
Where can I compile to Neuron?... | 2023-09-29T20:54:58.082Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/runtime/aws-neuronx-dkms/index.rst.txt | ```
.. _neuron-driver-release-notes:
Neuron Driver Release Notes
===========================
.. contents:: Table of contents
:local:
:depth: 1
Known issues
------------
Updated : 04/29/2022
- In rare cases of multi-process applications running under heavy stress a model load failure my occur. This may requi... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-driver-release-notes:
Neuron Driver Release Notes
===========================
.. contents:: Table of contents
:local:
:depth: 1
Known issues
------------
Updated : 04/... | 2023-09-29T20:54:58.090Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/runtime/aws-neuronx-collectives/index.rst.txt | ```
.. _neuron-collectives-rn:
Neuron Collectives Release Notes
================================
Neuron Collectives refers to a set of libraries used to support collective compute operations within the Neuron SDK. The collectives support is delivered via the aws-neuronx-collectives package and includes a pre-built v... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-collectives-rn:
Neuron Collectives Release Notes
================================
Neuron Collectives refers to a set of libraries used to support collective compute operations ... | 2023-09-29T20:54:58.187Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/compiler/neuronx-cc/index.rst.txt | ```
.. _neuronx-cc-rn:
Neuron Compiler (``neuronx-cc``) release notes
==============================================
.. contents:: Table of Contents
:local:
:depth: 2
Neuron Compiler [2.10.0.35]
-----------------------------
Date: 09/26/2023
* This release addresses a compilation regression for certain config... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx-cc-rn:
Neuron Compiler (``neuronx-cc``) release notes
==============================================
.. contents:: Table of Contents
:local:
:depth: 2
Neuron Compiler [... | 2023-09-29T20:54:58.204Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/compiler/neuronx-cc/api-reference-guide/neuron-compiler-cli-reference-guide.rst.txt | ```
.. _neuron-compiler-cli-reference-guide:
Neuron Compiler CLI Reference Guide (``neuronx-cc``)
====================================================
This document describes the command line interface of the Neuron Compiler.
This reference is not relevant for applications that run the Neuron Compiler from within a ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-compiler-cli-reference-guide:
Neuron Compiler CLI Reference Guide (``neuronx-cc``)
====================================================
This document describes the command line... | 2023-09-29T20:54:58.214Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/general/appnotes/neuronx-cc/neuronx-cc-training-mixed-precision.rst.txt | ```
.. _neuronx-cc-training-mixed-precision:
Mixed Precision and Performance-accuracy Tuning (``neuronx-cc``)
================================================================
.. contents:: Table of contents
:local:
:depth: 2
Overview
--------
The Neuron Compiler supports machine learning models with FP32, TF3... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx-cc-training-mixed-precision:
Mixed Precision and Performance-accuracy Tuning (``neuronx-cc``)
================================================================
.. contents:: Ta... | 2023-09-29T20:54:58.234Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/compiler/neuronx-cc/developer-guide.rst.txt | ```
Developer Guide
===================
.. toctree::
:maxdepth: 1
/general/appnotes/neuronx-cc/neuronx-cc-training-mixed-precision
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Developer Guide
===================
.. toctree::
:maxdepth: 1
/general/appnotes/neuronx-cc/neuronx-cc-training-mixed-precision</pre></body></html> | 2023-09-29T20:54:58.241Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/compiler/neuron-cc/command-line-reference.rst.txt | ```
.. _neuron-compiler-cli-reference:
Neuron compiler CLI Reference Guide (``neuron-cc``)
===================================================
This document describes the command line interface of the Neuron
compiler. This reference is not relevant for applications that run
neuron-cc from within a machine learning fr... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-compiler-cli-reference:
Neuron compiler CLI Reference Guide (``neuron-cc``)
===================================================
This document describes the command line interfa... | 2023-09-29T20:54:58.532Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/compiler/neuron-cc/misc-neuron-cc.rst.txt | ```
Misc (neuron-cc)
================
.. toctree::
:maxdepth: 1
FAQ </compiler/neuron-cc/faq>
What's New </release-notes/compiler/neuron-cc/neuron-cc>
/release-notes/compiler/neuron-cc/neuron-cc-ops/index
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Misc (neuron-cc)
================
.. toctree::
:maxdepth: 1
FAQ </compiler/neuron-cc/faq>
What's New </release-notes/compiler/neuron-cc/neuron-cc>
/release-not... | 2023-09-29T20:54:58.568Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/compiler/neuron-cc/api-reference-guide.rst.txt | ```
API Reference Guide
===================
.. toctree::
:maxdepth: 1
/compiler/neuron-cc/command-line-reference
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">API Reference Guide
===================
.. toctree::
:maxdepth: 1
/compiler/neuron-cc/command-line-reference</pre></body></html> | 2023-09-29T20:54:58.609Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-customops/index.rst.txt | ```
.. _neuron_c++customops:
Neuron Custom C++ Operators [Experimental]
==========================================
.. include:: /neuron-customops/customops-intro.txt
.. note::
Neuron Custom C++ Operators feature is available only starting from second generation of NeuronCore (NeuronCore-v2)
.. toctree:... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron_c++customops:
Neuron Custom C++ Operators [Experimental]
==========================================
.. include:: /neuron-customops/customops-intro.txt
.. note::
Ne... | 2023-09-29T20:54:58.631Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/compiler/neuron-cc.rst.txt | ```
.. _neuron-cc-index:
Neuron Compiler for Inf1
========================
.. toctree::
:maxdepth: 1
API Reference Guide </compiler/neuron-cc/api-reference-guide>
Developer Guide </compiler/neuron-cc/developer-guide>
Misc </compiler/neuron-cc/misc-neuron-cc>
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-cc-index:
Neuron Compiler for Inf1
========================
.. toctree::
:maxdepth: 1
API Reference Guide </compiler/neuron-cc/api-reference-guide>
Developer... | 2023-09-29T20:54:58.661Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/general/appnotes/neuron-cc/mixed-precision.rst.txt | ```
.. _neuron-cc-training-mixed-precision:
Mixed precision and performance-accuracy tuning (``neuron-cc``)
===============================================================
.. contents:: Table of contents
:local:
:depth: 2
The Neuron Compiler supports machine learning models with FP32,
FP16 and BF16 (Bfloat16) ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-cc-training-mixed-precision:
Mixed precision and performance-accuracy tuning (``neuron-cc``)
===============================================================
.. contents:: Table... | 2023-09-29T20:54:58.790Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-customops/api-reference-guide/api-reference-guide.rst.txt | ```
API Reference Guide
===================
.. toctree::
:maxdepth: 1
/neuron-customops/api-reference-guide/custom-ops-ref-guide
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">API Reference Guide
===================
.. toctree::
:maxdepth: 1
/neuron-customops/api-reference-guide/custom-ops-ref-guide</pre></body></html> | 2023-09-29T20:54:58.890Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/compiler/neuron-cc/neuron-cc.rst.txt | ```
.. _neuron-cc-rn:
Neuron Compiler (``neuron-cc``) for Inf1 Release Notes
======================================================
.. contents:: Table of contents
:local:
:depth: 1
Introduction
^^^^^^^^^^^^
This document lists the release notes for AWS Neuron compiler. The
Neuron Compiler is an ahead-of-time... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-cc-rn:
Neuron Compiler (``neuron-cc``) for Inf1 Release Notes
======================================================
.. contents:: Table of contents
:local:
:depth: 1
In... | 2023-09-29T20:54:58.925Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/customcxxps/gpsimd-tools.rst.txt | ```
.. _gpsimd-customop-tools-rn:
Neuron Custom C++ Tools Release Notes
======================================
aws-neuronx-gpsimd-tools [0.1]
------------------------------
Date: 02/08/2023
* First release of aws-neuronx-gpsimd-tools. This release provides the required tools to support the building of Neuron Custom... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _gpsimd-customop-tools-rn:
Neuron Custom C++ Tools Release Notes
======================================
aws-neuronx-gpsimd-tools [0.1]
------------------------------
Date: 02/08/2023
... | 2023-09-29T20:54:58.950Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/compiler/neuron-cc/developer-guide.rst.txt | ```
Developer Guide
===================
.. toctree::
:maxdepth: 1
/general/appnotes/neuron-cc/mixed-precision
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Developer Guide
===================
.. toctree::
:maxdepth: 1
/general/appnotes/neuron-cc/mixed-precision</pre></body></html> | 2023-09-29T20:54:58.977Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/compiler/neuron-cc/faq.rst.txt | ```
.. _neuron_compiler_faq:
Neuron Compiler FAQ (``neuron-cc``)
===================================
.. contents:: Table of contents
:local:
:depth: 1
Where can I compile to Neuron?
---------------------------------
The one-time compilation step from the standard framework-level model to
NEFF binary may be pe... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron_compiler_faq:
Neuron Compiler FAQ (``neuron-cc``)
===================================
.. contents:: Table of contents
:local:
:depth: 1
Where can I compile to Neuron?
--... | 2023-09-29T20:54:59.083Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/compiler/neuron-cc/neuron-cc-ops/index.rst.txt | ```
.. _neuron-supported-operators:
Neuron Supported operators
==========================
.. toctree::
:maxdepth: 1
frameworks/tensorflow/tensorflow-neuron/tensorflow2-accelerated-ops
neuron-cc-ops-tensorflow
neuron-cc-ops-pytorch
neuron-cc-ops-mxnet
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-supported-operators:
Neuron Supported operators
==========================
.. toctree::
:maxdepth: 1
frameworks/tensorflow/tensorflow-neuron/tensorflow2-accelerated-ops
... | 2023-09-29T20:54:59.221Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-customops/programming-guide/programming-guide.rst.txt | ```
Developer Guide
===============
.. toctree::
:maxdepth: 1
/neuron-customops/programming-guide/custom-c++-operators-devguide
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Developer Guide
===============
.. toctree::
:maxdepth: 1
/neuron-customops/programming-guide/custom-c++-operators-devguide</pre></body></html> | 2023-09-29T20:54:59.262Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-customops/misc-customops.rst.txt | ```
Misc (Neuron Custom C++ Operators)
==================================
.. toctree::
:maxdepth: 1
/release-notes/customcxxps/gpsimd-tools
/release-notes/customcxxps/gpsimd-customop-lib
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Misc (Neuron Custom C++ Operators)
==================================
.. toctree::
:maxdepth: 1
/release-notes/customcxxps/gpsimd-tools
/release-notes/customcxxps/gpsimd-custo... | 2023-09-29T20:54:59.408Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-customops/programming-guide/custom-c++-operators-devguide.rst.txt | ```
.. _feature-custom-operators-devguide:
Neuron Custom C++ Operators Developer Guide [Experimental]
==========================================================
This document gives an overview of the Neuron Custom C++ Operator feature and APIs . Currently, CustomOp support is limited to the PyTorch framework.
Plea... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _feature-custom-operators-devguide:
Neuron Custom C++ Operators Developer Guide [Experimental]
==========================================================
This document gives an overvie... | 2023-09-29T20:54:59.419Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-customops/tutorials/tutorials.rst.txt | ```
Tutorials
=========
.. toctree::
:maxdepth: 1
/neuron-customops/tutorials/customop-mlp-training
/neuron-customops/tutorials/customop-mlp-perf-opt
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Tutorials
=========
.. toctree::
:maxdepth: 1
/neuron-customops/tutorials/customop-mlp-training
/neuron-customops/tutorials/customop-mlp-perf-opt</pre></body></html> | 2023-09-29T20:54:59.455Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuron-sys-tools/neuron-ls.rst.txt | ```
.. _neuron-ls-ug:
Neuron LS User Guide
---------------------
To identify number of Neuron Devices in a given instance use the
``neuron-ls`` command. ``neuron-ls`` will also show which processes
are using each Device, including the command used to launch each of
those processes.
.. rubric:: neuron-ls CLI
.. prog... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-ls-ug:
Neuron LS User Guide
---------------------
To identify number of Neuron Devices in a given instance use the
``neuron-ls`` command. ``neuron-ls`` will also show which pro... | 2023-09-29T20:54:59.500Z | |
TensorFlow Neuron (tensorflow-neuron (TF1.x)) Supported operators [XLA] — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/release-notes/compiler/neuron-cc/neuron-cc-ops/neuron-cc-ops-xla.html#neuron-cc-ops-xla | # TensorFlow Neuron (tensorflow-neuron (TF1.x)) Supported operators \[XLA\] — AWS Neuron Documentation
Toggle in-page Table of Contents
_This document is relevant for_: `Inf1`
## TensorFlow Neuron (`tensorflow-neuron (TF1.x)`) Supported operators \[XLA\][#](#tensorflow-neuron-tensorflow-neuron-tf1-x-supported-operat... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TensorFlow Neuron (tensorflow-neuron (TF1.x)) Supported operators [XLA] — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href... | 2023-09-29T20:54:59.584Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/customcxxps/gpsimd-customop-lib.rst.txt | ```
.. _gpsimd-customop-lib-rn:
Neuron Custom C++ Library Release Notes
========================================
aws-neuronx-gpsimd-customop-lib [0.3]
-------------------------------------
Date: 04/28/2023
* Add initial support for using Multiple GPSIMD Cores for Custom C++ Operators
* Package name was changed to `... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _gpsimd-customop-lib-rn:
Neuron Custom C++ Library Release Notes
========================================
aws-neuronx-gpsimd-customop-lib [0.3]
-------------------------------------
D... | 2023-09-29T20:54:59.670Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuron-sys-tools/neuron-monitor-user-guide.rst.txt | ```
.. _neuron-monitor-ug:
Neuron Monitor User Guide
=========================
.. contents:: Table of contents
:local:
:depth: 2
Overview
--------
**neuron-monitor** collects metrics and stats from the Neuron
Applications running on the system and streams the collected data to
``stdout`` in ``JSON`` format. I... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-monitor-ug:
Neuron Monitor User Guide
=========================
.. contents:: Table of contents
:local:
:depth: 2
Overview
--------
**neuron-monitor** collects metrics ... | 2023-09-29T20:54:59.685Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/index.rst.txt | ```
.. _neuron-tools:
Neuron Tools
============
Neuron provides debugging and profiling tools with the visualization support of the TensorBoard plugin. The Neuron helper tools assist in best practices for model onboarding and performance optimizations. The debugging and profiling tools provide monitoring of runtime an... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-tools:
Neuron Tools
============
Neuron provides debugging and profiling tools with the visualization support of the TensorBoard plugin. The Neuron helper tools assist in best p... | 2023-09-29T20:54:59.696Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuron-sys-tools/index.rst.txt | ```
System Tools
============
.. toctree::
:maxdepth: 1
Neuron-Monitor User Guide </tools/neuron-sys-tools/neuron-monitor-user-guide>
Neuron-Top User Guide </tools/neuron-sys-tools/neuron-top-user-guide>
Neuron-LS User Guide </tools/neuron-sys-tools/neuron-ls>
Neuron Profile User Guide </tools/ne... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">System Tools
============
.. toctree::
:maxdepth: 1
Neuron-Monitor User Guide </tools/neuron-sys-tools/neuron-monitor-user-guide>
Neuron-Top User Guide </tools/neuro... | 2023-09-29T20:54:59.773Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-customops/api-reference-guide/custom-ops-ref-guide.rst.txt | ```
.. _custom-ops-api-ref-guide:
Custom Operators API Reference Guide [Experimental]
===================================================
This page provides the documentation for the C++ API available to creators of Neuron custom C++ operators (see :ref:`neuron_c++customops`).
.. contents:: Table of contents
:loc... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _custom-ops-api-ref-guide:
Custom Operators API Reference Guide [Experimental]
===================================================
This page provides the documentation for the C++ API ... | 2023-09-29T20:54:59.827Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuron-sys-tools/neuron-top-user-guide.rst.txt | ```
.. _neuron-top-ug:
Neuron Top User Guide
=====================
.. contents:: Table of contents
:local:
:depth: 2
Overview
--------
``neuron-top`` provides useful information about NeuronCore and vCPU utilization, memory usage,
loaded models, and Neuron applications.
.. note::
``neuron-top`` fully suppo... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-top-ug:
Neuron Top User Guide
=====================
.. contents:: Table of contents
:local:
:depth: 2
Overview
--------
``neuron-top`` provides useful information about ... | 2023-09-29T20:54:59.899Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_downloads/7060cd2442eb9c76edfb394bffdc9721/neuron-monitor-grafana.json | ```
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": nu... | <html><head><meta name="color-scheme" content="light dark"><meta charset="utf-8"></head><body style="margin: 0"><div></div><pre>{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)... | 2023-09-29T20:54:59.946Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuron-sys-tools/neuron-sysfs-user-guide.rst.txt | ```
.. _neuron-sysfs-ug:
Neuron Sysfs User Guide
=======================
.. contents:: Table of contents
:local:
:depth: 3
Introduction
------------
The kernel provides a few ways in which userspace programs can get system information from the kernel space. Sysfs is one common way to do so. It is a virtual f... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-sysfs-ug:
Neuron Sysfs User Guide
=======================
.. contents:: Table of contents
:local:
:depth: 3
Introduction
------------
The kernel provides a few ways in... | 2023-09-29T20:55:00.035Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuron-sys-tools/nccom-test.rst.txt | ```
.. _nccom-test:
=================
NCCOM-TEST User Guide
=================
.. contents:: Table of contents
:local:
:depth: 2
Overview
--------
**nccom-test** is a benchmarking tool for quickly evaluating the performance of Collective Communication operations
on one or more Neuron instances (it is compati... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _nccom-test:
=================
NCCOM-TEST User Guide
=================
.. contents:: Table of contents
:local:
:depth: 2
Overview
--------
**nccom-test** is a benchmarking to... | 2023-09-29T20:55:00.314Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/tools/aws-neuronx-tools.rst.txt | ```
.. _neuron-tools-rn:
Neuron System Tools
===================
.. contents:: Table of Contents
:local:
:depth: 2
Neuron Tools [2.14.6.0]
------------------------
Date: 09/15/2023
New in the release:
* Added legend in ``neuron-ls`` to clarify wrap around edges for topology view.
* Improved error messaging... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-tools-rn:
Neuron System Tools
===================
.. contents:: Table of Contents
:local:
:depth: 2
Neuron Tools [2.14.6.0]
------------------------
Date: 09/15/2023
... | 2023-09-29T20:55:00.394Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/tensorboard/index.rst.txt | ```
TensorBoard
===========
TensorBoard for Trn1
--------------------
.. toctree::
:maxdepth: 1
Track Training Progress in TensorBoard using PyTorch Neuron </tools/tutorials/tutorial-tensorboard-scalars-mnist>
TensorBoard Plugin for Neuron (Trn1) </tools/tensorboard/getting-started-tensorboard-neuronx-pl... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">TensorBoard
===========
TensorBoard for Trn1
--------------------
.. toctree::
:maxdepth: 1
Track Training Progress in TensorBoard using PyTorch Neuron </tools/tutorials/tutor... | 2023-09-29T20:55:00.429Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/tutorials/tutorial-tensorboard-scalars-mnist.rst.txt | ```
.. _tb_track_training_minst:
Track Training Progress in TensorBoard using PyTorch Neuron
============================================================
.. contents:: Table of Contents
:local:
:depth: 2
This tutorial explains how to track training progress in TensorBoard while running a multi-layer perceptron... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tb_track_training_minst:
Track Training Progress in TensorBoard using PyTorch Neuron
============================================================
.. contents:: Table of Contents
:l... | 2023-09-29T20:55:00.449Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/helper-tools/index.rst.txt | ```
Helper Tools
============
.. toctree::
:maxdepth: 1
Check Model </tools/helper-tools/tutorial-neuron-check-model>
GatherInfo </tools/helper-tools/tutorial-neuron-gatherinfo>
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Helper Tools
============
.. toctree::
:maxdepth: 1
Check Model </tools/helper-tools/tutorial-neuron-check-model>
GatherInfo </tools/helper-tools/tutorial-n... | 2023-09-29T20:55:00.503Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuron-sys-tools/neuron-profile-user-guide.rst.txt | ```
.. _neuron-profile-ug:
Neuron Profile User Guide
=========================
.. contents:: Table of contents
:local:
:depth: 2
Overview
--------
**neuron-profile** is a tool to profile and analyze performance of a ML model compiled with the Neuron compiler
and run on Neuron devices.
.. note::
Please... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-profile-ug:
Neuron Profile User Guide
=========================
.. contents:: Table of contents
:local:
:depth: 2
Overview
--------
**neuron-profile** is a tool to pr... | 2023-09-29T20:55:00.518Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuronperf/index.rst.txt | ```
.. _neuronperf:
=================
NeuronPerf (Beta)
=================
NeuronPerf is a lightweight Python library with a simple API that enables fast measurements of performance when running models using Neuron.
.. _neuronperf_quickstart:
NeuronPerf Quickstart
---------------------
To install NeuronPerf in your... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronperf:
=================
NeuronPerf (Beta)
=================
NeuronPerf is a lightweight Python library with a simple API that enables fast measurements of performance when runni... | 2023-09-29T20:55:00.606Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/tensorboard/getting-started-tensorboard-neuronx-plugin.rst.txt | ```
.. _neuronx-plugin-tensorboard:
Neuron Plugin for TensorBoard (Trn1)
====================================
.. contents:: Table of Contents
:local:
:depth: 2
Overview
--------
This guide is for developers who want to better understand how their
model is executed using Neuron SDK through TensorBoard.
The Neu... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx-plugin-tensorboard:
Neuron Plugin for TensorBoard (Trn1)
====================================
.. contents:: Table of Contents
:local:
:depth: 2
Overview
--------
This g... | 2023-09-29T20:55:00.675Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/helper-tools/tutorial-neuron-check-model.rst.txt | ```
.. _neuron_check_model:
Neuron Check Model
^^^^^^^^^^^^^^^^^^
Overview
========
Neuron Check Model tool provides user with basic information about the compiled and uncompiled model's operations
without the use of TensorBoard-Neuron. For additional visibility into the models, please see :ref:`neuron-plugin-tensor... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron_check_model:
Neuron Check Model
^^^^^^^^^^^^^^^^^^
Overview
========
Neuron Check Model tool provides user with basic information about the compiled and uncompiled model's ope... | 2023-09-29T20:55:00.690Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/tools/tensorboard-neuron.rst.txt | ```
.. _neuron-tensorboard-rn:
Neuron Plugin for TensorBoard Release Notes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. contents:: Table of Contents
:local:
:depth: 1
Known Issues and Limitations - Updated 11/29/2022
================================================
The following are not limitations in th... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-tensorboard-rn:
Neuron Plugin for TensorBoard Release Notes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. contents:: Table of Contents
:local:
:depth: 1
Known Issues... | 2023-09-29T20:55:00.746Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/helper-tools/tutorial-neuron-gatherinfo.rst.txt | ```
.. _neuron_gatherinfo:
Using Neuron GatherInfo Tool to collect debug and support information
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Overview
========
The Neuron GatherInfo tool ``neuron-gatherinfo.py`` can assist in
automating the collection and packaging of information from Neuron... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron_gatherinfo:
Using Neuron GatherInfo Tool to collect debug and support information
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Overview
========
The N... | 2023-09-29T20:55:00.764Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/tensorboard/getting-started-tensorboard-neuron-plugin.rst.txt | ```
.. _neuron-plugin-tensorboard:
Neuron Plugin for TensorBoard (Inf1)
====================================
.. contents:: Table of Contents
:local:
:depth: 2
Overview
--------
This guide is for developers who want to better understand how their
model is executed using Neuron SDK through TensorBoard.
The Neur... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-plugin-tensorboard:
Neuron Plugin for TensorBoard (Inf1)
====================================
.. contents:: Table of Contents
:local:
:depth: 2
Overview
--------
This gu... | 2023-09-29T20:55:00.785Z | |
Track System Resource Utilization during Training with neuron-monitor using PyTorch Neuron — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/tools/tutorials/tutorial-neuron-monitor-mnist.html#track-system-monitor | # Track System Resource Utilization during Training with neuron-monitor using PyTorch Neuron — AWS Neuron Documentation
## Contents
- [Multi-layer Perceptron MNIST Model](#multi-layer-perceptron-mnist-model)
- [The Training Job](#the-training-job)
- [Setting up **Prometheus** and **Grafana**](#setting-up-promet... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Track System Resource Utilization during Training with neuron-monitor using PyTorch Neuron — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx asse... | 2023-09-29T20:55:01.155Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuronperf/neuronperf_examples.rst.txt | ```
.. _neuronperf_examples:
NeuronPerf Examples
===================
This page walks through several examples of using NeuronPerf, starting with the simplest way---using a compiled model. We will also see how we can use NeuronPerf to perform a hyperparameter search, and manage the artifacts produced, as well as our r... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronperf_examples:
NeuronPerf Examples
===================
This page walks through several examples of using NeuronPerf, starting with the simplest way---using a compiled model. We ... | 2023-09-29T20:55:01.248Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuronperf/neuronperf_overview.rst.txt | ```
.. _neuronperf_overview:
===================
NeuronPerf Overview
===================
NeuronPerf is a lightweight Python library that can help you easily benchmark your models with Neuron hardware.
NeuronPerf supports Neuron releases for PyTorch, Tensorflow, and MXNet. It is used internally by the Neuron team to ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronperf_overview:
===================
NeuronPerf Overview
===================
NeuronPerf is a lightweight Python library that can help you easily benchmark your models with Neuron ... | 2023-09-29T20:55:01.516Z | |
Profiling PyTorch Neuron (torch-neuronx) with TensorBoard — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/tools/tutorials/torch-neuronx-profiling-with-tb.html#torch-neuronx-profiling-with-tb | # Profiling PyTorch Neuron (torch-neuronx) with TensorBoard — AWS Neuron Documentation
_This document is relevant for_: `Inf1`, `Inf2`, `Trn1`, `Trn1n`
## Profiling PyTorch Neuron (`torch-neuronx`) with TensorBoard[#](#profiling-pytorch-neuron-torch-neuronx-with-tensorboard "Permalink to this headline")
Table of Con... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Profiling PyTorch Neuron (torch-neuronx) with TensorBoard — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../_stati... | 2023-09-29T20:55:01.801Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuronperf/neuronperf_terminology.rst.txt | ```
.. _neuronperf_terminology:
NeuronPerf Terminology
======================
* Model Inputs
- An individual input or ``list`` of inputs
- Example: ``inputs = [(torch.ones((batch_size, 5))) for batch_size in batch_sizes]``
- Each input is associated with the ``batch_sizes`` specified, in the same order
... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronperf_terminology:
NeuronPerf Terminology
======================
* Model Inputs
- An individual input or ``list`` of inputs
- Example: ``inputs = [(torch.ones((batch_si... | 2023-09-29T20:55:01.922Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_downloads/2b32cad937aaadbf8a56550d68196836/test_resnet50_pt.py | ```
import torch
import torch_neuron
import neuronperf as npf
import neuronperf.torch
from torchvision import models
# Load a pretrained ResNet50 model
model = models.resnet50(pretrained=True)
# Select a few batch sizes to test
filename = 'resnet50.json'
batch_sizes = [5, 6, 7]
# Construct example inputs
inputs =... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import torch
import torch_neuron
import neuronperf as npf
import neuronperf.torch
from torchvision import models
# Load a pretrained ResNet50 model
model = models.resnet50(pretrained=Tr... | 2023-09-29T20:55:03.352Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_downloads/72804eddf9834dd7ec61a923a56a89d4/test_simple_pt.py | ```
import torch
import torch.neuron
import neuronperf as npf
import neuronperf.torch
# Define a simple model
class Model(torch.nn.Module):
def forward(self, x):
x = x * 3
return x + 1
# Instantiate
model = Model()
model.eval()
# Define some inputs
batch_sizes = [1]
inputs = [torch.ones((batch... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import torch
import torch.neuron
import neuronperf as npf
import neuronperf.torch
# Define a simple model
class Model(torch.nn.Module):
def forward(self, x):
x = x * 3
... | 2023-09-29T20:55:03.386Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuronperf/neuronperf_benchmark_guide.rst.txt | ```
.. _neuronperf_benchmark_guide:
==========================
NeuronPerf Benchmark Guide
==========================
The call to ``neuronperf[torch/tensorflow/mxnet/cpu].benchmark`` is used to measure your model performance. It will choose reasonable defaults if none are provided, and will return back reports that su... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronperf_benchmark_guide:
==========================
NeuronPerf Benchmark Guide
==========================
The call to ``neuronperf[torch/tensorflow/mxnet/cpu].benchmark`` is used t... | 2023-09-29T20:55:03.402Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuronperf/rn.rst.txt | ```
What's New
==========
.. toctree::
:maxdepth: 1
/release-notes/tools/neuronperf
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">What's New
==========
.. toctree::
:maxdepth: 1
/release-notes/tools/neuronperf
</pre></body></html> | 2023-09-29T20:55:04.054Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuronperf/neuronperf_evaluate_guide.rst.txt | ```
.. _neuronperf_evaluate_guide:
==========================
NeuronPerf Evaluate Guide
==========================
NeuronPerf has a new API for evaluating model accuracy on Neuron hardware. This API is currently only available for PyTorch.
You can access the API through standard ``benchmark()`` by passing an additio... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronperf_evaluate_guide:
==========================
NeuronPerf Evaluate Guide
==========================
NeuronPerf has a new API for evaluating model accuracy on Neuron hardware. T... | 2023-09-29T20:55:04.064Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuronperf/neuronperf_faq.rst.txt | ```
.. _neuronperf_faq:
NeuronPerf FAQ
==============
.. contents:: Table of contents
:local:
:depth: 1
When should I use NeuronPerf?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When you want to measure the highest achievable performance for your model with Neuron.
When should I **not** use NeuronPerf?
^^^^^^^^^^^^^^^^^^^... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronperf_faq:
NeuronPerf FAQ
==============
.. contents:: Table of contents
:local:
:depth: 1
When should I use NeuronPerf?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When you want to me... | 2023-09-29T20:55:04.101Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuronperf/neuronperf_framework_notes.rst.txt | ```
.. _neuronperf_framework_notes:
==========================
NeuronPerf Framework Notes
==========================
PyTorch
=======
* Requires: ``torch-neuron`` or ``torch-neuronx``
- Versions: 1.7.x, 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x
* Input to ``compile``: ``torch.nn.Module``
* Model inputs: ``A... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronperf_framework_notes:
==========================
NeuronPerf Framework Notes
==========================
PyTorch
=======
* Requires: ``torch-neuron`` or ``torch-neuronx``
- Ve... | 2023-09-29T20:55:04.141Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/tools/neuronperf/neuronperf_troubleshooting.rst.txt | ```
.. _neuronperf_troubleshooting:
NeuronPerf Troubleshooting
==========================
.. contents:: Table of contents
:local:
:depth: 2
Compilation issues
^^^^^^^^^^^^^^^^^^
Model fails to compile
~~~~~~~~~~~~~~~~~~~~~~
Please `file a bug <https://github.com/aws/aws-neuron-sdk/issues>`_ with as much info... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronperf_troubleshooting:
NeuronPerf Troubleshooting
==========================
.. contents:: Table of contents
:local:
:depth: 2
Compilation issues
^^^^^^^^^^^^^^^^^^
Model... | 2023-09-29T20:55:04.177Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.