安装SDXL时tokenizers报错

error: casting &T to &mut T is undefined behavior, even if the reference is unused, consider instead using an UnsafeCell

tokenizers的版本太低了,升级一下,如0.15.0,同时transformer也得改,改成>=原始版本就OK

你可能感兴趣的:(#,电脑环境,深度学习)