Closed HelloWorldLTY closed 3 weeks ago
Dear @HelloWorldLTY,
This might be an issue that you should report to the scvi-tools developers. Torchmetrics is a transitive dependency that we get from them. I'll transfer this to the scvi-tools repository.
Can you expand on what the issue is with torchmetrics>0.11.4? I think in our tests it works without the version restriction. Generally, we try to avoid version pinning and fix the underlying issue that is incompatible. Torch and torchmetrics need to have corresponding versions - conda/pip should handle this. If you use custom install commands, can you share these?
Hi, I notice that this issue can be resolved by upgrading the version of python to 3.10/3.11. The problem is mentioned here:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/11648
Report
Hi, I notice that the default setting will lead to a problem caused by torchmetrics when importing pertpy:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/11648
To fix it, we should use: torchmetrics==0.11.4
I can create a pull request if necessary.
Version information
No response