Remove pytorch-lightning
State: closed | Pull request: yes
Labels: name: TTS

name: ASR

name: NLP

name: Speaker Tasks

name: Run CICD

name: audio

# What does this PR do ?

Use `lightning` instead of `pytorch_lightning`. 
Depends on #11252 .

**Collection**: [Note which collection this PR will affect]

# Changelog 
- Add specific line by line info of high level changes in this PR.

# Usage
* You can potentially add a usage example below

```python
# Add a code snippet demonstrating how to use this 
```

# GitHub Actions CI

The Jenkins CI system has been replaced by GitHub Actions self-hosted runners.

The GitHub Actions CI will run automatically when the "Run CICD" label is added to the PR.
To re-run CI remove and add the label again.
To run CI on an untrusted fork, a NeMo user with write access must first click "Approve and run".

# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
  - [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
  
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation

If you haven't finished some of the above items you can still open "Draft" PR.


## Who can review?

Anyone in the community is free to review the PR once the checks have passed. 
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.

# Additional Information
* Related to # (issue)


<!-- pylint-output-strict-mode-true -->

beep boop 🤖: 🚨 The following files must be fixed before merge!

---

Your code was analyzed with PyLint. The following annotations have been identified:

```
************* Module nemo.collections.tts.models.speechllm.megatron_base_speechllm_prompt_model
nemo/collections/tts/models/speechllm/megatron_base_speechllm_prompt_model.py:92:0: C0301: Line too long (121/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_base_speechllm_prompt_model.py:186:0: C0301: Line too long (183/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_base_speechllm_prompt_model.py:82:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_base_speechllm_prompt_model.py:405:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_base_speechllm_prompt_model.py:408:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_base_speechllm_prompt_model.py:411:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_base_speechllm_prompt_model.py:414:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_base_speechllm_prompt_model.py:421:4: C0116: Missing function or method docstring (missing-function-docstring)
************* Module nemo.collections.tts.models.speechllm.megatron_t5_speechllm_model
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:107:0: C0301: Line too long (180/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:109:0: C0301: Line too long (140/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:281:0: C0301: Line too long (137/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:283:0: C0301: Line too long (125/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:289:0: C0301: Line too long (125/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:302:0: C0301: Line too long (121/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:303:0: C0301: Line too long (121/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:313:0: C0301: Line too long (121/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:407:0: C0301: Line too long (150/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:408:0: C0301: Line too long (127/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:472:0: C0301: Line too long (146/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:975:0: C0301: Line too long (123/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:977:0: C0301: Line too long (128/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:985:0: C0301: Line too long (130/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1741:0: C0301: Line too long (120/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1752:0: C0301: Line too long (130/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1792:0: C0301: Line too long (151/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1829:0: C0301: Line too long (122/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1831:0: C0301: Line too long (128/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1834:0: C0301: Line too long (130/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1869:0: C0301: Line too long (151/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1921:0: C0301: Line too long (151/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1969:0: C0301: Line too long (159/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:2240:0: C0301: Line too long (123/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:2639:0: C0301: Line too long (150/119) (line-too-long)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:86:0: C0115: Missing class docstring (missing-class-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:326:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:589:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:608:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:944:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:950:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:956:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1069:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1089:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1107:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1113:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1519:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1551:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1630:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:1707:4: C0116: Missing function or method docstring (missing-function-docstring)
nemo/collections/tts/models/speechllm/megatron_t5_speechllm_model.py:2641:4: C0116: Missing function or method docstring (missing-function-docstring)

-----------------------------------
Your code has been rated at 9.68/10
```

---

Thank you for improving NeMo's documentation!

[🤖]: Hi @maanug-nv 👋,

We wanted to let you know that a [CICD pipeline](https://github.com/NVIDIA/NeMo/actions/runs/11884716451) for this PR just finished successfully

So it might be time to merge this PR or get some approvals

I'm just a bot so I'll leave it you what to do next.

//cc @pablo-garay @ko3n1g