Conda Environment creation issue for conformner

#19
by pushpendra1bel - opened

downloaded the model 'indicconformer_stt_multi_hybrid_rnnt_600m.nemo' through https://github.com/AI4Bharat/IndicConformerASR,
created conda enviroment for my server (for converting audio in text on websocket). I created the conda enviorment with below instalation :
conda activate indicconformer
1997 pip install torch torchvision torchaudio --index-url https://pytorch.org
1998 pip install torch torchvision torchaudio --extra-index-url https://pytorch.org
1999 pip install jinja2 networkx filelock typing-extensions
2000 cd ..
2001 cd stt
2002 cd NeMo/
2003 bash reinstall.sh
2004 cd ..
2005 python websocket_server_stt.py
2006 pip install websockets soundfile
2007 python websocket_server_stt.py
2008 # 1. Downgrade pytorch-lightning to a version that includes NeptuneLogger
2009 pip install "pytorch-lightning>=1.6.0,<1.9.0"
2010 # 2. Install the Neptune logging client dependency it looks for
2011 pip install neptune-client
2012 python websocket_server_stt.py
2013 pip install setuptools
2014 python websocket_server_stt.py
2015 pip install "setuptools<70.0.0"
2016 python websocket_server_stt.py
2017 pip install "pytorch-lightning==1.5.10"
2018 pip install --no-cache-dir "pytorch-lightning==1.5.10"
2019 pip install "pip<24.1"
2020 pip install "pytorch-lightning==1.5.10"
2021 pip install --upgrade pip
2022 python websocket_server_stt.py
2023 pip install "pytorch-lightning==1.6.5"
2024 conda install -c conda-forge pytorch-lightning=1.6.5 -y
2025 python websocket_server_stt.py

Still I am getting error 'ModuleNotFoundError: No module named 'pytorch_lightning.core.module''

how to resolve it, its frustrating that installation of so much packages for pytorch-lightning.

Sign up or log in to comment