Latest / AI & agents

Cant

github.com · Package · Maintained

Small Rust machine learning library with PyTorch-style functionality

Visit github.com ↗Share

Stars
80
Forks
3
Open issues
5
Last commit
Found
16 months ago

GitHub figures as of . They are context, not a ranking.

Cant is a compact neural network library written in Rust, built to show how frameworks like PyTorch work. Its repository describes support for Metal and CUDA backends, and the maker wrote it to learn the internals and improve their own coding standards.

Positioned as an alternative to PyTorch.

Repository description on GitHub: “Clean, simple, hackable ml framework in rust. Supports metal and cuda”

What it does

  • Automatic differentiation with a backward pass for gradients
  • Tensor operations with broadcasting support
  • CPU operations built on ndarray
  • Metal GPU acceleration on macOS

Good for

  • Study how automatic differentiation works in a small Rust library
  • Train small neural networks with a PyTorch-like API in Rust

Suits: Rust developers learning how deep learning frameworks work.

Worth knowing: Built as a learning project, so it is not presented as a production framework

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Cant on , when TuckerBMorgan posted it to Show HN. GitHub listed no published releases for TuckerBMorgan/can-t when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 50 points, 5 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 50 points, 5 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: TuckerBMorgan/can-t
  2. Found: TuckerBMorgan posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was Cant released?
No dated release record is available. Kip found it on Show HN on 27 Jul 2025.
Is Cant open source?
Its source is public on GitHub at TuckerBMorgan/can-t; check the repository for licence terms.
What does Cant run on?
Library, macOS.
Is Cant free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Cant still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryTuckerBMorgan/can-t
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-44698946. Summary written by KipFound’s editor.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.