title stringlengths 0 125 | url stringlengths 67 206 | markdown stringlengths 55 86.1k | html stringlengths 198 350k | crawlDate stringlengths 24 24 |
|---|---|---|---|---|
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuron/tutorials/tutorials-torch-neuron-nlp.rst.txt | ```
Natural Language Processing (NLP) Tutorials (``torch-neuron``)
==============================================================
* HuggingFace pretrained BERT tutorial :ref:`[html] </src/examples/pytorch/bert_tutorial/tutorial_pretrained_bert.ipynb>` :pytorch-neuron-src:`[notebook] <bert_tutorial/tutorial_pretrained_... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Natural Language Processing (NLP) Tutorials (``torch-neuron``)
==============================================================
* HuggingFace pretrained BERT tutorial :ref:`[html] </src/e... | 2023-09-29T20:54:45.400Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuron/api-reference-guide-torch-neuron.rst.txt | ```
API Reference Guide (``torch-neuron``)
======================================
.. toctree::
:maxdepth: 1
:hidden:
PyTorch Neuron trace Python API </frameworks/torch/torch-neuron/api-compilation-python-api>
torch.neuron.DataParallel API </frameworks/torch/torch-neuron/api-torch-neuron-dataparallel-a... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">API Reference Guide (``torch-neuron``)
======================================
.. toctree::
:maxdepth: 1
:hidden:
PyTorch Neuron trace Python API </frameworks/torch/torch-ne... | 2023-09-29T20:54:45.418Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuron/developer-guide-torch-neuron.rst.txt | ```
Developer Guide (``torch-neuron``)
==================================
.. toctree::
:maxdepth: 1
:hidden:
Running Inference on Variable Input Shapes with Bucketing </general/appnotes/torch-neuron/bucketing-app-note>
Data Parallel Inference on PyTorch Neuron </general/appnotes/torch-neuron/torch... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Developer Guide (``torch-neuron``)
==================================
.. toctree::
:maxdepth: 1
:hidden:
Running Inference on Variable Input Shapes with Bucketing </gen... | 2023-09-29T20:54:45.424Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuron/api-core-placement.rst.txt | ```
.. _torch_core_placement_api:
PyTorch Neuron (``torch-neuron``) Core Placement API [Experimental]
===================================================================
.. automodule:: placement
:module-name: torch_neuron.experimental
:members:
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _torch_core_placement_api:
PyTorch Neuron (``torch-neuron``) Core Placement API [Experimental]
===================================================================
.. automodule:: place... | 2023-09-29T20:54:45.429Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuron/api-torch-neuron-dataparallel-api.rst.txt | ```
.. _api_torch_neuron_dataparallel_api:
torch.neuron.DataParallel API
=============================
The :func:`torch.neuron.DataParallel` Python API implements data parallelism on
:class:`~torch.jit.ScriptModule` models created by the
:ref:`torch_neuron_trace_api`.
This function is analogous to :class:`~torch.nn.D... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _api_torch_neuron_dataparallel_api:
torch.neuron.DataParallel API
=============================
The :func:`torch.neuron.DataParallel` Python API implements data parallelism on
:class:`... | 2023-09-29T20:54:45.439Z | |
BERT TorchServe Tutorial — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/frameworks/torch/torch-neuron/tutorials/tutorial-torchserve.html#pytorch-tutorials-torchserve | # BERT TorchServe Tutorial — AWS Neuron Documentation
_This document is relevant for_: `Inf1`
## BERT TorchServe Tutorial[#](#bert-torchserve-tutorial "Permalink to this headline")
Table of Contents
- [Overview](#overview)
- [Run the tutorial](#run-the-tutorial)
- [Setup TorchServe](#setup-torchserv... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BERT TorchServe Tutorial — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../../_static/styles/theme.css?digest=1... | 2023-09-29T20:54:45.825Z |
Deploy a pretrained PyTorch BERT model from HuggingFace on Amazon SageMaker with Neuron container — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/src/examples/pytorch/byoc_sm_bert_tutorial/sagemaker_container_neuron.html | # Deploy a pretrained PyTorch BERT model from HuggingFace on Amazon SageMaker with Neuron container — AWS Neuron Documentation
## Deploy a pretrained PyTorch BERT model from HuggingFace on Amazon SageMaker with Neuron container[#](#Deploy-a-pretrained-PyTorch-BERT-model-from-HuggingFace-on-Amazon-SageMaker-with-Neuron... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Deploy a pretrained PyTorch BERT model from HuggingFace on Amazon SageMaker with Neuron container — AWS Neuron Documentation</title>
<!-- Loaded before other Sphi... | 2023-09-29T20:54:46.111Z |
Using NeuronCore Pipeline with PyTorch — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/src/examples/pytorch/pipeline_tutorial/neuroncore_pipeline_pytorch.html | # Using NeuronCore Pipeline with PyTorch — AWS Neuron Documentation
## Using NeuronCore Pipeline with PyTorch[#](#Using-NeuronCore-Pipeline-with-PyTorch "Permalink to this headline")
In this tutorial you compile a pretrained BERT base model from HuggingFace 🤗 Transformers, using the NeuronCore Pipeline feature of th... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Using NeuronCore Pipeline with PyTorch — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../../_static/styles/them... | 2023-09-29T20:54:46.381Z |
Transformers MarianMT Tutorial — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/src/examples/pytorch/transformers-marianmt.html | # Transformers MarianMT Tutorial — AWS Neuron Documentation
## Transformers MarianMT Tutorial[#](#Transformers-MarianMT-Tutorial "Permalink to this headline")
In this tutorial, you will deploy the [HuggingFace MarianMT](https://huggingface.co/transformers/v4.0.1/model_doc/marian.html) model for text translation.
Thi... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Transformers MarianMT Tutorial — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../_static/styles/theme.css?diges... | 2023-09-29T20:54:46.648Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/general/appnotes/torch-neuron/torch-neuron-dataparallel-app-note.rst.txt | ```
.. _torch-neuron-dataparallel-app-note:
Data Parallel Inference on Torch Neuron
=======================================
.. contents:: Table of Contents
:local:
:depth: 2
Introduction
------------
This guide introduces :func:`torch.neuron.DataParallel`, a Python API that
implements data parallelism on :cla... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _torch-neuron-dataparallel-app-note:
Data Parallel Inference on Torch Neuron
=======================================
.. contents:: Table of Contents
:local:
:depth: 2
Introducti... | 2023-09-29T20:54:46.686Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuron/guides/torch-lstm-support.rst.txt | ```
.. _torch_neuron_lstm_support:
Developer Guide - PyTorch Neuron (``torch-neuron``) |LSTM| Support
==================================================================
The `torch-neuron` package can support |LSTM| operations and yield
high performance on both fixed-length and variable-length sequences. Most
network ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _torch_neuron_lstm_support:
Developer Guide - PyTorch Neuron (``torch-neuron``) |LSTM| Support
==================================================================
The `torch-neuron` pac... | 2023-09-29T20:54:46.911Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuron/troubleshooting-guide.rst.txt | ```
.. _pytorch-neuron-inference-troubleshooting:
Troubleshooting Guide for PyTorch Neuron (``torch-neuron``)
===========================================================
General Torch-Neuron issues
---------------------------
If you see an error about "Unknown builtin op: neuron::forward_1" like below, please ensure... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _pytorch-neuron-inference-troubleshooting:
Troubleshooting Guide for PyTorch Neuron (``torch-neuron``)
===========================================================
General Torch-Neuron ... | 2023-09-29T20:54:47.262Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/training-torch-neuronx.rst.txt | ```
.. _training-torch-neuronx:
Training (``torch-neuronx``)
============================
.. toctree::
:maxdepth: 1
:hidden:
Tutorials </frameworks/torch/torch-neuronx/tutorials/training/tutorials-training-torch-neuronx>
Additional Examples </frameworks/torch/torch-neuronx/additional-examples-trai... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _training-torch-neuronx:
Training (``torch-neuronx``)
============================
.. toctree::
:maxdepth: 1
:hidden:
Tutorials </frameworks/torch/torch-neuronx/tutor... | 2023-09-29T20:54:47.306Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/general/appnotes/torch-neuron/bucketing-app-note.rst.txt | ```
.. _bucketing_app_note:
Running inference on variable input shapes with bucketing
=========================================================
.. contents:: Table of contents
:local:
:depth: 2
Introduction
------------
With Inferentia, the shape of every input must be fixed at compile time. For
applications ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _bucketing_app_note:
Running inference on variable input shapes with bucketing
=========================================================
.. contents:: Table of contents
:local:
:... | 2023-09-29T20:54:47.354Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/tutorials/training/finetune_hftrainer.rst.txt | ```
.. _torch-hf-bert-finetune:
PyTorch Neuron for Trainium Hugging Face BERT MRPC task finetuning using Hugging Face Trainer API
=================================================================================================
In this tutorial, we show how to run a Hugging Face script that uses Hugging Face Trainer ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _torch-hf-bert-finetune:
PyTorch Neuron for Trainium Hugging Face BERT MRPC task finetuning using Hugging Face Trainer API
==============================================================... | 2023-09-29T20:54:47.530Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/compiler/neuron-cc/neuron-cc-ops/neuron-cc-ops-pytorch.rst.txt | ```
.. _neuron-cc-ops-pytorch:
PyTorch Neuron (``torch-neuron``) Supported operators
=====================================================
Current operator lists may be generated with these commands inside
python:
.. code:: python
import torch.neuron
print(*torch.neuron.get_supported_operations(), sep='\n')
... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-cc-ops-pytorch:
PyTorch Neuron (``torch-neuron``) Supported operators
=====================================================
Current operator lists may be generated with these c... | 2023-09-29T20:54:47.576Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuron/misc-inference-torch-neuron.rst.txt | ```
Misc (``torch-neuron``)
=======================
.. toctree::
:maxdepth: 1
:hidden:
/release-notes/compiler/neuron-cc/neuron-cc-ops/neuron-cc-ops-pytorch
/frameworks/torch/torch-neuron/troubleshooting-guide
/release-notes/torch/torch-neuron/torch-neuron
.. include:: /frameworks/torch/torch-neuron/misc-infer... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Misc (``torch-neuron``)
=======================
.. toctree::
:maxdepth: 1
:hidden:
/release-notes/compiler/neuron-cc/neuron-cc-ops/neuron-cc-ops-pytorch
/frameworks/torch/torch-neuron... | 2023-09-29T20:54:47.600Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuron/guides/core-placement/torch-core-placement.rst.txt | ```
.. _torch_neuron_core_placement_guide:
PyTorch Neuron (``torch-neuron``) Core Placement
================================================
This programming guide describes the available techniques and APIs to be able
to allocate NeuronCores to a process and place models onto specific NeuronCores.
In order of preced... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _torch_neuron_core_placement_guide:
PyTorch Neuron (``torch-neuron``) Core Placement
================================================
This programming guide describes the available tec... | 2023-09-29T20:54:47.611Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/tutorials/training/analyze_for_training.rst.txt | ```
.. _torch-analyze-for-training-tutorial:
Analyze for Training Tutorial
==============================
This tutorial explains how to analyze a model for training support using via ``torch-neuronx``.
.. note::
For analyzing models for inference support via ``torch-neuronx``, please refer to :ref:`torch_neuronx... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _torch-analyze-for-training-tutorial:
Analyze for Training Tutorial
==============================
This tutorial explains how to analyze a model for training support using via ``torch-... | 2023-09-29T20:54:47.658Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-customops/tutorials/customop-mlp-training.rst.txt | ```
.. _neuronx-customop-mlp-tutorial:
Neuron Custom C++ Operators in MLP Training
===========================================
In this tutorial we’ll demonstrate how to prepare a PyTorch model that contains a custom operator (ie. CppExtension) for Neuron compilation to run on Trainium EC2 instances. To learn more ab... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx-customop-mlp-tutorial:
Neuron Custom C++ Operators in MLP Training
===========================================
In this tutorial we’ll demonstrate how to prepare a PyTorch mod... | 2023-09-29T20:54:47.667Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/tutorials/training/zero1_gpt2.rst.txt | ```modeling
.. _zero1-gpt2-pretraining-tutorial:
ZeRO-1 Tutorial
===============
What is ZeRO-1?
---------------
ZeRO-1 (Zero Redundancy Optimizer Stage 1,
https://arxiv.org/abs/1910.02054) is an optimization technique for
large-scale deep learning models. It is a memory efficient variation of
data parallelism. ZeRO... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _zero1-gpt2-pretraining-tutorial:
ZeRO-1 Tutorial
===============
What is ZeRO-1?
---------------
ZeRO-1 (Zero Redundancy Optimizer Stage 1,
https://arxiv.org/abs/1910.02054) is an op... | 2023-09-29T20:54:47.720Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/tutorials/training/bert.rst.txt | ```
.. _hf-bert-pretraining-tutorial:
Hugging Face BERT Pretraining Tutorial
======================================
This tutorial explains how to run Hugging Face BERT-Large model
pretraining on Trainium using PyTorch Neuron.
The Hugging Face BERT pretraining example demonstrates the steps
required to perform single... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _hf-bert-pretraining-tutorial:
Hugging Face BERT Pretraining Tutorial
======================================
This tutorial explains how to run Hugging Face BERT-Large model
pretraining... | 2023-09-29T20:54:47.751Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/tutorials/training/tutorials-training-torch-neuronx.rst.txt | ```
Tutorials for Training(torch-neuronx)
=====================================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/torch/torch-neuronx/tutorials/training/bert
/frameworks/torch/torch-neuronx/tutorials/training/mlp
/frameworks/torch/torch-neuronx/tutorials/training/finetune_hftrainer
... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Tutorials for Training(torch-neuronx)
=====================================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/torch/torch-neuronx/tutorials/training/bert
/fra... | 2023-09-29T20:54:47.770Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/torch/torch-neuron/torch-neuron.rst.txt | ```
.. _pytorch-neuron-rn:
PyTorch Neuron (``torch-neuron``) release notes
===============================================
.. contents:: Table of contents
:local:
:depth: 1
This document lists the release notes for the Pytorch-Neuron package.
Known Issues and Limitations - Updated 03/21/2023
---------------... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _pytorch-neuron-rn:
PyTorch Neuron (``torch-neuron``) release notes
===============================================
.. contents:: Table of contents
:local:
:depth: 1
This docume... | 2023-09-29T20:54:47.805Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/tutorials/training/mlp.rst.txt | ```
.. _neuronx-mlp-training-tutorial:
Multi-Layer Perceptron Training Tutorial
========================================
MNIST is a standard dataset for handwritten digit recognition. A
multi-layer perceptron (MLP) model can be trained with MNIST dataset to
recognize hand-written digits. This tutorial starts with a... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx-mlp-training-tutorial:
Multi-Layer Perceptron Training Tutorial
========================================
MNIST is a standard dataset for handwritten digit recognition. A
mul... | 2023-09-29T20:54:47.854Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/tutorials/training/finetune_t5.rst.txt | ```
.. _torch-hf-t5-finetune:
Fine-tune T5 model on Trn1
================================
In this tutorial, we show how to fine-tune a Hugging Face (HF) T5 model
using HF trainer API. This example fine-tunes a `T5 model for
a text-summarization <https://github.com/huggingface/transformers/tree/master/examples/pytor... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _torch-hf-t5-finetune:
Fine-tune T5 model on Trn1
================================
In this tutorial, we show how to fine-tune a Hugging Face (HF) T5 model
using HF trainer API. This ... | 2023-09-29T20:54:47.935Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/neuron-customops/tutorials/customop-mlp-perf-opt.rst.txt | ```
.. _neuronx-customop-mlp-perf:
Neuron Custom C++ Operators Performance Optimization
====================================================
In this tutorial, we will build on the small MLP model shown in :ref:`neuronx-customop-mlp-tutorial` and demonstrate methods to optimize the performance of a custom C++ operator... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuronx-customop-mlp-perf:
Neuron Custom C++ Operators Performance Optimization
====================================================
In this tutorial, we will build on the small MLP m... | 2023-09-29T20:54:48.070Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/additional-examples-training.rst.txt | ```
Additional Examples (``torch-neuronx``)
=======================================
.. toctree::
:maxdepth: 1
:hidden:
AWS Neuron Reference for Nemo Megatron GitHub Repository <https://github.com/aws-neuron/neuronx-nemo-megatron>
AWS Neuron Samples for EKS <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;">Additional Examples (``torch-neuronx``)
=======================================
.. toctree::
:maxdepth: 1
:hidden:
AWS Neuron Reference for Nemo Megatron GitHub Repository... | 2023-09-29T20:54:48.106Z | |
Install PyTorch Neuron (torch-neuronx) — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/frameworks/torch/torch-neuronx/setup/pytorch-install.html#pytorch-neuronx-install | # Install PyTorch Neuron (torch-neuronx) — AWS Neuron Documentation
Table of Contents
- [Develop on AWS ML accelerator instance](#develop-on-aws-ml-accelerator-instance)
## [Develop on AWS ML accelerator instance](#id1)[#](#develop-on-aws-ml-accelerator-instance "Permalink to this headline")
PyTorch 1.13.1
... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Install PyTorch Neuron (torch-neuronx) — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../../_static/styles/them... | 2023-09-29T20:54:48.290Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/api-reference-guide/torch-neuronx-profiling-api.rst.txt | ```
.. _torch-neuronx-profiling-api:
PyTorch Neuron (``torch-neuronx``) Profiling API
================================================
.. contents:: Table of Contents
:local:
:depth: 2
The profiler provides a method to generate a context manager to capture
trace events at the operator or runtime level.
.. py:... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _torch-neuronx-profiling-api:
PyTorch Neuron (``torch-neuronx``) Profiling API
================================================
.. contents:: Table of Contents
:local:
:depth: 2
... | 2023-09-29T20:54:48.313Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/misc-training.rst.txt | ```
Misc (Training - torch-neuronx)
===============================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/torch/torch-neuronx/pytorch-neuron-supported-operators
/frameworks/torch/torch-neuronx/setup-trn1-multi-node-execution
/frameworks/torch/torch-neuronx/training-troubleshooting
/r... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Misc (Training - torch-neuronx)
===============================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/torch/torch-neuronx/pytorch-neuron-supported-operators
/fra... | 2023-09-29T20:54:48.417Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/api-reference-guide/training/index.rst.txt | ```
API Reference Guide for Training (``torch-neuronx``)
====================================================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/torch/torch-neuronx/api-reference-guide/training/pytorch-neuron-parallel-compile
/frameworks/torch/torch-neuronx/api-reference-guide/training/to... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">API Reference Guide for Training (``torch-neuronx``)
====================================================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/torch/torch-neuronx/a... | 2023-09-29T20:54:48.428Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/api-reference-guide/training/pytorch-neuron-parallel-compile.rst.txt | ```
.. _pytorch-neuronx-parallel-compile-cli:
PyTorch Neuron neuron_parallel_compile CLI (``torch-neuronx``)
==============================================================
PyTorch Neuron performs just-in-time compilation of graphs during
execution. At every step, a graph is traced. If the traced graph varies
from the... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _pytorch-neuronx-parallel-compile-cli:
PyTorch Neuron neuron_parallel_compile CLI (``torch-neuronx``)
==============================================================
PyTorch Neuron perf... | 2023-09-29T20:54:48.457Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/api-reference-guide/training/torch-neuron-envvars.rst.txt | ```
.. _pytorch-neuronx-envvars:
PyTorch Neuron Environment Variables (``torch-neuronx``)
========================================================
Environment variables allow modifications to PyTorch Neuron behavior
without requiring code change to user script. It is recommended to set
them in code or just before inv... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _pytorch-neuronx-envvars:
PyTorch Neuron Environment Variables (``torch-neuronx``)
========================================================
Environment variables allow modifications to... | 2023-09-29T20:54:48.532Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/general/arch/neuron-features/neuron-caching.rst.txt | ```
.. _neuron-caching:
Neuron Persistent Cache
=======================
PyTorch Neuron (``torch-neuronx``) uses ``torch-xla``, and ``torch-xla`` operates in lazy mode. In other words, every operation in training script
is recorded in a graph. The graph is executed only when the results are requested by
the user when... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-caching:
Neuron Persistent Cache
=======================
PyTorch Neuron (``torch-neuronx``) uses ``torch-xla``, and ``torch-xla`` operates in lazy mode. In other words, every o... | 2023-09-29T20:54:48.614Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/programming-guide/training/pytorch-neuron-debug.rst.txt | ```
.. _pytorch-neuronx-debug:
How to debug models in PyTorch Neuron (``torch-neuronx``)
=========================================================
.. contents:: Table of Contents
:local:
:depth: 2
Torch-XLA evaluates operations lazily, which means it builds a symbolic
graph in the background and the graph is e... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _pytorch-neuronx-debug:
How to debug models in PyTorch Neuron (``torch-neuronx``)
=========================================================
.. contents:: Table of Contents
:local:
... | 2023-09-29T20:54:48.648Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/programming-guide/training/index.rst.txt | ```
Developer Guide (``torch-neuronx``)
====================================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/torch/torch-neuronx/programming-guide/training/pytorch-neuron-programming-guide
/frameworks/torch/torch-neuronx/programming-guide/training/pytorch-neuron-debug
/frameworks/t... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Developer Guide (``torch-neuronx``)
====================================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/torch/torch-neuronx/programming-guide/training/pytorch... | 2023-09-29T20:54:48.661Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/programming-guide/training/pytorch-neuron-programming-guide.rst.txt | ```
.. _pytorch-neuronx-programming-guide:
Developer Guide for Training with PyTorch Neuron (``torch-neuronx``)
=====================================================================
.. contents:: Table of Contents
:local:
:depth: 2
Trainium is designed to speed up model training and reduce training cost. It... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _pytorch-neuronx-programming-guide:
Developer Guide for Training with PyTorch Neuron (``torch-neuronx``)
=====================================================================
.. cont... | 2023-09-29T20:54:48.721Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/programming-guide/torch-neuronx-profiling-dev-guide.rst.txt | ```
.. _torch-neuronx-dev-guide:
Developer Guide for Profiling with PyTorch Neuron (``torch-neuronx``)
=====================================================================
.. contents:: Table of Contents
:local:
:depth: 2
Introduction
~~~~~~~~~~~~
The Neuron PyTorch profiler is a context manager wrapping aro... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _torch-neuronx-dev-guide:
Developer Guide for Profiling with PyTorch Neuron (``torch-neuronx``)
=====================================================================
.. contents:: Tabl... | 2023-09-29T20:54:48.806Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuronx/tutorials/tutorial-tensorflowx-serving-NeuronRT-Visible-Cores.rst.txt | ```
.. _tensorflow-servingx-neuronrt-visible-cores:
Using NEURON_RT_VISIBLE_CORES with TensorFlow Serving
=====================================================
TensorFlow serving allows customers to scale-up inference workloads
across a network. TensorFlow Neuron Serving uses the same API as normal
TensorFlow Serving... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tensorflow-servingx-neuronrt-visible-cores:
Using NEURON_RT_VISIBLE_CORES with TensorFlow Serving
=====================================================
TensorFlow serving allows custo... | 2023-09-29T20:54:48.840Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/setup-trn1-multi-node-execution.rst.txt | ```
.. _setup-trn1-multi-node-execution:
How to prepare trn1.32xlarge for multi-node execution
=====================================================
EFA is a low latency transport that is used for inter-node communication. Multi-node jobs, such as distributed training, requires EFA to be enabled on every participati... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _setup-trn1-multi-node-execution:
How to prepare trn1.32xlarge for multi-node execution
=====================================================
EFA is a low latency transport that is use... | 2023-09-29T20:54:48.866Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/pytorch-neuron-supported-operators.rst.txt | ```
.. _pytorch-neuron-supported-operators:
PyTorch Neuron (``torch-neuronx``) - Supported Operators
========================================================
.. contents:: Table of Contents
:local:
:depth: 2
Operator support
~~~~~~~~~~~~~~~~
The following list the aten operators supported by torch-neuronx.
... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _pytorch-neuron-supported-operators:
PyTorch Neuron (``torch-neuronx``) - Supported Operators
========================================================
.. contents:: Table of Contents
... | 2023-09-29T20:54:48.898Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/index.rst.txt | ```
.. _tensorflow-neuron-main:
.. _tensorflow-neuron:
TensorFlow Neuron
=================
TensorFlow Neuron unlocks high-performance and cost-effective deep learning acceleration on AWS Trainium-based and Inferentia-based Amazon EC2 instances.
TensorFlow Neuron enables native TensorFlow models to be accelerated on N... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tensorflow-neuron-main:
.. _tensorflow-neuron:
TensorFlow Neuron
=================
TensorFlow Neuron unlocks high-performance and cost-effective deep learning acceleration on AWS Train... | 2023-09-29T20:54:49.002Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-setup.rst.txt | ```
.. _tf-setup:
Tensorflow Neuron Setup
=======================
.. include:: tensorflow-setup.txt
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tf-setup:
Tensorflow Neuron Setup
=======================
.. include:: tensorflow-setup.txt</pre></body></html> | 2023-09-29T20:54:49.039Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/torch/torch-neuronx/training-troubleshooting.rst.txt | ```
.. _pytorch-neuron-traning-troubleshooting:
PyTorch Neuron (``torch-neuronx``) for Training Troubleshooting Guide
=====================================================================
.. contents:: Table of contents
:local:
:depth: 2
This document shows common issues users may encounter while using
PyTorc... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _pytorch-neuron-traning-troubleshooting:
PyTorch Neuron (``torch-neuronx``) for Training Troubleshooting Guide
=====================================================================
.. ... | 2023-09-29T20:54:49.146Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuronx-inference.rst.txt | ```
.. _inference-tensorflow-neuronx:
Inference on Inf2 & Trn1/Trn1n (``tensorflow-neuronx``)
=================================================
.. toctree::
:maxdepth: 1
:hidden:
Tutorials </frameworks/tensorflow/tensorflow-neuronx/tutorials/tutorials-tensorflow-neuronx>
API Reference Guide </framew... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _inference-tensorflow-neuronx:
Inference on Inf2 & Trn1/Trn1n (``tensorflow-neuronx``)
=================================================
.. toctree::
:maxdepth: 1
:hidden:
... | 2023-09-29T20:54:49.189Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/src/examples/tensorflow/tensorflow-neuronx/tfneuronx-roberta-base-tutorial.ipynb.txt | ```
{
"cells": [
{
"cell_type": "markdown",
"id": "e91cf83b",
"metadata": {},
"source": [
"# Running Huggingface Roberta-Base with TensorFlow-NeuronX"
]
},
{
"cell_type": "markdown",
"id": "71394e1e",
"metadata": {},
"source": [
"This tutorial demonstrates how to compile the Hu... | <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",
"id": "e91cf83b",
"metadata": {},
"source": [
"# Running Huggingface Roberta-Base with TensorFlow-NeuronX"
]
},
{
"cell_... | 2023-09-29T20:54:49.229Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuronx/api-reference-guide.rst.txt | ```
API Reference Guide (``tensorflow-neuronx``)
===========================================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/tensorflow/tensorflow-neuronx/tfneuronx-python-tracing-api
/frameworks/tensorflow/tensorflow-neuronx/tf-neuronx-auto-replication-api
/frameworks/tensorflow/te... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">API Reference Guide (``tensorflow-neuronx``)
===========================================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/tensorflow/tensorflow-neuronx/tfneuronx... | 2023-09-29T20:54:49.268Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuronx/tutorials/tutorials-tensorflow-neuronx.rst.txt | ```
.. _inference-tensorflow-neuronx-tutorials:
Tutorials (``tensorflow-neuronx``)
===================================
.. toctree::
:maxdepth: 1
:hidden:
HuggingFace Roberta-Base </src/examples/tensorflow/tensorflow-neuronx/tfneuronx-roberta-base-tutorial.ipynb>
/frameworks/tensorflow/tensorflow-n... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _inference-tensorflow-neuronx-tutorials:
Tutorials (``tensorflow-neuronx``)
===================================
.. toctree::
:maxdepth: 1
:hidden:
HuggingFace Roberta-B... | 2023-09-29T20:54:49.298Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuronx/tfneuronx-python-tracing-api.rst.txt | ```
.. _tfneuronx-ref-neuron-tracing-api:
TensorFlow 2.x (``tensorflow-neuronx``) Tracing API
============================================
The Neuron tracing API enables tracing TensorFlow 2.x models for deployment
on trn1 and inf2 AWS machine learning accelerators.
Method
------
``tensorflow_neuronx.trace``
Descr... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tfneuronx-ref-neuron-tracing-api:
TensorFlow 2.x (``tensorflow-neuronx``) Tracing API
============================================
The Neuron tracing API enables tracing TensorFlow 2.... | 2023-09-29T20:54:49.352Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuronx/tf-neuronx-auto-replication-api.rst.txt | ```
.. _tf-neuronx-ref-auto-replication-python-api:
TensorFlow Neuron (``tensorflow-neuronx``) Auto Multicore Replication (Experimental)
===================================================================================
The Neuron auto multicore replication Python API enables modifying TensorFlow 2.x
models trace by... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tf-neuronx-ref-auto-replication-python-api:
TensorFlow Neuron (``tensorflow-neuronx``) Auto Multicore Replication (Experimental)
=======================================================... | 2023-09-29T20:54:49.577Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuronx/misc-tensorflow-neuronx.rst.txt | ```
Misc (``tensorflow-neuronx``)
============================
.. toctree::
:maxdepth: 1
:hidden:
/release-notes/tensorflow/tensorflow-neuronx/tensorflow-neuronx
.. include:: /frameworks/tensorflow/tensorflow-neuronx/misc-tensorflow-neuronx.txt
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Misc (``tensorflow-neuronx``)
============================
.. toctree::
:maxdepth: 1
:hidden:
/release-notes/tensorflow/tensorflow-neuronx/tensorflow-neuronx
.. include:: /... | 2023-09-29T20:54:49.648Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuronx/tfnx-analyze-model-api.rst.txt | ```
.. _tf-neuronx-ref-analyze-model-api:
TensorFlow 2.x (``tensorflow-neuronx``) analyze_model API
========================================================
Method
------
``tensorflow_neuronx.analyze_model``
Description
-----------
Analyzes a ``keras.Model`` or a Python callable that can be decorated by
``tf.funct... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tf-neuronx-ref-analyze-model-api:
TensorFlow 2.x (``tensorflow-neuronx``) analyze_model API
========================================================
Method
------
``tensorflow_neuron... | 2023-09-29T20:54:49.739Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuron/tutorials/tutorials-tensorflow-neuron.rst.txt | ```
Tutorials (``tensorflow-neuron``)
===================================
.. toctree::
:maxdepth: 1
:hidden:
Computer Vision Tutorials </frameworks/tensorflow/tensorflow-neuron/tutorials/tutorials-tensorflow-computervision>
Natural Language Processing (NLP) Tutorials </frameworks/tensorflow/tensorflo... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Tutorials (``tensorflow-neuron``)
===================================
.. toctree::
:maxdepth: 1
:hidden:
Computer Vision Tutorials </frameworks/tensorflow/tensorflow-neuro... | 2023-09-29T20:54:49.816Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/tensorflow/tensorflow-neuronx/tensorflow-neuronx.rst.txt | ```
.. _tensorflow-neuronx-release-notes:
TensorFlow Neuron (``tensorflow-neuronx``) Release Notes
========================================================
.. contents:: Table of contents
:local:
:depth: 1
This document lists the release notes for the tensorflow-neuronx 2.x packages.
tensorflow-neuronx 2.x ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tensorflow-neuronx-release-notes:
TensorFlow Neuron (``tensorflow-neuronx``) Release Notes
========================================================
.. contents:: Table of contents
... | 2023-09-29T20:54:49.823Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuron/tutorials/tutorials-tensorflow-computervision.rst.txt | ```
Computer Vision Tutorials (``tensorflow-neuron``)
=================================================
* Tensorflow 1.x - OpenPose tutorial :ref:`[html] </src/examples/tensorflow/openpose_demo/openpose.ipynb>` :github:`[notebook] </src/examples/tensorflow/openpose_demo/openpose.ipynb>`
* Tensorflow 1.x - ResNet-50 ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Computer Vision Tutorials (``tensorflow-neuron``)
=================================================
* Tensorflow 1.x - OpenPose tutorial :ref:`[html] </src/examples/tensorflow/openpose... | 2023-09-29T20:54:49.926Z | |
Introducing New Neuron GitHub Repositories — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/general/announcements/neuron2.x/github-changes.html | # Introducing New Neuron GitHub Repositories — AWS Neuron Documentation
## Introducing New Neuron GitHub Repositories[#](#introducing-new-neuron-github-repositories "Permalink to this headline")
Starting with Neuron release 2.3, Neuron Github repositories will be migrated to the new [AWS Neuron GitHub Organization](h... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Introducing New Neuron GitHub Repositories — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../_static/styles/the... | 2023-09-29T20:54:50.247Z |
Support — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/general/support.html | # Support — AWS Neuron Documentation
_This document is relevant for_: `Inf1`, `Inf2`, `Trn1`, `Trn1n`
## Support[#](#support "Permalink to this headline")
- [SDK Maintenance Policy](sdk-policy.html)
- [Security Disclosures](security.html)
- [Contact Us](contact.html)
_This document is relevant for_: `Inf1`, `... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Support — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="... | 2023-09-29T20:54:50.573Z |
Tensorflow ResNet 50 Optimization Tutorial — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/src/examples/tensorflow/keras_resnet50/keras_resnet50.html | # Tensorflow ResNet 50 Optimization Tutorial — AWS Neuron Documentation
## Note: this tutorial runs on tensorflow-neuron 1.x only[#](#Note:-this-tutorial-runs-on-tensorflow-neuron-1.x-only "Permalink to this headline")
## Install Dependencies[#](#Install-Dependencies "Permalink to this headline")
```
!pip install pi... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tensorflow ResNet 50 Optimization Tutorial — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../../_static/styles/... | 2023-09-29T20:54:51.014Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuron-inference.rst.txt | ```
.. _inference-tensorflow-neuron:
Inference on Inf1 (``tensorflow-neuron``)
=========================================
.. toctree::
:maxdepth: 1
:hidden:
Tutorials </frameworks/tensorflow/tensorflow-neuron/tutorials/tutorials-tensorflow-neuron>
Additional Examples </frameworks/tensorflow/tensorflo... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _inference-tensorflow-neuron:
Inference on Inf1 (``tensorflow-neuron``)
=========================================
.. toctree::
:maxdepth: 1
:hidden:
Tutorials </framewo... | 2023-09-29T20:54:51.024Z | |
Running OpenPose on Inferentia — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/src/examples/tensorflow/openpose_demo/openpose.html | # Running OpenPose on Inferentia — AWS Neuron Documentation
```
"""
Usage: python convert_graph_opt.py /path/to/graph_opt.pb /path/to/graph_opt_neuron.pb
"""
#import argparse
import numpy as np
import tensorflow as tf
from tensorflow.core.framework.tensor_shape_pb2 import TensorShapeProto
import tensorflow.neuron as t... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Running OpenPose on Inferentia — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../../_static/styles/theme.css?di... | 2023-09-29T20:54:51.332Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuron/tutorials/tutorials-tensorflow-utilizing-neuron-capabilities.rst.txt | ```
Utilizing Neuron Capabilities Tutorials (``tensorflow-neuron``)
===============================================================
* Tensorflow 1.x - Using NEURON_RT_VISIBLE_CORES with TensorFlow Serving :ref:`[html] <tensorflow-serving-neuronrt-visible-cores>`
.. toctree::
:hidden:
/frameworks/tensorflow... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Utilizing Neuron Capabilities Tutorials (``tensorflow-neuron``)
===============================================================
* Tensorflow 1.x - Using NEURON_RT_VISIBLE_CORES with Tens... | 2023-09-29T20:54:51.370Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuron/tutorials/tutorials-tensorflow-nlp.rst.txt | ```
Natural Language Processing (NLP) Tutorials (``tensorflow-neuron``)
===================================================================
* Tensorflow 1.x - Running TensorFlow BERT-Large with AWS Neuron :ref:`[html] <tensorflow-bert-demo>`
* Tensorflow 2.x - HuggingFace DistilBERT with Tensorflow2 Neuron :ref:`[h... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Natural Language Processing (NLP) Tutorials (``tensorflow-neuron``)
===================================================================
* Tensorflow 1.x - Running TensorFlow BERT-Large w... | 2023-09-29T20:54:51.383Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuron/additional-examples.rst.txt | ```
Additional Examples (``tensorflow-neuron``)
===========================================
.. toctree::
:maxdepth: 1
:hidden:
AWS Neuron Samples GitHub Repository <https://github.com/aws-neuron/aws-neuron-samples/tree/master/tensorflow-neuron/inference>
.. include:: /frameworks/tensorflow/tensorflow-ne... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Additional Examples (``tensorflow-neuron``)
===========================================
.. toctree::
:maxdepth: 1
:hidden:
AWS Neuron Samples GitHub Repository <https://git... | 2023-09-29T20:54:51.396Z | |
Working with YOLO v4 using AWS Neuron SDK — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/frameworks/tensorflow/tensorflow-neuron/tutorials/yolo_v4_demo/yolo_v4_demo.html#tensorflow-yolo4 | # Working with YOLO v4 using AWS Neuron SDK — AWS Neuron Documentation
The [Evaluate YOLO v4 on Inferentia](../../../../../src/examples/tensorflow/yolo_v4_demo/evaluate.html) notebook contains an example on how to take an open source YOLO v4 models, and run it on AWS Inferentia.
## Optimizing image pre-processing and... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Working with YOLO v4 using AWS Neuron SDK — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../../../_static/style... | 2023-09-29T20:54:51.707Z |
Neuron Collective Communication — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/general/arch/neuron-features/collective-communication.html | # Neuron Collective Communication — AWS Neuron Documentation
## Contents
- [Introduction](#introduction)
- [trn1.32xlarge topology](#trn1-32xlarge-topology)
- [trn1.2xlarge topology](#trn1-2xlarge-topology)
- [inf2.48xlarge topology](#inf2-48xlarge-topology)
- [Inf2 other instance sizes topologies](#inf2-ot... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Neuron Collective Communication — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../_static/styles/theme.css?dige... | 2023-09-29T20:54:51.860Z |
Running ResNet50 on Inferentia — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/src/examples/tensorflow/tensorflow_resnet50/resnet50.html | # Running ResNet50 on Inferentia — AWS Neuron Documentation
Toggle in-page Table of Contents
Contents
- [Note: this tutorial runs on tensorflow-neuron 1.x only](#Note:-this-tutorial-runs-on-tensorflow-neuron-1.x-only)
- [Introduction:](#Introduction:)
- [Compile for Neuron](#Compile-for-Neuron)
- [Deploy on ... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Running ResNet50 on Inferentia — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../../_static/styles/theme.css?di... | 2023-09-29T20:54:51.993Z |
Evaluate YOLO v3 on Inferentia — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/src/examples/tensorflow/yolo_v3_demo/yolo_v3.html | # Evaluate YOLO v3 on Inferentia — AWS Neuron Documentation
```
yolo_pred = tf.contrib.predictor.from_saved_model('./yolo_v3_coco_saved_model_neuron')
val_coco_root = './val2017'
val_annotate = './annotations/instances_val2017.json'
clsid2catid = {0: 1, 1: 2, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10, 10: 11, 1... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Evaluate YOLO v3 on Inferentia — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../../_static/styles/theme.css?di... | 2023-09-29T20:54:52.153Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuron/api-tfn-analyze-model-api.rst.txt | ```
.. _tensorflow-ref-neuron-analyze_model-api:
TensorFlow 2.x (``tensorflow-neuron``) analyze_model API
========================================================
Method
------
``tensorflow.neuron.analyze_model``
Description
-----------
Analyzes a ``keras.Model`` or a Python callable that can be decorated by
``tf.... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tensorflow-ref-neuron-analyze_model-api:
TensorFlow 2.x (``tensorflow-neuron``) analyze_model API
========================================================
Method
------
``tensorflow.... | 2023-09-29T20:54:52.263Z | |
Running SSD300 with AWS Neuron — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/frameworks/tensorflow/tensorflow-neuron/tutorials/ssd300_demo/ssd300_demo.html#tensorflow-ssd300 | # Running SSD300 with AWS Neuron — AWS Neuron Documentation
Toggle in-page Table of Contents
Contents
- [Table of Contents](#table-of-contents)
- [Launch EC2 instances and update tensorflow-neuron and neuron-cc](#launch-ec2-instances-and-update-tensorflow-neuron-and-neuron-cc)
- [Generating Neuron compatible S... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Running SSD300 with AWS Neuron — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../../../_static/styles/theme.css... | 2023-09-29T20:54:52.385Z |
Running TensorFlow BERT-Large with AWS Neuron — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/frameworks/tensorflow/tensorflow-neuron/tutorials/bert_demo/bert_demo.html#tensorflow-bert-demo | # Running TensorFlow BERT-Large with AWS Neuron — AWS Neuron Documentation
_This document is relevant for_: `Inf1`
## Running TensorFlow BERT-Large with AWS Neuron[#](#running-tensorflow-bert-large-with-aws-neuron "Permalink to this headline")
This example shows a Neuron compatible BERT-Large implementation that is ... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Running TensorFlow BERT-Large with AWS Neuron — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../../../_static/s... | 2023-09-29T20:54:52.511Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuron/api-reference-guide.rst.txt | ```
API Reference Guide (``tensorflow-neuron``)
===========================================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/tensorflow/tensorflow-neuron/api-tracing-python-api
/frameworks/tensorflow/tensorflow-neuron/api-tfn-analyze-model-api
/frameworks/tensorflow/tensorflow-neuron... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">API Reference Guide (``tensorflow-neuron``)
===========================================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/tensorflow/tensorflow-neuron/api-tracing... | 2023-09-29T20:54:52.531Z | |
Using NEURON_RT_VISIBLE_CORES with TensorFlow Serving — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/src/examples/tensorflow/tensorflow_serving_tutorial.html | # Using NEURON\_RT\_VISIBLE\_CORES with TensorFlow Serving — AWS Neuron Documentation
Toggle in-page Table of Contents
Contents
- [Install TensorFlow Model Server and Serving API](#install-tensorflow-model-server-and-serving-api)
- [Export and Compile Saved Model](#export-and-compile-saved-model)
- [Serving Sa... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Using NEURON_RT_VISIBLE_CORES with TensorFlow Serving — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../_static... | 2023-09-29T20:54:52.662Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuron/api-tracing-python-api.rst.txt | ```
.. _tensorflow-ref-neuron-tracing-api:
TensorFlow 2.x (``tensorflow-neuron``) Tracing API
============================================
The Neuron tracing API enables tracing TensorFlow 2.x models for deployment
on AWS Machine Learning Accelerators.
Method
------
``tensorflow.neuron.trace``
Description
--------... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tensorflow-ref-neuron-tracing-api:
TensorFlow 2.x (``tensorflow-neuron``) Tracing API
============================================
The Neuron tracing API enables tracing TensorFlow 2.... | 2023-09-29T20:54:52.787Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuron/api-compilation-python-api.rst.txt | ```
.. _tensorflow-ref-neuron-compile-api:
TensorFlow 1.x (``tensorflow-neuron``) Compilation API
============================================
The Neuron compilation API for TensorFlow 1.x enables compilation of saved
model to an Inferentia target.
Method
------
``tensorflow.neuron.saved_model.compile``
Descriptio... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tensorflow-ref-neuron-compile-api:
TensorFlow 1.x (``tensorflow-neuron``) Compilation API
============================================
The Neuron compilation API for TensorFlow 1.x en... | 2023-09-29T20:54:52.797Z | |
Running Huggingface DistilBERT with TensorFlow-Neuron — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/src/examples/tensorflow/huggingface_bert/huggingface_bert.html | # Running Huggingface DistilBERT with TensorFlow-Neuron — AWS Neuron Documentation
## Contents
- [Setup](#Setup)
- [Download From Huggingface and Compile for AWS-Neuron](#Download-From-Huggingface-and-Compile-for-AWS-Neuron)
- [Run Basic Inference Benchmarking](#Run-Basic-Inference-Benchmarking)
## Running Hug... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Running Huggingface DistilBERT with TensorFlow-Neuron — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../../_sta... | 2023-09-29T20:54:52.966Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuron/api-auto-replication-api.rst.txt | ```
.. _tensorflow-ref-auto-replication-python-api:
TensorFlow Neuron (``tensorflow-neuron``) Auto Multicore Replication (Experimental)
===================================================================================
The Neuron auto multicore replication Python API enables modifying TensorFlow 2.x
traced models so... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tensorflow-ref-auto-replication-python-api:
TensorFlow Neuron (``tensorflow-neuron``) Auto Multicore Replication (Experimental)
========================================================... | 2023-09-29T20:54:53.138Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/tensorflow/tensorflow-neuron/tensorflow-neuron.rst.txt | ```
.. _tensorflow-neuron-rn:
.. _tensorflow-neuron-release-notes:
TensorFlow Neuron (``tensorflow-neuron (TF1.x)``) Release Notes
===============================================================
.. contents:: Table of contents
:local:
:depth: 1
This document lists the release notes for the tensorflow-neuron 1... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tensorflow-neuron-rn:
.. _tensorflow-neuron-release-notes:
TensorFlow Neuron (``tensorflow-neuron (TF1.x)``) Release Notes
=============================================================... | 2023-09-29T20:54:53.151Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuron/misc-tensorflow-neuron.rst.txt | ```
Misc (``tensorflow-neuron``)
============================
.. toctree::
:maxdepth: 1
:hidden:
/release-notes/tensorflow/tensorflow-neuron/tensorflow-neuron
/release-notes/tensorflow/tensorflow-neuron/tensorflow-neuron-v2
/frameworks/tensorflow/tensorflow-neuron/tensorflow2-acc... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Misc (``tensorflow-neuron``)
============================
.. toctree::
:maxdepth: 1
:hidden:
/release-notes/tensorflow/tensorflow-neuron/tensorflow-neuron
/release-notes/t... | 2023-09-29T20:54:53.158Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/tensorflow-neuron/tensorflow2-accelerated-ops.rst.txt | ```
.. _tensorflow-ref-neuron-accelerated-ops:
TensorFlow Neuron (``tensorflow-neuron (TF2.x)``) Accelerated (torch-neuron) Python APIs and Graph Ops
======================================================================================================
This page lists TensorFlow 2.x Python APIs and graph operators th... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tensorflow-ref-neuron-accelerated-ops:
TensorFlow Neuron (``tensorflow-neuron (TF2.x)``) Accelerated (torch-neuron) Python APIs and Graph Ops
==========================================... | 2023-09-29T20:54:53.172Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/compiler/neuron-cc/neuron-cc-ops/neuron-cc-ops-tensorflow.rst.txt | ```
.. _neuron-cc-ops-tensorflow:
TensorFlow Neuron (``tensorflow-neuron (TF1.x)``) Supported operators
=====================================================================
To see a list of supported operators for TensorFlow 1.x, run the following command:
``neuron-cc list-operators --framework TENSORFLOW``
.. _ne... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-cc-ops-tensorflow:
TensorFlow Neuron (``tensorflow-neuron (TF1.x)``) Supported operators
=====================================================================
To see a list of ... | 2023-09-29T20:54:53.251Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/tensorflow/tensorflow-neuron/tensorflow-neuron-v2.rst.txt | ```
.. _tensorflow-neuron-rn-v2:
TensorFlow Neuron (``tensorflow-neuron (TF2.x)``) Release Notes
===============================================================
.. contents:: Table of contents
:local:
:depth: 1
This document lists the release notes for the tensorflow-neuron 2.x packages.
.. _tf-known-issues-a... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _tensorflow-neuron-rn-v2:
TensorFlow Neuron (``tensorflow-neuron (TF2.x)``) Release Notes
===============================================================
.. contents:: Table of content... | 2023-09-29T20:54:53.788Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/tensorflow/training.rst.txt | ```
Training
========
.. include:: training.txt
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Training
========
.. include:: training.txt
</pre></body></html> | 2023-09-29T20:54:53.861Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/mxnet-neuron/index.rst.txt | ```
.. _mxnet-neuron-main:
.. _neuron-mxnet:
MXNet Neuron
============
MXNet Neuron unlocks high-performance and cost-effective deep learning acceleration on AWS Trainium-based and Inferentia-based Amazon EC2 instances.
MXNet Neuron enables native MXNet models to be accelerated on Neuron devices, so you can use your... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _mxnet-neuron-main:
.. _neuron-mxnet:
MXNet Neuron
============
MXNet Neuron unlocks high-performance and cost-effective deep learning acceleration on AWS Trainium-based and Inferentia... | 2023-09-29T20:54:53.951Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/mxnet-neuron/tutorials/tutorials-mxnet-neuron.rst.txt | ```
Tutorials (``mxnet-neuron``)
=============================
.. toctree::
:maxdepth: 1
:hidden:
Computer Vision Tutorials </frameworks/mxnet-neuron/tutorials/tutorials-mxnet-computervision>
Natural Language Processing (NLP) Tutorials </frameworks/mxnet-neuron/tutorials/tutorials-mxnet-nlp>
Util... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Tutorials (``mxnet-neuron``)
=============================
.. toctree::
:maxdepth: 1
:hidden:
Computer Vision Tutorials </frameworks/mxnet-neuron/tutorials/tutorials-mxnet... | 2023-09-29T20:54:53.979Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/mxnet-neuron/mxnet-neuron-setup.rst.txt | ```
.. _mxnet-setup:
MXNet Neuron Setup
==================
.. include:: mxnet-neuron-setup.txt
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _mxnet-setup:
MXNet Neuron Setup
==================
.. include:: mxnet-neuron-setup.txt</pre></body></html> | 2023-09-29T20:54:53.986Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/mxnet-neuron/tutorials/tutorials-mxnet-utilizing-neuron-capabilities.rst.txt | ```
Utilizing Neuron Capabilities Tutorials (``mxnet-neuron``)
==========================================================
* NeuronCore Groups tutorial :ref:`[html] </src/examples/mxnet/resnet50_neuroncore_groups.ipynb>` :mxnet-neuron-src:`[notebook] <resnet50_neuroncore_groups.ipynb>`
``` | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Utilizing Neuron Capabilities Tutorials (``mxnet-neuron``)
==========================================================
* NeuronCore Groups tutorial :ref:`[html] </src/examples/mxnet/res... | 2023-09-29T20:54:53.993Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/mxnet-neuron/tutorials/tutorials-mxnet-nlp.rst.txt | ```
Natural Language Processing (NLP) Tutorials (``mxnet-neuron``)
==============================================================
* MXNet 1.8: Using data parallel mode tutorial :ref:`[html] </src/examples/mxnet/data_parallel/data_parallel_tutorial.ipynb>` :mxnet-neuron-src:`[notebook] <data_parallel/data_parallel_tuto... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Natural Language Processing (NLP) Tutorials (``mxnet-neuron``)
==============================================================
* MXNet 1.8: Using data parallel mode tutorial :ref:`[html] &l... | 2023-09-29T20:54:53.999Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/mxnet-neuron/inference-mxnet-neuron.rst.txt | ```
.. _inference-mxnet-neuron:
Inference (mxnet-neuron)
========================
.. toctree::
:maxdepth: 1
:hidden:
Tutorials </frameworks/mxnet-neuron/tutorials/tutorials-mxnet-neuron>
API Reference Guide </frameworks/mxnet-neuron/api-reference-guide>
Developer Guide </frameworks/mxnet-neuron/... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _inference-mxnet-neuron:
Inference (mxnet-neuron)
========================
.. toctree::
:maxdepth: 1
:hidden:
Tutorials </frameworks/mxnet-neuron/tutorials/tutorials-mx... | 2023-09-29T20:54:54.047Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/mxnet-neuron/api-compilation-python-api.rst.txt | ```
.. _ref-mxnet-neuron-compilation-python-api:
Neuron Apache MXNet (Incubating) Compilation Python API
=======================================================
The MXNet-Neuron compilation Python API provides a method to compile
model graph for execution on Inferentia.
Description
-----------
Within the graph or ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _ref-mxnet-neuron-compilation-python-api:
Neuron Apache MXNet (Incubating) Compilation Python API
=======================================================
The MXNet-Neuron compilation P... | 2023-09-29T20:54:54.227Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/mxnet-neuron/api-reference-guide.rst.txt | ```
API Reference Guide (mxnet-neuron)
==================================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/mxnet-neuron/api-compilation-python-api
.. include:: /frameworks/mxnet-neuron/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;">API Reference Guide (mxnet-neuron)
==================================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/mxnet-neuron/api-compilation-python-api
.. include:: /fr... | 2023-09-29T20:54:54.404Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/libraries/transformers-neuronx/index.rst.txt | ```
.. _transformers_neuronx_readme:
Transformers Neuron (``transformers-neuronx``)
==============================================
.. toctree::
:maxdepth: 1
:hidden:
Setup </libraries/transformers-neuronx/setup/index>
Developer Guide </libraries/transformers-neuronx/developer-guide>
Tutorials ... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _transformers_neuronx_readme:
Transformers Neuron (``transformers-neuronx``)
==============================================
.. toctree::
:maxdepth: 1
:hidden:
Setup </... | 2023-09-29T20:54:54.432Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/mxnet-neuron/tutorials/tutorials-mxnet-computervision.rst.txt | ```
Computer Vision Tutorials (``mxnet-neuron``)
============================================
* ResNet-50 tutorial :ref:`[html] </src/examples/mxnet/resnet50/resnet50.ipynb>` :mxnet-neuron-src:`[notebook] <resnet50/resnet50.ipynb>`
* Model Serving tutorial :ref:`[html] <mxnet-neuron-model-serving>`
* Getting started w... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Computer Vision Tutorials (``mxnet-neuron``)
============================================
* ResNet-50 tutorial :ref:`[html] </src/examples/mxnet/resnet50/resnet50.ipynb>` :mxnet-neur... | 2023-09-29T20:54:54.437Z | |
MXNet 1.8: Getting Started with Gluon Tutorial — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/src/examples/mxnet/mxnet-gluon-tutorial.html | # Getting Started with Gluon Tutorial — AWS Neuron Documentation
Toggle in-page Table of Contents
## MXNet 1.8: Getting Started with Gluon Tutorial[#](#MXNet-1.8:-Getting-Started-with-Gluon-Tutorial "Permalink to this headline")
In this tutorial you will compile and deploy resnet-50 using the newly supported MXNet 1... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MXNet 1.8: Getting Started with Gluon Tutorial — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../_static/styles... | 2023-09-29T20:54:54.545Z |
Tutorial: Neuron Apache MXNet (Incubating) Model Serving — AWS Neuron Documentation | https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/frameworks/mxnet-neuron/tutorials/tutorial-model-serving.html#mxnet-neuron-model-serving | # Neuron Apache MXNet (Incubating) Model Serving — AWS Neuron Documentation
_This document is relevant for_: `Inf1`
## Tutorial: Neuron Apache MXNet (Incubating) Model Serving[#](#tutorial-neuron-apache-mxnet-incubating-model-serving "Permalink to this headline")
This MXNet Neuron Model Serving (MMS) example is adap... | <!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tutorial: Neuron Apache MXNet (Incubating) Model Serving — AWS Neuron Documentation</title>
<!-- Loaded before other Sphinx assets -->
<link href="../../../_sta... | 2023-09-29T20:54:54.653Z |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/mxnet-neuron/troubleshooting-guide.rst.txt | ```
.. _mxnet_troubleshooting_guide:
Troubleshooting Guide for Neuron Apache MXNet (Incubating)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. contents:: Table of Contents
:local:
:depth: 2
Inference Runtime Error
=======================
Out-of-memory error when calling Symbol API bind() too m... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _mxnet_troubleshooting_guide:
Troubleshooting Guide for Neuron Apache MXNet (Incubating)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. contents:: Table of Contents
:... | 2023-09-29T20:54:54.701Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/mxnet-neuron/misc-mxnet-neuron.rst.txt | ```
Misc (mxnet-neuron)
===================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/mxnet-neuron/troubleshooting-guide
What's New </release-notes/mxnet-neuron/mxnet-neuron>
/release-notes/compiler/neuron-cc/neuron-cc-ops/neuron-cc-ops-mxnet
.. include:: /frameworks/mxnet-neuron/misc-mxnet... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Misc (mxnet-neuron)
===================
.. toctree::
:maxdepth: 1
:hidden:
/frameworks/mxnet-neuron/troubleshooting-guide
What's New </release-notes/mxnet-neuron/mxnet-... | 2023-09-29T20:54:54.713Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/general/appnotes/mxnet-neuron/flex-eg.rst.txt | ```
.. _flexeg:
Flexible Execution Group (FlexEG) in Neuron-MXNet
=================================================
Introduction
------------
Inf1 instances are available with a different number of Inferentia
chips, each Inferentia chip is combined of 4 NeuronCores and an Inf1
instance includes 4 to 64 NeuronCores d... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _flexeg:
Flexible Execution Group (FlexEG) in Neuron-MXNet
=================================================
Introduction
------------
Inf1 instances are available with a different nu... | 2023-09-29T20:54:54.727Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/release-notes/compiler/neuron-cc/neuron-cc-ops/neuron-cc-ops-mxnet.rst.txt | ```
.. _neuron-cc-ops-mxnet:
Neuron Apache MXNet (Incubating) Supported operators
====================================================
To see a list of supported operators for MXNet, run the following command:
``neuron-cc list-operators --framework MXNET``
.. _neuron-compiler-release-1600:
Neuron Compiler Release... | <html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.. _neuron-cc-ops-mxnet:
Neuron Apache MXNet (Incubating) Supported operators
====================================================
To see a list of supported operators for MXNet, run the... | 2023-09-29T20:54:54.734Z | |
https://awsdocs-neuron.readthedocs-hosted.com/en/v2.14.1/_sources/frameworks/mxnet-neuron/developer-guide.rst.txt | ```
Developer Guide
===============
.. toctree::
:maxdepth: 1
:hidden:
/general/appnotes/mxnet-neuron/flex-eg
.. include:: /frameworks/mxnet-neuron/developer-guide.txt
``` | <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
:hidden:
/general/appnotes/mxnet-neuron/flex-eg
.. include:: /frameworks/mxnet-neuron/developer-guide.txt</pre>... | 2023-09-29T20:54:54.739Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.