update readme

This commit is contained in:
Brett Kuprel 2022-07-03 17:29:53 -04:00
parent aa08f7f93c
commit 53741154c7

10
README.md vendored
View File

@ -6,12 +6,12 @@
   
[![Join us on Discord](https://img.shields.io/discord/823813159592001537?color=5865F2&logo=discord&logoColor=white)](https://discord.gg/xBPBXfcFHd) [![Join us on Discord](https://img.shields.io/discord/823813159592001537?color=5865F2&logo=discord&logoColor=white)](https://discord.gg/xBPBXfcFHd)
This is a fast, minimal implementation of Boris Dayma's [DALL·E Mini](https://github.com/borisdayma/dalle-mini). It has been stripped down for inference and converted to PyTorch. The only third party dependencies are numpy, requests, pillow and torch. This is a fast, minimal implementation of Boris Dayma's [DALL·E Mega](https://github.com/borisdayma/dalle-mini). It has been stripped down for inference and converted to PyTorch. The only third party dependencies are numpy, requests, pillow and torch.
To generate a 3x3 grid of DALL·E Mega images it takes It takes
- **35 seconds** with a P100 in Colab - **35 seconds** to generate a 3x3 grid with a P100 in Colab
- **15 seconds** with an A100 on Replicate - **16 seconds** to generate a 4x4 grid with an A100 on Replicate
- **TBD** with an H100 (@NVIDIA?) - **TBD** to generate a 4x4 grid with an H100 (@NVIDIA?)
The flax model and code for converting it to torch can be found [here](https://github.com/kuprel/min-dalle-flax). The flax model and code for converting it to torch can be found [here](https://github.com/kuprel/min-dalle-flax).