报错原因python3 generate.py -p "A painting of an apple in a fruit bowl" Warning: No GPU found! Using the CPU instead. The iterations will be slow. Perhaps CUDA/ROCm or the right pytorch version is not properly installed? Working with z of shape (1, 256, 16, 16) = 65536 dimensions. Downloading:
时间: 2024-02-26 18:56:06 浏览: 111
The error message suggests that the Python script is unable to find a GPU and is therefore using the CPU instead, which may result in slower performance. The message also suggests that the issue may be due to missing or improperly installed CUDA/ROCm or PyTorch versions. You may want to check if you have the correct versions of CUDA/ROCm and PyTorch installed, or consider installing them if you don't have them already.
阅读全文