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

Posted at: 1 day ago | IP: 2408:8352:x:x
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

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

其他不支持的显卡请源码部署
Similar issues already exist
Post Your Reply