femtoGPT logo

femtoGPT

keyvank/femtoGPT

Pure Rust implementation of a minimal Generative Pretrained Transformer

GraphCanon updated Oct 15, 2026 · GitHub synced Oct 15, 2026

935 stars67 forksLast push Oct 21, 2025 Rust MIT

Decision brief

Unverified catalog guidance: A minimalistic GPT-style language model framework in Rust, suitable for both CPU and GPU inference and training via OpenCL.

Good fit when

  • Unverified catalog guidance: When you want a pure Rust implementation that provides an easy-to-understand basis for learning about the inner workings of AI models.
  • Unverified catalog guidance: For scenarios where the use of lightweight OpenCL on both NVIDIA and AMD GPUs is preferred over CUDA-specific setups.

Avoid when

  • Unverified catalog guidance: When high performance is required as femtoGPT operates relatively slower compared to optimized models, especially for large-scale training.
  • Unverified catalog guidance: If your project strictly needs CUDA-based optimization specific to NVIDIA GPUs, given that femtoGPT leverages OpenCL for GPU support.
Requirements:
Requires the Rust toolchain installed on your system.; If targeting GPU usage, correct installation of GPU drivers along with OpenCL runtimes is necessary.

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Slowing (358d since push)
As of Oct 15, 2026
Provenance
Not a fork · Personal account
As of Oct 15, 2026
Security (OSV)
No lockfile
As of Jul 11, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

Package installation is not established from the available documentation. Check the source repository for setup instructions.

git clone https://github.com/keyvank/femtogpt
Source repository

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

femtoGPT is an open-source project offering a pure Rust implementation for training and inference on GPT-style language models, supporting both CPU and GPU via OpenCL.

Capability facts

Languages
rust

Source: github.language · Oct 15, 2026

Categories

Tags

README

:robot: femtoGPT femtoGPT is a pure Rust implementation of a minimal Generative Pretrained Transformer. It can be used for both inference and training of GPT style language models using CPUs and GPUs ! ( HEY! I'm also writing a book, which will soon discuss the implementation of...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.