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
Describe the bug forward function in Bloom_code.py file which is generated from running pytest tests/models/bloom/test_bloom.py --gen_op_accuracy_tests fails at 110. line of code lift_fresh_copy = aten.lift_fresh_copy.default(_tensor_constant0, ). lift_fresh_copy requires it's input to be Tensor and not float.
Traceback (most recent call last):
File "/home/ubuntu/pytorch2.0_ttnn/tests/autogen_accuracy_tests/Bloom_code.py", line 5866, in
forward(*inputs)
File "/home/ubuntu/pytorch2.0_ttnn/tests/autogen_accuracy_tests/Bloom_code.py", line 110, in forward
lift_fresh_copy = aten.lift_fresh_copy.default(_tensor_constant0, )
File "/home/ubuntu/tt-metal/python_env/lib/python3.8/site-packages/torch/_ops.py", line 513, in call
return self._op(*args, **(kwargs or {}))
RuntimeError: aten::lift_fresh_copy() Expected a value of type 'Tensor' for argument 'self' but instead found type 'float'.
Position: 0
Value: 0.7071067690849304
Declaration: aten::lift_fresh_copy(Tensor self) -> Tensor
Cast error details: Unable to cast 0.7071067690849304 to Tensor
The text was updated successfully, but these errors were encountered:
Ticket
Link to Github Issue
Describe the bug
forward
function inBloom_code.py
file which is generated from runningpytest tests/models/bloom/test_bloom.py --gen_op_accuracy_tests
fails at 110. line of codelift_fresh_copy = aten.lift_fresh_copy.default(_tensor_constant0, )
.lift_fresh_copy
requires it's input to beTensor
and notfloat
.To Reproduce
Steps to reproduce the behavior:
Bloom_code.py
andBloom_inputs.pickle
by running command:Bloom_code.py
:Error will be at 110. line of code:
The text was updated successfully, but these errors were encountered: