From 4b460862e89dc3d8d185009da301236d8d48990d Mon Sep 17 00:00:00 2001 From: "DESKTOP-TVBJISQ\\Primere" Date: Mon, 15 Dec 2025 19:20:22 +0100 Subject: [PATCH] V 1.6.0 - Z-Image III --- Nodes/Dashboard.py | 6 ++++-- Nodes/Outputs.py | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Nodes/Dashboard.py b/Nodes/Dashboard.py index dabc64e..be0d499 100644 --- a/Nodes/Dashboard.py +++ b/Nodes/Dashboard.py @@ -1316,7 +1316,9 @@ class PrimereCKPTLoader: case "Z-Image": zimage_weight_dtype = 'default' if 'e4m3fn' in ckpt_name: - zimage_weight_dtype = 'e4m3fn' + zimage_weight_dtype = 'fp8_e4m3fn' + if 'e5m2' in ckpt_name: + zimage_weight_dtype = 'fp8_e5m2' fullpathFile = folder_paths.get_full_path('checkpoints', ckpt_name) is_link = os.path.islink(str(fullpathFile)) @@ -2379,7 +2381,7 @@ class PrimereCLIP: is_sdxl = 0 match model_version: - case 'SDXL' | 'AuraFlow': + case 'SDXL' | 'AuraFlow' | 'Z-Image': is_sdxl = 1 t5xxl_prompt = "" diff --git a/Nodes/Outputs.py b/Nodes/Outputs.py index 5c5002d..ff7f2b3 100644 --- a/Nodes/Outputs.py +++ b/Nodes/Outputs.py @@ -718,6 +718,8 @@ class PrimereKSampler: case 'Z-Image': align_your_steps = False + model = nodes_model_advanced.ModelSamplingSD3.patch(self, model, 2.8, 1.0)[0] + negative = nodes.ConditioningZeroOut.zero_out(self, negative)[0] samples_out = primeresamplers.PKSampler(self, device, seed, model, steps, cfg, sampler_name, scheduler_name, positive, negative,