Instructions to use Lorenzob/astra with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Lorenzob/astra with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Lorenzob/astra", torch_dtype=torch.bfloat16, device_map="cuda") prompt = "My name is Julien and I like to" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
| REPORTER = dot | |
| build: blob.js | |
| blob.js: | |
| @./node_modules/.bin/browserify --standalone blob index.js > blob.js | |
| test: | |
| @./node_modules/.bin/zuul -- test/index.js | |
| clean: | |
| rm blob.js | |
| .PHONY: test blob.js | |