{"id":897,"date":"2025-08-14T11:25:37","date_gmt":"2025-08-14T11:25:37","guid":{"rendered":"https:\/\/easyaccsoft.com\/webdesign\/?p=897"},"modified":"2025-08-14T11:25:37","modified_gmt":"2025-08-14T11:25:37","slug":"whisper-working","status":"publish","type":"post","link":"https:\/\/easyaccsoft.com\/webdesign\/2025\/08\/14\/whisper-working\/","title":{"rendered":"whisper  working"},"content":{"rendered":"\n<p>Got it \u2014 if Option 2 didn\u2019t work, we\u2019ll go with <strong>Option 1<\/strong> and reinstall PyTorch in CPU-only mode so Whisper stops throwing the <code>could not create a primitive<\/code> error.<\/p>\n\n\n\n<p>Here\u2019s exactly what you should run <strong>inside your venv<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip uninstall torch -y\npip cache purge\npip install torch==2.4.1+cpu torchvision==0.19.1+cpu torchaudio==2.4.1+cpu --index-url https:\/\/download.pytorch.org\/whl\/cpu\n<\/code><\/pre>\n\n\n\n<p>Then test Whisper again with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>whisper fung.ogg --model tiny --language zh --device cpu --fp16 False\n<\/code><\/pre>\n\n\n\n<p>This will:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Remove the old Torch build that was trying to use oneDNN\/MKL.<\/li>\n\n\n\n<li>Install a clean CPU-only build that works fine on Windows without special CPU instructions.<\/li>\n\n\n\n<li>Use the <strong><code>tiny<\/code><\/strong> model so it downloads quickly and runs faster.<\/li>\n<\/ol>\n\n\n\n<p>Do you want me to also tweak your <code>transcribe_zh.bat<\/code> so it always uses this <code>tiny<\/code> model for Chinese and avoids FP16 automatically?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Got it \u2014 if Option 2 didn\u2019t work, we\u2019ll go with Option 1 and reinstall PyTorch in CPU-only mode so Whisper stops throwing the could not create a primitive error. Here\u2019s exactly what you should run inside your venv: Then test Whisper again with: This will: Do you want me to also tweak your transcribe_zh.bat [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-897","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/easyaccsoft.com\/webdesign\/wp-json\/wp\/v2\/posts\/897","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easyaccsoft.com\/webdesign\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easyaccsoft.com\/webdesign\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easyaccsoft.com\/webdesign\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/easyaccsoft.com\/webdesign\/wp-json\/wp\/v2\/comments?post=897"}],"version-history":[{"count":1,"href":"https:\/\/easyaccsoft.com\/webdesign\/wp-json\/wp\/v2\/posts\/897\/revisions"}],"predecessor-version":[{"id":898,"href":"https:\/\/easyaccsoft.com\/webdesign\/wp-json\/wp\/v2\/posts\/897\/revisions\/898"}],"wp:attachment":[{"href":"https:\/\/easyaccsoft.com\/webdesign\/wp-json\/wp\/v2\/media?parent=897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easyaccsoft.com\/webdesign\/wp-json\/wp\/v2\/categories?post=897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easyaccsoft.com\/webdesign\/wp-json\/wp\/v2\/tags?post=897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}