问题详情
用pipelin加载运行modelscope上的模型,提示错误:
ValueError: StableDiffusionPipeline: Due to a serious vulnerability issue in torch.load, even with weights_only=True, we now require users to upgrade torch to at least v2.6 in order to use the function. This version restriction does not apply when loading files with safetensors.
请问如何解决?
版权:言论仅代表个人观点,不代表官方立场。转载请注明出处:https://www.stntk.com/question/161.html
选用GPU notebook,启动实例的时候选择版本为torch v2.6