Description This PR resolves two separate crashing issues that occur when loading the Qwen3 text encoder in different quantized formats (FP8 Safetensors and GGUF) alongside the Z-Image model. Issue 1: Missing lm_head. weight in FP8 Safetensors Error Traceback: Exception: Missing keys: ['lm_head.

Source: [Dev.to](https://dev.to/arifachan/fix-resolve-qwen3-text-encoder-loading-issues-for-fp8-and-gguf-formats-2bl)

Sponsored