Disable checkpoint conversion inside AutoResume
State: closed | Pull request: yes
Labels: name: Run CICD

name: r2.0.0

# What does this PR do ?

Checkpoint conversion is not feasible inside AutoResume as it is not reliable in multi process/multi node scenarios. This update disables checkpoint conversion inside AutoResume and forces users to use a NeMo based checkpoint.

**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)


@hemildesai this is great, have you run a two node job to test resuming from an HF checkpoint? What's the process for the user? I imagine this will be a frequent request so I want to make sure it's as frictionless as possible.

I did a quick pass but will revisit later today. Thanks.

> @hemildesai this is great, have you run a two node job to test resuming from an HF checkpoint? What's the process for the user? I imagine this will be a frequent request so I want to make sure it's as frictionless as possible.
> 
> I did a quick pass but will revisit later today. Thanks.

Yes we will be updating the docs soon to have this information there.

[🤖]: Hi @hemildesai 👋,

We wanted to let you know that a [CICD pipeline](https://github.com/$REPOSITORY/actions/runs/$RUN_ID) 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

[🤖]: Hi @hemildesai 👋,

We wanted to let you know that a [CICD pipeline](https://github.com/$REPOSITORY/actions/runs/$RUN_ID) 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

> > @hemildesai this is great, have you run a two node job to test resuming from an HF checkpoint? What's the process for the user? I imagine this will be a frequent request so I want to make sure it's as frictionless as possible.
> > I did a quick pass but will revisit later today. Thanks.
> 
> Yes we will be updating the docs soon to have this information there.

when will the docs release in roadmap? The "import" command-line seems to be introduce in feature, however, the converted model could not be partitioned by such as tensor partition or other method because the training strategy config is not recognized in `io.import_ckpt` function, how should I fix the problem?