Skip to main content

Trying to achieve M chip Macbook support for https://huggingface.co/HKUSTAudio/xcodec2.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xcodec2_infer_lib-0.1.1.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xcodec2_infer_lib-0.1.1-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

Details for the file xcodec2_infer_lib-0.1.1.tar.gz.

File metadata

  • Download URL: xcodec2_infer_lib-0.1.1.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for xcodec2_infer_lib-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cd33fe52995dd67266e80aac0ebac117b002a87f35f9f155cc3658a5ab8e2000
MD5 ed292fd06e8f89774782b5d4339f441f
BLAKE2b-256 8aa523e7a77410c6824de7f23217d1228e0974ae5f3b58ff0faa8ca91fe31bac

See more details on using hashes here.

File details

Details for the file xcodec2_infer_lib-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for xcodec2_infer_lib-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 196ab78af452b19a70d45a64d067dd7b246db3ac2528bd7038efa08bcda39df4
MD5 a1defc0fbea4f25dd43c46c87e010414
BLAKE2b-256 b6090c4a85d65c978d37ae99faba38566ebfa6382c65d38250d6daf1e31a594f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page