You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/pytorch/vision/test/smoke_test.py", line 7, in <module>
import torchvision
File "/pytorch/vision/torchvision/__init__.py", line 6, in <module>
from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
File "/pytorch/vision/torchvision/models/__init__.py", line 2, in <module>
from .convnext import *
File "/pytorch/vision/torchvision/models/convnext.py", line 8, in <module>
from ..ops.misc import Conv2dNormActivation, Permute
File "/pytorch/vision/torchvision/ops/__init__.py", line 23, in <module>
from .poolers import MultiScaleRoIAlign
File "/pytorch/vision/torchvision/ops/poolers.py", line 10, in <module>
from .roi_align import roi_align
File "/pytorch/vision/torchvision/ops/roi_align.py", line 4, in <module>
import torch._dynamo
File "/opt/conda/envs/ci/lib/python3.9/site-packages/torch/_dynamo/__init__.py", line 2, in <module>
from . import convert_frame, eval_frame, resume_execution
File "/opt/conda/envs/ci/lib/python3.9/site-packages/torch/_dynamo/convert_frame.py", line 31, in <module>
from torch.fx.experimental.symbolic_shapes import (
File "/opt/conda/envs/ci/lib/python3.9/site-packages/torch/fx/experimental/symbolic_shapes.py", line 63, in <module>
from torch.utils._sympy.functions import FloorDiv, Mod, IsNonOverlappingAndDenseIndicator
File "/opt/conda/envs/ci/lib/python3.9/site-packages/torch/utils/_sympy/functions.py", line 1, in <module>
import sympy
File "/opt/conda/envs/ci/lib/python3.9/site-packages/sympy/__init__.py", line 30, in <module>
from sympy.core.cache import lazy_function
File "/opt/conda/envs/ci/lib/python3.9/site-packages/sympy/core/__init__.py", line 9, in <module>
Traceback (most recent call last):
File "/home/ec2-user/actions-runner/_work/vision/vision/test-infra/.github/scripts/run_with_env_secrets.py", line 100, in <module>
main()
File "/home/ec2-user/actions-runner/_work/vision/vision/test-infra/.github/scripts/run_with_env_secrets.py", line 96, in main
run_cmd_or_die(f"docker exec -t {container_name} /exec")
File "/home/ec2-user/actions-runner/_work/vision/vision/test-infra/.github/scripts/run_with_env_secrets.py", line 38, in run_cmd_or_die
raise RuntimeError(f"Command {cmd} failed with exit code {exit_code}")
RuntimeError: Command docker exec -t a54479f4bb64811255ff0c9e7db93fbc369ef516bfc5be032a430222e6c2499a /exec failed with exit code 1
from .expr import Expr, AtomicExpr, UnevaluatedExpr
File "/opt/conda/envs/ci/lib/python3.9/site-packages/sympy/core/expr.py", line 4159, in <module>
from .mul import Mul
File "/opt/conda/envs/ci/lib/python3.9/site-packages/sympy/core/mul.py", line 2193, in <module>
from .numbers import Rational
File "/opt/conda/envs/ci/lib/python3.9/site-packages/sympy/core/numbers.py", line 4567, in <module>
_sympy_converter[type(mpmath.rational.mpq(1, 2))] = sympify_mpmath_mpq
AttributeError: module 'mpmath' has no attribute 'rational'
@vmoens 's investigations suggest that the --pre flag in our pip install command will also install the newly pre-released mpmath-1.4.0a0 which leads to the above error.
e.g. https://github.com/pytorch/vision/actions/runs/8141135591/job/22247761309
@vmoens 's investigations suggest that the
--pre
flag in ourpip install
command will also install the newly pre-releasedmpmath-1.4.0a0
which leads to the above error.(PR in torchRL: pytorch/rl#1988)
The text was updated successfully, but these errors were encountered: