Closed mqsnn closed 8 months ago
happens whenever I run start_macos.sh
Ok, the main error is:
OSError: dlopen(/Users/masong/one-click-installers-tts-6.0/installer_files/env/lib/python3.10/site-packages/torchaudio/lib/libtorchaudio.so, 0x0006): Symbol not found: __ZN2at4_ops6conv1d4callERKNS_6TensorES4_RKN3c108optionalIS2_EENS5_8ArrayRefIxEENSA_INS5_6SymIntEEESB_x
Referenced from: <9018785F-6FE9-3391-92DC-92C02210FCD4> /Users/masong/one-click-installers-tts-6.0/installer_files/env/lib/python3.10/site-packages/torchaudio/lib/libtorchaudio.so
Expected in: <78DA4C67-8BC7-3995-8324-D2FD95E57BA4> /Users/masong/one-click-installers-tts-6.0/installer_files/env/lib/python3.10/site-packages/torch/lib/libtorch_cpu.dylib
which is related to these issues: https://github.com/rsxdalv/tts-generation-webui/issues/196 https://github.com/pytorch/audio/issues/62
This might be the fix, run this with cmd_macos.sh
conda install -y -k torchaudio=2.0.0 -c pytorch -c nvidia/label/cuda-11.7.0 -c nvidia
As for the big error about /history etc, that has been fixed in the latest patch.
Ok, the main error is:
OSError: dlopen(/Users/masong/one-click-installers-tts-6.0/installer_files/env/lib/python3.10/site-packages/torchaudio/lib/libtorchaudio.so, 0x0006): Symbol not found: __ZN2at4_ops6conv1d4callERKNS_6TensorES4_RKN3c108optionalIS2_EENS5_8ArrayRefIxEENSA_INS5_6SymIntEEESB_x Referenced from: <9018785F-6FE9-3391-92DC-92C02210FCD4> /Users/masong/one-click-installers-tts-6.0/installer_files/env/lib/python3.10/site-packages/torchaudio/lib/libtorchaudio.so Expected in: <78DA4C67-8BC7-3995-8324-D2FD95E57BA4> /Users/masong/one-click-installers-tts-6.0/installer_files/env/lib/python3.10/site-packages/torch/lib/libtorch_cpu.dylib
which is related to these issues: #196 pytorch/audio#62
This might be the fix, run this with cmd_macos.sh
conda install -y -k torchaudio=2.0.0 -c pytorch -c nvidia/label/cuda-11.7.0 -c nvidia
im sorry im new to all this. how do i run something with a shell script?
"run this with cmd_macos.sh" is what I'm referring to
Run cmd_macos.sh then you will have a window where you can enter the command above.
when i run "sh cmd_macos.sh" in terminal it gives me this error:
(ttsgen9) masong@masons-Air-2 one-click-installers-tts-6.0 % sh cmd_macos.sh
cmd_macos.sh: line 12: syntax error near unexpected token (' cmd_macos.sh: line 12:
bash --init-file <(echo "source \"$CONDA_ROOT_PREFIX/etc/profile.d/conda.sh\" && conda activate \"$INSTALL_ENV_DIR\"")'
Ok i changed the cmd_macos extension to .command and was able to run it. It gave me a bunch of errors, but still allowed me to enter the line you previously gave. I went back to the default term and ran "sh start_macos.sh" and its working now.
Ok, I will close this issue. If you have a new problem, feel free to open a new issue.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. fairseq 0.12.2 requires hydra-core<1.1,>=1.0.7, but you have hydra-core 1.3.2 which is incompatible. fairseq 0.12.2 requires omegaconf<2.1, but you have omegaconf 2.3.0 which is incompatible. Successfully installed antlr4-python3-runtime-4.9.3 hydra-core-1.3.2 omegaconf-2.3.0 Checking if node is installed... v18.16.1 Installing node_modules...
added 480 packages, and audited 481 packages in 19s
146 packages are looking for funding run
npm fund
for details5 vulnerabilities (1 low, 4 moderate)
To address issues that do not require attention, run: npm audit fix
To address all issues, run: npm audit fix --force
Run
npm audit
for details. Successfully installed node_modules Building react-ui...Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
[ ] - info Generating static pages (0/18) Error occurred prerendering page "/history/outputs". Read more: https://nextjs.org/docs/messages/prerender-error Error: ENOENT: no such file or directory, scandir '/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/outputs' at Object.readdirSync (node:fs:1452:3) at getDataFromJSON (/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/.next/server/chunks/695.js:92:60) at getStaticProps (/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/.next/server/pages/history/[name].js:69:105) at /Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/server/render.js:437:20 at /Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/server/lib/trace/tracer.js:113:36 at NoopContextManager.with (/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7057) at ContextAPI.with (/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:516) at NoopTracer.startActiveSpan (/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18086) at ProxyTracer.startActiveSpan (/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18847) at /Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/server/lib/trace/tracer.js:102:107
Error occurred prerendering page "/history/favorites". Read more: https://nextjs.org/docs/messages/prerender-error Error: ENOENT: no such file or directory, scandir '/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/favorites' at Object.readdirSync (node:fs:1452:3) at getDataFromJSON (/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/.next/server/chunks/695.js:92:60) at getStaticProps (/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/.next/server/pages/history/[name].js:69:105) at /Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/server/render.js:437:20 at /Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/server/lib/trace/tracer.js:113:36 at NoopContextManager.with (/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7057) at ContextAPI.with (/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:516) at NoopTracer.startActiveSpan (/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18086) at ProxyTracer.startActiveSpan (/Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18847) at /Users/masong/one-click-installers-tts-6.0/tts-generation-webui/react-ui/node_modules/next/dist/server/lib/trace/tracer.js:102:107
Done!