At

Attorch – PyTorch's nn module written in Python using OpenAI's Triton

Hacker News

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.

Share card

Actual performance

4points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: computer, openai, using · Missing: mac, agents, macos
81%81% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: supports · Missing: reddit linkedin, podcasting, created
78%78% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: exist, ide, io · Missing: https docs, excited, just released
69%69% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRFits verified-revenue profile · Missing: mobile apps, ios, personal
52%52% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: intuitive · Missing: plus, platform, reviews
49%49% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: training · Missing: arr, mrr, revenue
16%16% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Co
Cocktail search written in Python using scrapy and sphinx53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cocktail search written in Python using scrapy and sphinx

Hacker News29
Gs
Gsubpy, an interpreter for subset of Python, written in Go55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Gsubpy, an interpreter for subset of Python, written in Go

Hacker News65
UR
URL shortner written in Python using Flask50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

URL shortner written in Python using Flask

Hacker News4
In
Incremental-Backups-Tools, written in Python63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Incremental-Backups-Tools, written in Python

Hacker News3
A
A poetry generator written in Python named poemy50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A poetry generator written in Python named poemy

Hacker News2
Br
Breakout Written Using WebGL69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Breakout Written Using WebGL

Hacker News3
Ve
Venvrc – simple Python-venv wrapper written in Bash58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Venvrc – simple Python-venv wrapper written in Bash

Hacker News1
Gr
Graph Database written in Python using wiredtiger with Gremlin querying57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Graph Database written in Python using wiredtiger with Gremlin querying

Hacker News23
So
Solid IMAP and SMTP in Go Using Python52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Solid IMAP and SMTP in Go Using Python

Hacker News2
Us
Using functions to construct Regex in Python54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Using functions to construct Regex in Python

Hacker News105