google-research / torchsde

Differentiable SDE solvers with GPU support and efficient sensitivity analysis.
Apache License 2.0
1.51k stars 194 forks source link

Build Fails #53

Closed ucalyptus closed 3 years ago

ucalyptus commented 3 years ago

Reproduce

https://colab.research.google.com/gist/ucalyptus/39977d8f157270a330ef04fc0c9707a9/test-torchsde.ipynb

patrick-kidger commented 3 years ago

Well, try doing what it says and installing torch ;)

That said, it's true we should include a PEP518 pyproject.toml so that that happens automatically.

ucalyptus commented 3 years ago

@patrick-kidger definitely works when torch is pre installed (eg on Colab), but I'm not able to use torchsde in setuptools as import torch comes up . An example of what we are doing https://github.com/DiffEqML/torchdyn/blob/master/setup.cfg

patrick-kidger commented 3 years ago

Resolved with #56