Sounds like the model is not following a proper probabilistic choice here, so maybe more a programming error than a model training error.
When I saw 27b on a phone, I thought not fitting, big phone, or aggressive quant. NVFP4 still takes 27G before KV cache.