NVIDIA / NVIDIA/Model-Optimizer
Can we use multi GPU while exporting (diffusers ) onnx model?
Open
@jingyu-ml is already working on this.
Since Oct 29, 2024.
export/deploy
feature
feature request
investigating
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 604
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 142
Description
I'm building a SDXL model in float16 using 4090x2, therefore the GPU memory available is ~48GB.
however, the script in diffusers/quantizatoin does not looks like to able to use both of them, and raise OOM error while exporting onnx model.
I tried to export the model using CPU, but it's too slow.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.