OpenBMB / OpenBMB/VoxCPM

Steps to run it on wsl + rocm [not issue is a howto]

Open
#203 0 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
37.8k
Forks
4.3k
Avg merge
7m
Merged PRs (30d)
1

Description

My setup is an 13600k, 32gb ram, rx7800xt, windows 10, wsl2 (ubuntu 24.04)

rocm7.2.1
python 3.12
torch-2.9.1
triton-3.5.1
torchaudio-2.9.0

torchcodec dont work with rocm so need to monkeypatch (app.py in this case) on the beginning by adding

import torchaudio

def _fake_load_with_torchcodec(path, *args, **kwargs):
    return torchaudio.load(path, *args, **kwargs)

def _fake_save_with_torchcodec(path, tensor, sample_rate, *args, **kwargs):
    return torchaudio.save(path, tensor, sample_rate, *args, **kwargs)

torchaudio.load_with_torchcodec = _fake_load_with_torchcodec
torchaudio.save_with_torchcodec = _fake_save_with_torchcodec

also i had to set optimize to False in self.voxcpm_model = voxcpm.VoxCPM(voxcpm_model_path=model_dir, optimize=True)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the issue's WSL2, ROCm, Python, PyTorch, and torchaudio setup details, then inspect app.py and the VoxCPM initialization mentioned in the report. Document the required compatibility workarounds and confirm that the documented steps let a WSL2 user run the project with this setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.