This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
import torch
print(torch.cuda.is_available()) # 如果返回True,说明可以使用GPU
print(torch.__version__)