Mengwei Liu

Results 60 comments of Mengwei Liu

@larryliu0820 has imported this pull request. If you are a Meta employee, you can view this diff [on Phabricator](https://www.internalfb.com/diff/D60573219).

@larryliu0820 has imported this pull request. If you are a Meta employee, you can view this diff [on Phabricator](https://www.internalfb.com/diff/D60573219).

> > the command should create the directories in the specified path if they don't exist already. > > That should be fixed with [pytorch/pytorch#138919](https://github.com/pytorch/pytorch/pull/138919) Seems like we need to...

@larryliu0820 has imported this pull request. If you are a Meta employee, you can view this diff [on Phabricator](https://www.internalfb.com/diff/D60318741).

@larryliu0820 has imported this pull request. If you are a Meta employee, you can view this diff [on Phabricator](https://www.internalfb.com/diff/D60318741).

Download artifacts from https://www.internalfb.com/manifold/explorer/executorch/tree/models/llama/llama3_2_mm_v4 * tune.pth * dog.jpg To a directory say `llama3_2_mm_v4/` Then run `python export_flamingo.py llama3_2_mm_v4/`.

Hi @ebsmothers thanks for asking. This is all the changes required to export llama 3.2 MM 11B using `torch.aot_compile()` or AOT inductor. I sent this out so we can work...

@swolchok what is your full error? Is it complaining Dim.AUTO doesn't exist?

@swolchok try ```python dim = Dim("dim", min=1, max=1024) ``` instead

> repros. interestingly, if I comment out the first method.execute call, I get the correct result from the second call. Yeah, I'm guessing something in Program or Method is stateful....