åãã«
NVIDIAãå ¬éãã¦ããæ¥æ¬èªé³å£°åãã®é³å£°èªèã¢ãã« nvidia/parakeet-tdt_ctc-0.6b-jaã Windowsã§åããéã«ä»¥ä¸ã®ã¨ã©ã¼ãåºãå¤ããã対å¿æ¹æ³ãè¨è¼ãã¾ã
packages\nemo\collections\asr\models\configs\asr_models_config.py", line 27, in <module> from nemo.core.config import modelPT as model_cfg File "C:\Users\.venv\Lib\site-packages\nemo\core\config\modelPT.py", line 22, in <module> from nemo.utils import exp_manager File "C:\Users\.venv\Lib\site-packages\nemo\utils\exp_manager.py", line 160, in <module> class FaultToleranceParams: File "C:\Users\.venv\Lib\site-packages\nemo\utils\exp_manager.py", line 169, in FaultToleranceParams rank_termination_signal: signal.Signals = signal.SIGKILL ^^^^^^^^^^^^^^ AttributeError: module 'signal' has no attribute 'SIGKILL'. Did you mean: 'SIGILL'?
éçºç°å¢
- Windows11
- powershell
- python 3.11
åå
ãã®ã¨ã©ã¼ã¯ãPythonã®signalã¢ã¸ã¥ã¼ã«ã§SIGKILLã·ã°ãã«ãå®ç¾©ããã¦ããªããã¨ãåå ã§ããWindowsç°å¢ã§ã¯ãä¸é¨ã®Unix/Linuxåºæã®ã·ã°ãã«ããµãã¼ãããã¦ããããSIGKILLããã®ä¸ã¤ã§ãããã®ãããnemoã©ã¤ãã©ãªãsignal.SIGKILLã使ç¨ãããã¨ããã¨ãWindowsç°å¢ã§ã¯AttributeErrorãçºçãã¾ãã
対å¿æ¹æ³
.venv\Lib\site-packages\nemo\utils\exp_manager.py
ã«ãããã¡ã¤ã«ã®ä¸é¨ãæ¸ãæãã¾ã
class FaultToleranceParamså ã®rank_termination_signalã以ä¸ã®ããã«å¤æ´ãã¾ãã
ä¿®æ£å
rank_termination_signal: signal.Signals = signal.SIGKILL
ä¿®æ£å¾
import os if os.name == 'nt': rank_termination_signal: int = signal.SIGTERM else: rank_termination_signal: signal.Signals = signal.SIGKILL
åè
parakeetã¯numpyã2.0.0以ä¸ã ã¨ä»¥ä¸ã®ã¨ã©ã¼ã«ãªãããã1.x.xã使ãå¿ è¦ãããã¾ã
File "C:\Users\.venv\Lib\site-packages\numpy\__init__.py", line 411, in __getattr__ raise AttributeError( AttributeError: `np.sctypes` was removed in the NumPy 2.0 release. Access dtypes explicitly instead.. Did you mean: 'dtypes'?