#50 请尝试查看文档或搜索报错<https://pvt9.com>

2408**9a8f Posted at: 1 year ago
Expected parameter logits (Tensor of shape (1, 51865)) of distribution Categorical(logits: torch.Size([1, 51865])) to satisfy the constraint IndependentConstraint(Real(), 1), but found invalid values:
tensor([[nan, nan, nan, ..., nan, nan, nan]], device='cuda:0')

请尝试查看文档或搜索报错

请尝试查看文档或搜索报错
=====
Windows-10-10.0.19044-SP0
version:v3.78
frozen:True

3 Replies

#1 140.245**1 reply at 1 year ago
显卡型号、cuda版本
可尝试取消选中“CUDA加速”
#2 2a01**a reply at 1 year ago
取消可以,为什么cuda加速不行呢?
#3 140.245**1 reply at 1 year ago
可能显卡型号或cuda版本和内置的torch不支持,内置torch2.7,仅可用于 cuda12.x以及不太老的英伟达显卡

其他不支持的显卡请源码部署
Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Related resource