Open6

MacでWhisper.cppを動かしてみた

SutohSutoh
$ ./models/generate-coreml-model.sh base

Torch version 2.3.1 has not been tested with coremltools. You may run into unexpected errors. Torch 2.2.0 is the most recent version that has been tested.

エラーでちゃった

SutohSutoh

嘘言われて自分で調べた結果、下記でうまくいった

pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0
SutohSutoh

numpyが2.0を使ってたら怒られた。こういうところのPythonのよくないところ

pip install numpy==1.26.4
SutohSutoh

Python 3.12も3.11も変なエラー出た。recommendで3.10ってあるから3.10使うしかない。これはrequiredでは?