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
Converting the fold operator resulted in an error: Only the Update, Add, Multiply, Maximum, and Minimum operations are currently supported for stablehlo.scatter. Node number 7 (STABLEHLO_SCATTER) failed to prepare
#337
Open
fiberflow opened this issue
Nov 4, 2024
· 1 comment
Traceback (most recent call last):
File "xxxxxx/issues/ai-edge-torch/337/test.py", line 13, in<module>
fold_edge(sample)
File "xxxxxx/git/ai-edge-torch/ai_edge_torch/model.py", line 106, in __call__
interpreter.allocate_tensors()
File "xxxxxx/envs/aet_head/lib/python3.11/site-packages/ai_edge_litert/interpreter.py", line 534, in allocate_tensors
returnself._interpreter.AllocateTensors()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Only update, Add, Multiply, Maximum and Minimum operations are currently supported for stablehlo.scatter.Node number 7 (STABLEHLO_SCATTER) failed to prepare.
Traceback (most recent call last):
File "xxxxxx/issues/ai-edge-torch/337/test.py", line 15, in<module>
culprit = next(culprits)
^^^^^^^^^^^^^^
File "xxxxxx/git/ai-edge-torch/ai_edge_torch/debug/culprit.py", line 485, in find_culprits
forsearch_resultin _search_model(
File "xxxxxx/git/ai-edge-torch/ai_edge_torch/debug/culprit.py", line 457, in _search_model
raise e
File "xxxxxx/git/ai-edge-torch/ai_edge_torch/debug/culprit.py", line 434, in _search_model
raw_min_fx_gm, raw_min_inputs = fx_minifier(
^^^^^^^^^^^^
File "xxxxxx/envs/aet_head/lib/python3.11/site-packages/torch/_functorch/fx_minifier.py", line 227, in minifier
raise RuntimeError("Input graph did not fail the tester")
RuntimeError: Input graph did not fail the tester
I should note the conversion "works" but it fails when attempting to run/be called.
Description of the bug:
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response
The text was updated successfully, but these errors were encountered: