Package Details: python-torchdiffeq 0.2.3-1

Git Clone URL: https://aur.archlinux.org/python-torchdiffeq.git (read-only, click to copy)
Package Base: python-torchdiffeq
Description: Differentiable ODE solvers with full GPU support and O(1)-memory backpropagation.
Upstream URL: https://github.com/rtqichen/torchdiffeq
Licenses: MIT
Submitter: huyz
Maintainer: None
Last Packager: huyz
Votes: 0
Popularity: 0.000000
First Submitted: 2022-10-13 05:12 (UTC)
Last Updated: 2022-10-13 05:12 (UTC)

Latest Comments

carlosal1015 commented on 2023-03-12 22:53 (UTC)

Hi, I have the following message error

$ python
Python 3.10.9 (main, Dec 19 2022, 17:35:49) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torchdiffeq
No sympy found
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.10/site-packages/torchdiffeq/__init__.py", line 1, in <module>
    from ._impl import odeint
  File "/usr/lib/python3.10/site-packages/torchdiffeq/_impl/__init__.py", line 1, in <module>
    from .odeint import odeint, odeint_event
  File "/usr/lib/python3.10/site-packages/torchdiffeq/_impl/odeint.py", line 1, in <module>
    import torch
  File "/usr/lib/python3.10/site-packages/torch/__init__.py", line 1465, in <module>
    from . import _meta_registrations
  File "/usr/lib/python3.10/site-packages/torch/_meta_registrations.py", line 7, in <module>
    from torch._decomp import _add_op_to_registry, global_decomposition_table, meta_table
  File "/usr/lib/python3.10/site-packages/torch/_decomp/__init__.py", line 169, in <module>
    import torch._decomp.decompositions
  File "/usr/lib/python3.10/site-packages/torch/_decomp/decompositions.py", line 10, in <module>
    import torch._prims as prims
  File "/usr/lib/python3.10/site-packages/torch/_prims/__init__.py", line 33, in <module>
    from torch._subclasses.fake_tensor import FakeTensor, FakeTensorMode
  File "/usr/lib/python3.10/site-packages/torch/_subclasses/__init__.py", line 3, in <module>
    from torch._subclasses.fake_tensor import (
  File "/usr/lib/python3.10/site-packages/torch/_subclasses/fake_tensor.py", line 13, in <module>
    from torch._guards import Source
  File "/usr/lib/python3.10/site-packages/torch/_guards.py", line 78, in <module>
    class ShapeGuard(NamedTuple):
  File "/usr/lib/python3.10/site-packages/torch/_guards.py", line 79, in ShapeGuard
    expr: sympy.Expr
NameError: name 'sympy' is not defined