Opened 20 months ago

Last modified 20 months ago

#67176 new defect

py38-fairseq @0.12.2: No sympy found

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: essandess (Steve Smith)
Port: py-pytorch py-fairseq

Description

https://build.macports.org/builders/ports-12_arm64-builder/builds/88529/steps/install-port/logs/stdio

No sympy found
Traceback (most recent call last):
  File "setup.py", line 87, in <module>
    from torch.utils import cpp_extension
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/torch/__init__.py", line 1247, in <module>
    import torch.backends.mps
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/torch/backends/mps/__init__.py", line 30, in <module>
    from ..._refs import var_mean as _var_mean, native_group_norm as _native_group_norm
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/torch/_refs/__init__.py", line 14, in <module>
    import torch._prims as prims
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/torch/_prims/__init__.py", line 33, in <module>
    from torch._subclasses.fake_tensor import FakeTensor, FakeTensorMode
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/torch/_subclasses/__init__.py", line 3, in <module>
    from torch._subclasses.fake_tensor import (
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/torch/_subclasses/fake_tensor.py", line 13, in <module>
    from torch._guards import Source
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/torch/_guards.py", line 78, in <module>
    class ShapeGuard(NamedTuple):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/torch/_guards.py", line 79, in ShapeGuard
    expr: sympy.Expr
NameError: name 'sympy' is not defined

Change History (2)

comment:1 Changed 20 months ago by jmroot (Joshua Root)

Port: py-pytorch added

Looks like the error is happening in torch.

comment:2 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Note: See TracTickets for help on using tickets.