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
{{ message }}
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Hey yes I haven't gone through it properly as my laptop is gone for repair. I will get it back it in 2 days. I can try to work on it regardless if it needs to be completed urgently
native successful
Traceback (most recent call last):
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/convert_frame.py", line 324, in _compile
out_code = transform_code_object(code, transform)
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/bytecode_transformation.py", line 445, in transform_code_object
transformations(instructions, code_options)
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/convert_frame.py", line 299, in transform
tracer = InstructionTranslator(
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/symbolic_convert.py", line 1670, in __init__
self.symbolic_locals = collections.OrderedDict(
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/symbolic_convert.py", line 1673, in<genexpr>
VariableBuilder(
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/variables/builder.py", line 172, in __call__
returnself._wrap(value).clone(**self.options())
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/variables/builder.py", line 453, in _wrap
istype(value, (type, types.FunctionType))
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/utils.py", line 346, in istype
return type(obj) in allowed_types
File "/home/johannes/Documents/jina/docarrayv2/docarray/typing/tensor/abstract_tensor.py", line 101, in __eq__
if cls._equals_special_case(other):
File "/home/johannes/Documents/jina/docarrayv2/docarray/typing/tensor/abstract_tensor.py", line 62, in _equals_special_case
is_tensor = is_type and AbstractTensor inother.mro()
TypeError: descriptor 'mro' of 'type' object needs an argument
Set torch._dynamo.config.verbose=True for more information
You can suppress this exception and fall back to eager by setting:
torch._dynamo.config.suppress_errors = True
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/johannes/.config/JetBrains/PyCharmCE2023.2/scratches/scratch_182.py", line 18, in<module>
fn_c(a, b)
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/eval_frame.py", line 209, in _fn
return fn(*args, **kwargs)
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/eval_frame.py", line 337, in catch_errors
return callback(frame, cache_size, hooks)
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/convert_frame.py", line 404, in _convert_frame
result = inner_convert(frame, cache_size, hooks)
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/convert_frame.py", line 104, in _fn
return fn(*args, **kwargs)
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/convert_frame.py", line 262, in _convert_frame_assert
return _compile(
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/utils.py", line 163, in time_wrapper
r = func(*args, **kwargs)
File "/home/johannes/Documents/jina/docarrayv2/venv/lib/python3.8/site-packages/torch/_dynamo/convert_frame.py", line 394, in _compile
raise InternalTorchDynamoError() from e
torch._dynamo.exc.InternalTorchDynamoError
Process finished with exit code 1
Activity
h4shk4t commentedon Apr 21, 2023
Hi! I'd like to work on this issue
JohannesMessner commentedon Apr 21, 2023
Sure thing! I just discovered that I cannot formally assign it to you bc I am on mobile, but consider it yours!
JohannesMessner commentedon May 8, 2023
Hi @h4shk4t , have you had time to look into this?
h4shk4t commentedon May 10, 2023
Hey yes I haven't gone through it properly as my laptop is gone for repair. I will get it back it in 2 days. I can try to work on it regardless if it needs to be completed urgently
JohannesMessner commentedon May 15, 2023
Issue back open for whoever wants to take it ^^
JohannesMessner commentedon Jul 31, 2023
So I gave this a try, and sadly it doesn't work:
Seems fixable at first glance, I'll work on it
[-]try torch 2.x with `TorchTensor`[/-][+]bug: torch 2.x with `TorchTensor`[/+]