Closed xuyaoxun closed 1 year ago
Hi @xuyaoxun, I have pushed a change that fixes the cuda issue. With respect to the warning, the max_length is not user-specified and the warning can be ignored.
Hi, thanks a lot. It does work, appreciate your work.
Hi, I noticed that when I use, clap_model = CLAPWrapper(weights_path, use_cuda=False), it works fine, when I change to usecuda=True, it reports an error, but a cuda environment exists on my machine, torch.cuda.is available() also shows true.By the way, I would like to ask how to solve the problem of this warning, that is, how to set the max_length
![image](https://user-images.githubusercontent.com/107927718/231626409-2dc1ee93-c0fa-419a-afe7-ef102dad3470.png)