Atex
A TensorFlow Extension: GPU performance tools for TensorFlow.
Install / Use
/learn @NVIDIA/AtexREADME
NVIDIA/Atex: A TensorFlow Extension
This repository holds NVIDIA-maintained utilities to improve GPU performance and usability for Tensorflow training and inference. The intent of Atex is to make up-to-date utilities available to users as quickly as possible. As such, these utilities are experimental. Some we will upstream and support permanently in projects such as TensorFlow or Keras. Others will eventually be discontinued.
Contents
1. Fused Layer/Instance Normalization
nv_norms.LayerNormalization and nv_norms.InstanceNormalization are fused
implementations designed to replace the tf.keras.layers.LayerNormalization and
tfa.layers.InstanceNormalization. The Keras and Addons implementations compose
many ops, such as Mul, Add, etc., to compute the stats and then scale/offset the
results. In contrast, the NVIDIA fused implementation provided in nv_norms
compute the norms in a single operation, eliminating many expensive round-trips
to device memory and significantly improving performance. More in
nv_norms.
2. Structured Sparsity
This is a project for Tensorflow on supporting fine-grained structured sparsity for the NVIDIA Ampere GPU architecture. We only need users to add a couple lines to their python script and then the pretrained model can be automatically pruned to benefit from the sparse Tensor Cores (available from Ampere GPUs) to achieve faster inference speed after deployment. More in structured_sparsity.
Installation from source
To build this package from source, run the following command in the root directory of this package.
pip install .
Contribution guidelines
Please review the Contribution Guidelines.
GitHub issues will be used for tracking requests and bugs.
License
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
