From 6326a9171182b1be647838e363182929796d48aa Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Sun, 24 May 2026 03:57:38 +0300 Subject: [PATCH] Update gpt_oss.py --- comfy/text_encoders/gpt_oss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/text_encoders/gpt_oss.py b/comfy/text_encoders/gpt_oss.py index cf532e87a..4e15bcedd 100644 --- a/comfy/text_encoders/gpt_oss.py +++ b/comfy/text_encoders/gpt_oss.py @@ -608,7 +608,7 @@ def lens_te(dtype_llama=None, llama_quantization_metadata=None): mo = dict(model_options or {}) if llama_quantization_metadata is not None: mo["quantization_metadata"] = llama_quantization_metadata - if dtype_llama is not None: + if dtype is None and dtype_llama is not None: dtype = dtype_llama super().__init__(device=device, dtype=dtype, model_options=mo)