Cant build repeat-interleave-mps, I have MacBook Pro 16 m1
In conda I’m create env with python 3.10.9
Make
git clone -b repeat-interleave-mps https://github.com/jazzysoggy/pytorch.git
After
cd pytorch > conda install cmake ninja > pip install -r requirements.txt > export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
python setup.py develop
After any time I’m see this error in terminal:
/Volumes/Developers/Python/pytorch/aten/src/ATen/native/mps/operations/Repeat.mm:199:5: error: use of undeclared identifier 'target_size'
target_size[idx] = padded_size[idx] * repeats[idx];
^
/Volumes/Developers/Python/pytorch/aten/src/ATen/native/mps/operations/Repeat.mm:199:17: error: use of undeclared identifier 'idx'
target_size[idx] = padded_size[idx] * repeats[idx];
^
/Volumes/Developers/Python/pytorch/aten/src/ATen/native/mps/operations/Repeat.mm:199:24: error: use of undeclared identifier 'padded_size'
target_size[idx] = padded_size[idx] * repeats[idx];
^
/Volumes/Developers/Python/pytorch/aten/src/ATen/native/mps/operations/Repeat.mm:199:36: error: use of undeclared identifier 'idx'
target_size[idx] = padded_size[idx] * repeats[idx];
^
/Volumes/Developers/Python/pytorch/aten/src/ATen/native/mps/operations/Repeat.mm:199:51: error: use of undeclared identifier 'idx'
target_size[idx] = padded_size[idx] * repeats[idx];
^
5 errors generated.
[433/1046] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/unpickler.cpp.o
ninja: build stopped: subcommand failed.
Why I can’t build this branch? I try install night release but he cant support MPS. Whisper can describe only cpu mode.