vits icon indicating copy to clipboard operation
vits copied to clipboard

mac m1 inference

Open zdj97 opened this issue 2 years ago • 2 comments

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

zdj97 avatar Apr 20 '23 03:04 zdj97

mkdir monotonic_align/monotonic_align

then run

python setup.py build_ext --inplace

gfreezy avatar May 23 '23 04:05 gfreezy

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?

zhouhao27 avatar May 03 '24 15:05 zhouhao27