在windows11 安装CUDA Toolkit,Python,Anaconda,PyTorch并使用DeepSeek 多模态模型 Janus

. This is expected, and simply means that the legacy (previous) behavior will be used so nothing changes for you. If you want to use the new behaviour, set legacy=False. This should only be set if you understand what it means, and thoroughly read the reason why this was added as explained in https://github.com/huggingface/transformers/pull/24565 - if you loaded a llama tokenizer from a GGUF file you can ignore this message. Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 22 [00:15<00:00, 7.68s/it] “` 注意观察一下GPU使用情况,这里好像并不高啊,基本上在20%左右。 windows11用GPU很低,用WSL2利用GPU反而会很高? WSL2 通常依赖于 Windows 的驱动程序,但可能会有兼容性或性能问题。只能这么解释了 等待1分钟左右,就会生成一张图片。 进入目录D:\file\vllm\Janus-main\generated_samples,这里会出现一张图片 打开图片,效果如下: 效果还算可以,距离真正的8k画质,还是有点差距的。 注意提示词,尽量丰富一点,生成的图片,才符合要求。 如果不会写提示词,可以让deepseek帮你写一段提示词。