采用设备:笔记本电脑
显卡配置:英特尔核显 i7-7500U
系统配置:Win 10
安装包来源:【【AI绘画】A卡也能用?NovelAI中文频道最新整合包使用攻略】 https://www.bilibili.com/video/BV1Mv4y1s7BB/? share_source=copy_web&vd_source=ed7573b826feef8c5cfbe96dc9ed293c
在部署完成后,直接运行程序,后台显示:
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
无法正常弹出NovelAi界面
通过更改 stable-diffusion-webui \ modules 中 sd_models.py 文件中第213行代码
pl_sd = torch.load(checkpoint_file, map_location=map_location or shared.weight_load_location)
变更为:
pl_sd = torch.load(checkpoint_file, map_location=torch.device('cpu') or shared.weight_load_location)
实现NovelAi正常使用
从零开始成长的韭菜 2023-06-28
学术Fun 2023-11-25