Instructions to use dolphinium/FLUX.1-dev-wikiart-impressionism-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dolphinium/FLUX.1-dev-wikiart-impressionism-v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("dolphinium/FLUX.1-dev-wikiart-impressionism-v2") prompt = "An impressionist painting portrays a vast landscape with gently rolling hills under a radiant sky. Clusters of autumn trees dot the scene, rendered with loose, expressive brushstrokes and a palette of warm oranges, deep greens, and soft blues, creating a sense of tranquil, natural beauty" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download config.yaml from dolphinium/FLUX.1-dev-wikiart-impressionism-v2: direct link, hf CLI and curl.
- Browser
- Download file 2.78 kB
-
https://huggingface.co/dolphinium/FLUX.1-dev-wikiart-impressionism-v2/resolve/main/config.yaml
- Command line
-
hf download hf://dolphinium/FLUX.1-dev-wikiart-impressionism-v2/config.yaml
-
curl -L -o config.yaml https://huggingface.co/dolphinium/FLUX.1-dev-wikiart-impressionism-v2/resolve/main/config.yaml
2.78 kB
| job: extension | |
| config: | |
| name: flux_1_dev_wikiart_impressionism_2000_step_style | |
| process: | |
| - type: sd_trainer | |
| training_folder: /content/output | |
| performance_log_every: 500 | |
| device: cuda:0 | |
| trigger_word: dolpImp | |
| network: | |
| type: lora | |
| linear: 16 | |
| linear_alpha: 16 | |
| save: | |
| dtype: float16 | |
| save_every: 500 | |
| max_step_saves_to_keep: 10 | |
| datasets: | |
| - folder_path: /content/dataset | |
| caption_ext: txt | |
| caption_dropout_rate: 0.05 | |
| shuffle_tokens: true | |
| cache_latents_to_disk: true | |
| resolution: | |
| - 512 | |
| - 768 | |
| - 1024 | |
| train: | |
| batch_size: 1 | |
| steps: 2000 | |
| gradient_accumulation_steps: 1 | |
| train_unet: true | |
| train_text_encoder: false | |
| content_or_style: style | |
| gradient_checkpointing: true | |
| noise_scheduler: flowmatch | |
| optimizer: adamw8bit | |
| lr: 0.0001 | |
| ema_config: | |
| use_ema: true | |
| ema_decay: 0.99 | |
| dtype: bf16 | |
| model: | |
| name_or_path: black-forest-labs/FLUX.1-dev | |
| is_flux: true | |
| quantize: true | |
| sample: | |
| sampler: flowmatch | |
| sample_every: 250 | |
| width: 1024 | |
| height: 1024 | |
| prompts: | |
| - '[trigger] An impressionist painting depicts a wide, sandy beach under a cloudy | |
| sky, with figures scattered along the shore, rendered with loose, visible | |
| brushstrokes in muted tones of blue, brown, and white, creating a tranquil | |
| and airy atmosphere' | |
| - "[trigger] An impressionist portrait captures the delicate expression of a\ | |
| \ woman bathed in soft, natural light. The artist employs bold, yet subtle\ | |
| \ brushstrokes to emphasize the subject\u2019s serene features and gentle\ | |
| \ contours, all set against a background of softly blended pastel tones that\ | |
| \ evoke introspection and grace." | |
| - '[trigger] An impressionist painting depicts a stone bridge arching over a | |
| ravine, with a church tower on the left and a hillside in the background, | |
| rendered in warm earth tones and blues with visible, textured brushstrokes, | |
| creating a hazy and tranquil atmosphere' | |
| - '[trigger] An impressionist painting of a still life featuring a bouquet of | |
| red and yellow roses wrapped in white paper, an ornate vase holding dried | |
| grasses and a decorative fan, and a stack of old books, all arranged on a | |
| table against a warm, orange-toned background with a framed picture hanging | |
| above, rendered with visible brushstrokes and soft, diffused lighting to create | |
| a cozy and intimate atmosphere.' | |
| neg: '' | |
| seed: 1337 | |
| walk_seed: false | |
| guidance_scale: 4 | |
| sample_steps: 20 | |
| meta: | |
| name: flux_1_dev_wikiart_impressionism_2000_step_style | |
| version: '1.0' | |