LibreAI / AI Music / HS-TasNet
// ai-music ยท lucidrains/HS-TasNet

HS-TasNet

Real-time, low-latency music source separation in PyTorch.

๐Ÿ’Ž Hidden gemโ˜… 112 starsโ‘‚ 15 forksMITupdated 2026-08
โ–ฆ visual โ€” this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

HS-TasNet is an open-source ai music project by lucidrains (lucidrains/HS-TasNet on GitHub). It has 112 GitHub stars and 15 forks, is released under the MIT license, and was last updated on GitHub on 25 August 2026.

GitHub stars
112
Forks
15
License
MIT
Last updated on GitHub
25 August 2026
Category
AI Music
Listing
Hidden gem โ€” a shorter page for a lesser-known project
Official site
GitHub
// how it works

How it works

  1. Clone the repo

    Get the implementation.

  2. Install PyTorch deps

    Set up the training environment.

  3. Prepare stems data

    Get separated-track training data.

  4. Train or infer

    Run separation on your mixes.

// features

Why people love it

Source separation

Splits mixes into stems.

Real-time design

Low-latency architecture.

Paper implementation

Hybrid Spectrogram-TasNet in code.

PyTorch

Standard deep-learning stack.

Music focused

Tuned for musical sources.

MIT licensed

Free for research and products.

Advertisement
// run it

Run it yourself

  1. Step 1 โ€” Clone the repo

    Download the source and enter the folder.

    git clone https://github.com/lucidrains/HS-TasNet.git
    cd HS-TasNet
  2. Step 2 โ€” Install deps

    Set up the Python environment.

    pip install -r requirements.txt
  3. Step 3 โ€” Run the model

    Follow the README training/inference commands.

    # see README for the exact training command
// use cases

What you can build

Advertisement
// faq

Questions, answered

What is HS-TasNet?

A PyTorch implementation of real-time music source separation, at lucidrains/HS-TasNet.

What does source separation mean?

Splitting a mixed track into vocals, drums, bass, and so on.

Is it really real-time?

The architecture targets low latency; actual speed depends on hardware.

Is it free?

Yes. MIT licensed.

Do I need training data?

Yes. Separated stems are needed to train; see the README.

// keep exploring

Similar tools

AI Music

instruct-MusicGen

Research code for instruction-based text-to-music editing of music models.

โ˜… 111 starsApache-2.0
View guide โ†’
AI Music

minimaxmusic.cpp

Run the MiniMax Music 3 generator locally in C++.

โ˜… 35 starsMIT
View guide โ†’
Audio

pyannote-audio

Neural building blocks for speaker diarization: speech activity detection, speaker change detection, overlapped speech detection, speaker embedding

โ˜… 10.6k starsMIT
View guide โ†’
AI Music

stemgen-rt

Run stemgen-rt locally: stemgenrt is a real-time low-latency music source separ.

โ˜… 46 starsMIT
View guide โ†’
AI Music

moises-light

A resource-efficient music source separation model in PyTorch.

โ˜… 36 starsMIT
View guide โ†’
AI Music

MSST-WebUI

A WebUI app for Music-Source-Separation-Training and we bundled UVR together!

โ˜… 1.3k starsAGPL-3.0
View guide โ†’
// alternatives

Alternatives in AI Music

The most-starred other AI Music projects in the LibreAI catalogue โ€” the realistic shortlist if HS-TasNet is not the right fit.

Get HS-TasNet

Free and open โ€” grab the source, star the repo, and start creating.