Commit ·
40a0a2b
1
Parent(s): 4cd7c68
revert to 1.0.36
Browse filesFiles changed (6)
1version = '1.0.38'1version = '1.0.36'
44 unmodified lines4546474849505152535444 unmodified linesif performance_selction == 'Speed':steps = 30switch = 15else:steps = 60switch = 30width, height = aspect_ratios[aspect_ratios_selction]44 unmodified lines4546474849505152535444 unmodified linesif performance_selction == 'Speed':steps = 30switch = 20else:steps = 60switch = 40width, height = aspect_ratios[aspect_ratios_selction]
91 unmodified lines9293949596979835 unmodified lines13413513613713813914024 unmodified lines16516616716816917017191 unmodified lines@torch.no_grad()def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sampler_name='uni_pc',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 linesnoise_mask = prepare_mask(noise_mask, noise.shape, device)comfy.model_management.load_model_gpu(model)real_model = model.modelnoise = 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',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"]91 unmodified lines9293949596979835 unmodified lines13413513613713813924 unmodified lines16416516616716816917091 unmodified lines@torch.no_grad()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 linesnoise_mask = prepare_mask(noise_mask, noise.shape, device)comfy.model_management.load_model_gpu(model)real_model = model.modelnoise = 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='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 lines891011121314157 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"},{"name": "sai-3d-model",7 unmodified lines891011121314157 unmodified lines},{"name": "cinematic-default","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",
12345696 unmodified lines103104105106107108109# Fooocus<img src="https://github.com/lllyasviel/Fooocus/assets/19834515/89ae5a86-7a3e-42f2-b88d-2397022e4ebe" 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.)## Advanced Features12345696 unmodified lines103104105106107108109# Fooocus<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 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
1234567891011### 1.0.38* Update dependency, update to sampler.### 1.0.37* Cinematic-default v2.### 1.0.36* Change gaussian kernel to anisotropic kernel.123### 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