salesforce/pytorch-qrnn
PyTorch implementation of the Quasi-Recurrent Neural Network - up to 16 times faster than NVIDIA's cuDNN LSTM observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3262
- days_rel: n/a
- days_push: 1663
- n_releases_24m: 0
Adoption not part of the score
1263 stars · 192 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PyTorch implementation of the Quasi-Recurrent Neural Network (QRNN) from Salesforce Research, offering LSTM-like accuracy with 2-17x faster training than cuDNN LSTM. It provides a drop-in replacement API for PyTorch's LSTM/GRU modules with both GPU and CPU implementations.
Use cases
- speed up LSTM training in PyTorch
- replace LSTM or GRU layers with a faster recurrent network
- train language models faster with AWD-QRNN
- run recurrent networks across multiple GPUs with DataParallel
- build sequence models with fewer compute costs
When to choose
- you need faster recurrent network training than cuDNN LSTM on NVIDIA GPUs
- you want a drop-in LSTM/GRU replacement in PyTorch with similar accuracy
- you are doing language modeling and want near state-of-the-art results with quicker training
When to avoid
- you need bidirectional recurrent layers (not supported)
- you work only on CPU where speedups are smaller
- you need actively maintained code with recent PyTorch compatibility
- you prefer transformer-based architectures over RNNs
Facets
library · maturity maintenance
machine-learning deep-learning machine-learning deep-learning python cross-platform pytorch qrnn quasi-recurrent-neural-network lstm-alternative rnn cuda language-modeling natural-language-processing gpu linux
1 source
- readme: https://github.com/salesforce/pytorch-qrnn · fetched 2026-08-28 · ae38c6b42246
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| salesforce/pytorch-qrnn | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="salesforce/pytorch-qrnn")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem