Lightning-AI / Lightning-AI/lightning-thunder

Support NeMo MegatronImagen network

Open
#179 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement MegatronImagen nemo
Dominant language
Python
Stars
1.5k
Forks
121
PR merge metrics
No merged PRs in 30d

Description

## 🚀 Feature

NeMo's "Imagen" network implements text-to-image generation.

Initial `examine`:
```
Found 55 distinct operations, of which 46 (83.6%) are supported
```

### Motivation

### Pitch

### Work items

- [x] #144
- [x] #170
- [ ] #172
- [ ] #173
- [x] #174
- [x] #175
- [x] #176
- [x] #177
- [ ] #178
- [x] Talk to NeMo team about rewriting `nan_to_num_` -> `nan_to_num` (out of place)
- [x] Talk to NeMo team about rewriting `add_` -> `add` (out of place)
- [ ] Test memory use of NeMo model with out-of-place `nan_to_num` instead of the in-place variant
- [ ] Test memory use of NeMo model with out-of-place `add` instead of the in-place variant

cc @tfogal

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running or reviewing the reported `examine` result for NeMo's Imagen network, then inspect unresolved work items #172, #173, and #178. The work is done when the remaining operations are supported and the memory-use checks for out-of-place `nan_to_num` and `add` are completed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
compilers, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.