Instructions to use openai/shap-e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use openai/shap-e with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("openai/shap-e", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add LICENSE file
Verified signatureThis pull request adds a LICENSE file to the repository based on the license declared in your repository metadata. ### Background Your repository declares the `MIT` license in its HuggingFace metadata (`license:mit`), but does not currently include a LICENSE file in the repository. This creates legal ambiguity and makes it harder for users to understand the exact terms under which they can use your work. ### What This PR Does This PR adds a standard `LICENSE` file containing the full text of the **MIT License**, with: - Copyright holder: `openai` (repository owner) - Copyright year: `2023` (based on first commit) ### Why This Matters Having an explicit LICENSE file in your repository: - ✅ Provides clear legal terms for users - ✅ Matches your declared license metadata - ✅ Makes it easier for others to comply with your license - ✅ Improves repository completeness and professionalism ### Please Review **Important:** Please verify that: 1. The copyright holder is correct (I've used…7fd2b8c
-
Change to text-to-3d pipeline (#13)
- Change to text-to-3d pipeline (d484fc15aa40f815c59a1fe4003de1cc31daaf65)7bd337a
-
new_renderer_folder (#10)
- renderer -> shap_e_renderer (dcd6dbc625b6a314842eb607b9b683d650532fbf)449e957
-
Update README.md (#4)
- Update README.md (77ab0b602ca0022fd5b51f8a1de3d2603c28db58) Co-authored-by: Sayak Paul <sayakpaul@users.noreply.huggingface.co>c13e545
-
Serialize variables with FP16: True and safetensors: True. (#6)
- Serialize variables with FP16: True and safetensors: True. (e78d379c0daade04d02303934fca8081b7e99d75) Co-authored-by: Sayak Paul <sayakpaul@users.noreply.huggingface.co>bcf08a8
-
Correct
b16c1dd -
Let background default to white
726bd31 -
Update README.md (#3)
- Update README.md (edf09b0d380faf28446b60b88a690a80c1ca96fd) Co-authored-by: Sayak Paul <sayakpaul@users.noreply.huggingface.co>b218f8d
-
Make it compatible with `DiffusionPipeline.from_pretrained()` (#2)
- Make it compatible with `DiffusionPipeline.from_pretrained()` (2fa6c21f812f25002cef98cc9724d7a26e5aa0eb) Co-authored-by: Pedro Cuenca <pcuenq@users.noreply.huggingface.co>b9d2ac2 -
Fix malformed json (#1)
- Fix malformed json (efbd7d16b04d96bcf027054c03022e20bacc7fc3) Co-authored-by: Pedro Cuenca <pcuenq@users.noreply.huggingface.co>1ecdd61
-
Update README.md
1343e26 -
Update README.md
771e879 -
Duplicate from YiYiXu/shap-e
Co-authored-by: YiYi Xu <YiYiXu@users.noreply.huggingface.co>2e115fe