Traceback (most recent call last):
File "G:\anaconda3\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "G:\anaconda3\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "G:\anaconda3\Scripts\accelerate.exe__main.py", line 4, in
File "G:\anaconda3\lib\site-packages\accelerate__init.py", line 3, in
from .accelerator import Accelerator
File "G:\anaconda3\lib\site-packages\accelerate\accelerator.py", line 32, in
import torch
File "G:\anaconda3\lib\site-packages\torch__init.py", line 1465, in
from . import _meta_registrations
File "G:\anaconda3\lib\site-packages\torch_meta_registrations.py", line 7, in
from torch._decomp import _add_op_to_registry, global_decomposition_table, meta_table
File "G:\anaconda3\lib\site-packages\torch_decomp\init__.py", line 169, in
import torch._decomp.decompositions
File "G:\anaconda3\lib\site-packages\torch_decomp\decompositions.py", line 10, in
import torch._prims as prims
File "G:\anaconda3\lib\site-packages\torch_prims\init__.py", line 33, in
from torch._subclasses.fake_tensor import FakeTensor, FakeTensorMode
File "G:\anaconda3\lib\site-packages\torch_subclasses\init__.py", line 3, in
from torch._subclasses.fake_tensor import (
File "G:\anaconda3\lib\site-packages\torch_subclasses\fake_tensor.py", line 13, in
from torch._guards import Source
File "G:\anaconda3\lib\site-packages\torch_guards.py", line 78, in
class ShapeGuard(NamedTuple):
File "G:\anaconda3\lib\site-packages\torch_guards.py", line 79, in ShapeGuard
expr: sympy.Expr
AttributeError: module 'sympy' has no attribute 'Expr'
Traceback (most recent call last): File "G:\anaconda3\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "G:\anaconda3\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "G:\anaconda3\Scripts\accelerate.exe__main.py", line 4, in
File "G:\anaconda3\lib\site-packages\accelerate__init.py", line 3, in
from .accelerator import Accelerator
File "G:\anaconda3\lib\site-packages\accelerate\accelerator.py", line 32, in
import torch
File "G:\anaconda3\lib\site-packages\torch__init.py", line 1465, in
from . import _meta_registrations
File "G:\anaconda3\lib\site-packages\torch_meta_registrations.py", line 7, in
from torch._decomp import _add_op_to_registry, global_decomposition_table, meta_table
File "G:\anaconda3\lib\site-packages\torch_decomp\ init__.py", line 169, in
import torch._decomp.decompositions
File "G:\anaconda3\lib\site-packages\torch_decomp\decompositions.py", line 10, in
import torch._prims as prims
File "G:\anaconda3\lib\site-packages\torch_prims\ init__.py", line 33, in
from torch._subclasses.fake_tensor import FakeTensor, FakeTensorMode
File "G:\anaconda3\lib\site-packages\torch_subclasses\ init__.py", line 3, in
from torch._subclasses.fake_tensor import (
File "G:\anaconda3\lib\site-packages\torch_subclasses\fake_tensor.py", line 13, in
from torch._guards import Source
File "G:\anaconda3\lib\site-packages\torch_guards.py", line 78, in
class ShapeGuard(NamedTuple):
File "G:\anaconda3\lib\site-packages\torch_guards.py", line 79, in ShapeGuard
expr: sympy.Expr
AttributeError: module 'sympy' has no attribute 'Expr'