Instructions to use GraydientPlatformAPI/newmars-r2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use GraydientPlatformAPI/newmars-r2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("GraydientPlatformAPI/newmars-r2", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
- Xet hash:
- ce4fedb2bb52062e46f30e23bdb2672fc8f4c4fad7bdcb1aaeef2e50fdea3855
- Size of remote file:
- 1.72 GB
- SHA256:
- 25d01f6700bdb3b49bd1bbd5c8e92ec94ce12683c6be463f93e30e5d72bbdf29
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.