Show HN: Attorch – PyTorch's nn module written in Python using OpenAI's Triton attorch is a subset of PyTorch's nn module, written purely in Python using OpenAI's Triton. Its goal is to be an easily hackable, self-contained, and readable collection of neural network modules whilst maintaining or improving upon the efficiency of PyTorch. In other words, it intends to be a forkable project endowed with a simple, intuitive design that can serve as an accessible starting point for those who are seeking to develop custom deep learning operations but are not satisfied with the speed of a pure PyTorch implementation and do not have the technical expertise or resources to write CUDA kernels. There already exist a number of wonderful PyTorch-like frameworks powered by Triton, but most concentrate solely on Transformers and NLP applications, whereas attorch aims to be more inclusive by also presenting a variety of layers pertaining to areas besides NLP such as computer vision. Moreover, attorch is not an inference-only package and fully supports both forward and backward passes, meaning it can be used during training as well as inference, though its performance for the latter is generally not on par with dedicated inference engines. Questions and feedback are welcome in the comments sections. https://ift.tt/B8qoHKf April 30, 2024 at 01:07AM
Show HN: Attorch – PyTorch's nn module written in Python using OpenAI's Triton https://ift.tt/jxJBVfO
Related Articles
Show HN: Subsidian – Visualize a Substack archive in Obsidian graph view https://ift.tt/fZybUtIShow HN: Subsidian – Visualize a Substack archive in Obsidian graph vi… Read More
Show HN: Keep – GitHub Actions for your monitoring tools https://ift.tt/jEMfsSoShow HN: Keep – GitHub Actions for your monitoring tools Hi Hacker New… Read More
Show HN: Chalk.ist – Create beautiful images of your source code https://ift.tt/dezQVp8Show HN: Chalk.ist – Create beautiful images of your source code https… Read More
Show HN: The simplest way to validate your idea https://ift.tt/G3DWoILShow HN: The simplest way to validate your idea Real idea (The Facts C… Read More
Show HN: Ulitza – street names worldwide https://ift.tt/nDC1iEjShow HN: Ulitza – street names worldwide I wanted to know what the mos… Read More
Show HN: Simple passwordless authentication for your website https://ift.tt/eAYZhOBShow HN: Simple passwordless authentication for your website Solo foun… Read More
Show HN: Transform any website or eBook into a research paper (no LLM required) https://ift.tt/Oj1wEvRShow HN: Transform any website or eBook into a research paper (no LLM … Read More
Show HN: Recognize license plates using fine-tuned yolov8, OCR and IP camera https://ift.tt/Lzk2VmcShow HN: Recognize license plates using fine-tuned yolov8, OCR and IP … Read More
0 Comments: