update replicate predict.py

main
Brett Kuprel 2 years ago
parent 8d808599d3
commit f0f9c5e83e
  1. 2
      README.md
  2. 2
      replicate/predict.py

2
README.md vendored

@ -6,7 +6,7 @@
 
[![Join us on Discord](https://img.shields.io/discord/823813159592001537?color=5865F2&logo=discord&logoColor=white)](https://discord.gg/xBPBXfcFHd)
This is a minimal implementation of Boris Dayma's [DALL·E Mini](https://github.com/borisdayma/dalle-mini) in PyTorch. It has been stripped to the bare essentials necessary for doing inference. The only third party dependencies are numpy, requests, pillow and torch.
This is a fast, minimal implementation of Boris Dayma's [DALL·E Mini](https://github.com/borisdayma/dalle-mini) in PyTorch. It has been stripped to the bare essentials necessary for doing inference. The only third party dependencies are numpy, requests, pillow and torch.
To generate a 3x3 grid of DALL·E Mega images it takes
- **35 seconds** with a P100 in Colab

@ -20,7 +20,7 @@ class Predictor(BasePredictor):
grid_size: int = Input(
description='Grid Size',
ge=1,
le=3,
le=4,
default=3
)
) -> Path:

Loading…
Cancel
Save