pyannote-audio icon indicating copy to clipboard operation
pyannote-audio copied to clipboard

Remove pytorch-lightning

Open luohao123 opened this issue 7 months ago • 5 comments

 File "lightning/__init__.py", line 16, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "lightning/__version__.py", line 8, in <module>
FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/8t/pgfm0mhj1wdbx5tq1ctgnvtw0000gn/T/_MEImSszZh/lightning/version.info'
[58397] Failed to execute script 'main_speaker_extract' due to unhandled exception!

pytorch-lighting are really problematic, this is the worsest lib in pytorch community, not like transformes, they are not really consider old compatible,

and with this lib, the program packaged into a single program will execute error, (using PyInstaller build)

Please consider remove it.

luohao123 avatar Dec 05 '23 07:12 luohao123

Thank you for your issue.You might want to check the FAQ if you haven't done so already.

Feel free to close this issue if you found an answer in the FAQ.

If your issue is a feature request, please read this first and update your request accordingly, if needed.

If your issue is a bug report, please provide a minimum reproducible example as a link to a self-contained Google Colab notebook containing everthing needed to reproduce the bug:

  • installation
  • data preparation
  • model download
  • etc.

Providing an MRE will increase your chance of getting an answer from the community (either maintainers or other power users).

Companies relying on pyannote.audio in production may contact me via email regarding:

  • paid scientific consulting around speaker diarization and speech processing in general;
  • custom models and tailored features (via the local tech transfer office).

This is an automated reply, generated by FAQtory

github-actions[bot] avatar Dec 05 '23 07:12 github-actions[bot]

What are the alternatives? Feel free to open a PR.

hbredin avatar Dec 05 '23 07:12 hbredin

Just vanilla torch

luohao123 avatar Dec 06 '23 07:12 luohao123

PR welcome!

hbredin avatar Dec 06 '23 09:12 hbredin