Comments (5)
Quick Fix: For an immediate resolution to this issue, find the METADATA file in the package's dist-info folder (e.g., torchsde-0.2.5.dist-info
), and edit the numpy version number on line 18, removing the trailing .*
. It should be modified from 1.19.*
to 1.19
.
Now, for those interested in the whole process:
Use pip show torchsde
to find out where the package is. You'll see a path next to Location:
; that's where your package is. Be aware, this path might be different if you're using a virtual environment.
(comfy) c:\ComfyUI_windows_portable\update>pip show torchsde
Name: torchsde
Version: 0.2.5
Summary: SDE solvers and stochastic adjoint sensitivity analysis in PyTorch.
Home-page: https://github.com/google-research/torchsde
Author: Xuechen Li
Author-email: [email protected]
License: UNKNOWN
**Location: c:\users\mikej\appdata\roaming\python\python310\site-packages**
Requires: boltons, numpy, scipy, torch, trampoline
Required-by:
I tried changing something in the appdata folder but ran into the same problem. Trying to make ComfyUI work, I noticed when running their updater that packages were located in c:\comfyui_windows_portable\python_embeded\lib\site-packages
. I found the torchsde-0.2.5.dist-info
folder there, and updated the METADATA file by removing the .*
from the end of the numpy version. Changed it from 1.19.*
to 1.19
.
The updated METADATA File:
Metadata-Version: 2.1
Name: torchsde
Version: 0.2.5
Summary: SDE solvers and stochastic adjoint sensitivity analysis in PyTorch.
Home-page: https://github.com/google-research/torchsde
Author: Xuechen Li
Author-email: [email protected]
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: ~=3.6
Requires-Dist: boltons (>=20.2.1)
Requires-Dist: torch (>=1.6.0)
Requires-Dist: trampoline (>=0.1.2)
Requires-Dist: numpy (==1.19.*) ; python_version < "3.7"
Requires-Dist: scipy (==1.5.*) ; python_version < "3.7"
Requires-Dist: numpy (>=1.19) ; python_version >= "3.7"
Requires-Dist: scipy (>=1.5) ; python_version >= "3.7"
UNKNOWN
from torchsde.
I fixed mine by doing:
pip install numpy==1.23.0
pip install protobuf==3.20.3
pip install trainer --upgrade
pip install tts --upgrade
not sure if this will help anyone but that’s what worked for me
(100% seems unrelated but it’s honestly what got rid of these message for me)
from torchsde.
This issue has been resolved and merged in PR #133.
from torchsde.
I'm getting this too, very annoying. It would be great to know in what way we can work around it until it is fixed. Python dependencies are painful enough without throwing extra things in the mix - not that this is anyone's fault, but trying to compile code on newer GPU hardware is throwing a lot of issues with older code made for older GPUs. This just adds to the pain and I have to run windows to get around it.
from torchsde.
I commented out the two lines showing NumPy Requirements, and my problems seems to have gone away for now.
from torchsde.
Related Issues (20)
- Defining noise type for vector-valued homogeneous SDE HOT 1
- vector-valued SDE cumbersome workflow HOT 1
- Zero drift and zero diffusion matrices lead to non-zero changes of variable
- Irregular data and sampling posterior in latent_sde_lorenz.py
- Low CPU and GPU usage in training sde_gan, Seeking Help to Improve Performance. HOT 2
- Different `t` for data in a minibatch HOT 5
- torchsde pypi package is misformated HOT 26
- Something went wrong Expecting value: line 1 column 1 (char 0) HOT 1
- Incorporating real stock time series data
- SDE-LSTM structure for time series forecasting
- Performance Improvement Inquiry: Experiencing Slow Execution with TorchSDE HOT 2
- Latent SDE failed to generate longer samples
- issue with my text to image ai Device type privateuseone is not supported for torch.Generator() api. HOT 1
- 我的 Mac上 只有torchsde-0.2.6.dist-info,怎样才能安装insightface
- 如果 torchsde 当前没有解决这个问题的新版本,你可以联系该项目的维护者或作者
- sdeint_adjoint for f_and_g_prod type SDE, how to set parameter?
- failure to install pip install qiskit-aer to run qsvm on ibm simulator
- learning the generative model of periodical process HOT 1
- extra_solver_state Documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torchsde.