← All projects
Project record2 mentions
Originally shared on Hacker News

eugen-sparse

A custom GPU kernel written in Triton that accelerates training with a sparse feed-forward network (FFN). With K=256 (256 of 4,096 FFN neurons active per token, 6.25%), it achieved 36% higher training throughput than the dense counterpart. Tested so far on a single NVIDIA RTX PRO 6000 GPU and requires GPU hardware with BF16 support.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. eugen-sparse

    A custom GPU kernel written in Triton that accelerates training with a sparse feed-forward network (FFN). With K=256 (256 of 4,096 FFN neurons active per token, 6.25%), it achieved 36% higher training throughput than the dense counterpart. Tested so far on a single NVIDIA RTX PRO 6000 GPU and requires GPU hardware with BF16 support.

    Posted by @jakcwi · Original source ↗

    Story title · @jakcwi · · Source ↗

    Show HN: Sparse kernel delivering 36% higher training throughput

    Submitted URL · @jakcwi · · Source ↗

    https://huggingface.co/JakCwi/eugen-sparse

    Source text · @jakcwi · · Source ↗

    I developed a custom GPU kernel in Triton to accelerate training with a sparse feed-forward network (FFN).

    Source text · @jakcwi · · Source ↗

    With K=256, activating 256 of 4,096 FFN neurons per token (6.25%), the sparse model achieved 36% higher training throughput than its dense counterpart.

    Source text · @jakcwi · · Source ↗

    The kernel has so far been tested on a single NVIDIA RTX PRO 6000 GPU and requires GPU hardware with BF16 support.

    Source text · @jakcwi · · Source ↗

    More about EUGEN and my work: https://jakubcwirlej.com/ai-dev/
  2. eugen-sparse

    A 160M-parameter code model trained by the submitter on a single GPU, achieving 22.56% on the HumanEval benchmark.

    Posted by @jakcwi · Original source ↗

    Story title · @jakcwi · · Source ↗

    Show HN: I trained a 160M code model on one GPU and got 22.56% on HumanEval

    Submitted URL · @jakcwi · · Source ↗

    https://jakubcwirlej.com/ai-dev/