jaywalnut310 / vits

VITS: Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
https://jaywalnut310.github.io/vits-demo/index.html
MIT License
6.48k stars 1.21k forks source link

mac m1 inference #142

Open zdj97 opened 1 year ago

zdj97 commented 1 year ago

i can not run python setup.py build_ext --inplace in my mac m1. there is error : error: could not create 'monotonic_align/core.cpython-39-darwin.so': No such file or directory

gfreezy commented 1 year ago
mkdir monotonic_align/monotonic_align

then run

python setup.py build_ext --inplace
zhouhao27 commented 2 months ago

I even can't install requirements in my Mac m2:

Collecting numpy==1.18.5 (from -r requirements.txt (line 4)) Using cached numpy-1.18.5.zip (5.4 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [54 lines of output]

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
              self.rng_state.ctr.v[i] = counter[i]

          self._reset_state_variables()

          self._bitgen.state = <void *>&self.rng_state
          self._bitgen.next_uint64 = &philox_uint64
                                     ^
  ------------------------------------------------------------

What could be the cause? Anybody is using Mac?