lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
8.1k stars 792 forks source link

Accuracy of flux1-dev-bnb-nf4-v2.safetensors model generation depends on GPU model #2158

Open psydok opened 15 hours ago

psydok commented 15 hours ago

I tried running webui-forge on different videocard. I used same seed to generate image. On 4090 I get same image. On 3090, it's a completely different image, which I'm not happy with.

payload:

config = {
            "prompt": "Astronaut in a jungle, cold color palette, muted colors, very detailed, sharp focus"
            "batch_size": 1,
            "cfg_scale": 1,
            "comments": {},
            "denoising_strength": 0.7,
            "disable_extra_networks": False,
            "distilled_cfg_scale": 3.5,
            "do_not_save_grid": False,
            "do_not_save_samples": False,
            "enable_hr": False,
            "height": 1152,
            "hr_cfg": 1,
            "hr_distilled_cfg": 3.5,
            "hr_negative_prompt": "",
            "hr_prompt": "",
            "hr_resize_x": 0,
            "hr_resize_y": 0,
            "hr_scale": 2,
            "hr_second_pass_steps": 0,
            "hr_upscaler": "Latent",
            "n_iter": 1,
            "negative_prompt": "",
            "override_settings": {},
            "override_settings_restore_afterwards": True,
            "restore_faces": False,
            "s_churn": 0.0,
            "s_min_uncond": 0.0,
            "s_noise": 1.0,
            "s_tmax": None,
            "s_tmin": 0.0,
            "sampler_name": "Euler",
            "scheduler": "Simple",
            "script_args": [],
            "script_name": None,
            "seed": 1234,
            "seed_enable_extras": True,
            "seed_resize_from_h": -1,
            "seed_resize_from_w": -1,
            "steps": 20,
            "styles": [],
            "subseed": 1234,
            "subseed_strength": 0,
            "tiling": False,
            "width": 896,
        }

Have you noticed any of these behaviors? Is there anything you can do to correct it? And what does it depend on? With models from other areas (asr/tts/cv) I didn't notice such difference.

Haoming02 commented 11 hours ago

Is your seed generator set to CPU? If not, the images being different across different GPUs is normal.