Skip to content

uetuluk/xcodec2-infer-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xcodec2-infer-lib

CPU support for https://huggingface.co/HKUSTAudio/xcodec2

Setting up for dev

conda create xcodec2-infer-lib python=3.12 -y
conda activate xcodec2-infer-lib
pip install -e .

Setting up for use

pip install xcodec2-infer-lib

Testing

Replace your_model_path with the absolute path to your model.

export MODEL_PATH="your_model_path" 
cd tests
pytest test_xcodec.py

Model

You can download the model from https://huggingface.co/HKUSTAudio/xcodec2.

Using

Check out the example at https://huggingface.co/HKUSTAudio/Llasa-3B.

About

CPU support for xcodec2

Topics

Resources

License

Stars

Watchers

Forks

Contributors