Giter VIP home page Giter VIP logo

Comments (5)

RandomArray avatar RandomArray commented on July 18, 2024 2

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.

Exohayvan avatar Exohayvan commented on July 18, 2024 1

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.

jphan32 avatar jphan32 commented on July 18, 2024 1

This issue has been resolved and merged in PR #133.

from torchsde.

marshalleq avatar marshalleq commented on July 18, 2024

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.

moseti1 avatar moseti1 commented on July 18, 2024

I commented out the two lines showing NumPy Requirements, and my problems seems to have gone away for now.

from torchsde.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.