Giter Site home page Giter Site logo

atex's Introduction

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

BSD License 2.0

atex's People

Contributors

kaixih avatar nluehr avatar trevor-m avatar wenscarl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

atex's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.