Instructions to use UmeAiRT/ComfyUI-Auto-Installer-Assets with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use UmeAiRT/ComfyUI-Auto-Installer-Assets with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("UmeAiRT/ComfyUI-Auto-Installer-Assets", 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
Download models/LLM/Florence-2-base-PromptGen-v2.0/generation_config.json from UmeAiRT/ComfyUI-Auto-Installer-Assets: direct link, hf CLI and curl.
- Browser
- Download file 292 Bytes
-
https://huggingface.co/UmeAiRT/ComfyUI-Auto-Installer-Assets/resolve/d5b4d3ead39529d48e04a6c0cc2c3aec68ec268c/models/LLM/Florence-2-base-PromptGen-v2.0/generation_config.json
- Command line
-
hf download hf://UmeAiRT/ComfyUI-Auto-Installer-Assets@d5b4d3ead39529d48e04a6c0cc2c3aec68ec268c/models/LLM/Florence-2-base-PromptGen-v2.0/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/UmeAiRT/ComfyUI-Auto-Installer-Assets/resolve/d5b4d3ead39529d48e04a6c0cc2c3aec68ec268c/models/LLM/Florence-2-base-PromptGen-v2.0/generation_config.json
292 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 0, | |
| "decoder_start_token_id": 2, | |
| "early_stopping": true, | |
| "eos_token_id": 2, | |
| "forced_bos_token_id": 0, | |
| "forced_eos_token_id": 2, | |
| "no_repeat_ngram_size": 3, | |
| "num_beams": 3, | |
| "pad_token_id": 1, | |
| "transformers_version": "4.44.2" | |
| } | |