RuntimeError: view size is not compatible with input tensor’s size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(…) instead.`

用户在使用 Krea2Pipeline (从 Hugging Face Diffusers 库加载)进行图像生成时,尝试通过 load_in_8bit=True 加载模型以节省显存,触发该运行时错误。该问题在 torch 2.13.0 、 diffusers 最近主分支(commit 208704a








