Commit ·
40a0a2b
1
Parent(s): 4cd7c68
revert to 1.0.36
Browse filesFiles changed (6)
11version = '1.0.38'version = '1.0.36'44 unmodified lines45464748484950515152535444 unmodified lines
if performance_selction == 'Speed': steps = 30 switch = 15 switch = 20 else: steps = 60 switch = 30 switch = 40
width, height = aspect_ratios[aspect_ratios_selction]
91 unmodified lines929394959596979835 unmodified lines13413513613713713813924 unmodified lines16416516616816716816917091 unmodified lines
@torch.no_grad()def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sampler_name='uni_pc',def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sampler_name='dpmpp_2m_sde_gpu', scheduler='karras', denoise=1.0, disable_noise=False, start_step=None, last_step=None, force_full_denoise=False, callback_function=None): # SCHEDULERS = ["normal", "karras", "exponential", "simple", "ddim_uniform"]35 unmodified lines noise_mask = prepare_mask(noise_mask, noise.shape, device)
comfy.model_management.load_model_gpu(model)
real_model = model.model
noise = noise.to(device)24 unmodified lines
@torch.no_grad()def ksampler_with_refiner(model, positive, negative, refiner, refiner_positive, refiner_negative, latent, seed=None, steps=30, refiner_switch_step=20, cfg=7.0, sampler_name='uni_pc', seed=None, steps=30, refiner_switch_step=20, cfg=7.0, sampler_name='dpmpp_2m_sde_gpu', scheduler='karras', denoise=1.0, disable_noise=False, start_step=None, last_step=None, force_full_denoise=False, callback_function=None): # SCHEDULERS = ["normal", "karras", "exponential", "simple", "ddim_uniform"]7 unmodified lines8910111211121314157 unmodified lines }, { "name": "cinematic-default", "prompt": "cinematic still {prompt} . emotional, harmonious, vignette, highly detailed, high budget, moody, epic, gorgeous, film grain, grainy", "negative_prompt": "blur, bokeh, anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured" "prompt": "cinematic still {prompt} . emotional, harmonious, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy", "negative_prompt": "anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured" }, { "name": "sai-3d-model",123345696 unmodified lines103104105106106107108109# Fooocus
<img src="https://github.com/lllyasviel/Fooocus/assets/19834515/89ae5a86-7a3e-42f2-b88d-2397022e4ebe" width=100%><img src="https://github.com/lllyasviel/Fooocus/assets/19834515/bcb0336b-5c79-4de2-b0cb-f7f68c753a88" width=100%>
Fooocus is an image generating software.
96 unmodified lines6. The parameters of samplers are carefully tuned.7. Because XL uses positional encoding for generation resolution, images generated by several fixed resolutions look a bit better than that from arbitrary resolutions (because the positional encoding is not very good at handling int numbers that are unseen during training). This suggests that the resolutions in UI may be hard coded for best results.8. Separated prompts for two different text encoders seem unnecessary. Separated prompts for base model and refiner may work but the effects are random, and we refrain from implement this.9. DPM family (or UniPC) seems well-suited for XL, since XL sometimes generates overly smooth texture but DPM family sometimes generate overly dense detail in texture. Their joint effect looks neutral and appealing to human perception. (Update 2023 Aug 19, changed to UniPC.)9. DPM family seems well-suited for XL, since XL sometimes generates overly smooth texture but DPM family sometimes generate overly dense detail in texture. Their joint effect looks neutral and appealing to human perception.
## Advanced Features
12345678123### 1.0.38
* Update dependency, update to sampler.
### 1.0.37
* Cinematic-default v2.
### 1.0.36
* Change gaussian kernel to anisotropic kernel.fooocus_version.py+1-1
modules/async_worker.py+2-2
modules/core.py+2-3
modules/sdxl_styles.py+2-2
readme.md+2-2
update_log.md-8