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
I tried the benchmark of DeepLearning/Layers/FFN but encountered a list index out of range problem as following:
Traceback (most recent call last):
File "/data/data5/szwang/workspace/NPUv2/buddy-benchmark/buddy-benchmark/benchmarks/DeepLearning/Layers/FFN/buddy_ffn_import.py", line 85, in
print(driver.construct_main_graph(True), file=module_file)
File "/data/data5/szwang/workspace/NPUv2/buddy-mlir/buddy-mlir/build/python_packages/buddy/compiler/graph/graph_driver.py", line 241, in construct_main_graph
return main_importer.import_main_graph()
File "/data/data5/szwang/workspace/NPUv2/buddy-mlir/buddy-mlir/build/python_packages/buddy/compiler/graph/graph.py", line 604, in import_main_graph
def generated_func(*args):
File "/data/data5/szwang/workspace/NPUv2/buddy-mlir/buddy-mlir/llvm/build/tools/mlir/python_packages/mlir_core/mlir/dialects/func.py", line 195, in decorator
return_values = f(*func_args, **func_kwargs)
File "/data/data5/szwang/workspace/NPUv2/buddy-mlir/buddy-mlir/build/python_packages/buddy/compiler/graph/graph.py", line 617, in generated_func
self._import_placeholder(node, args_list)
File "/data/data5/szwang/workspace/NPUv2/buddy-mlir/buddy-mlir/build/python_packages/buddy/compiler/graph/graph.py", line 668, in _import_placeholder
placeholder_name = args_list[self._num_input_visited]
IndexError: list index out of range
ninja: build stopped: subcommand failed.
To Reproduce
Just follow the instructions in benchmarks/DeepLearning/README.md.
Desktop (please complete the following information):
OS: [e.g. Ubuntu]
Version [e.g. 20.04]
The text was updated successfully, but these errors were encountered:
Describe the bug
I tried the benchmark of DeepLearning/Layers/FFN but encountered a list index out of range problem as following:
Traceback (most recent call last):
File "/data/data5/szwang/workspace/NPUv2/buddy-benchmark/buddy-benchmark/benchmarks/DeepLearning/Layers/FFN/buddy_ffn_import.py", line 85, in
print(driver.construct_main_graph(True), file=module_file)
File "/data/data5/szwang/workspace/NPUv2/buddy-mlir/buddy-mlir/build/python_packages/buddy/compiler/graph/graph_driver.py", line 241, in construct_main_graph
return main_importer.import_main_graph()
File "/data/data5/szwang/workspace/NPUv2/buddy-mlir/buddy-mlir/build/python_packages/buddy/compiler/graph/graph.py", line 604, in import_main_graph
def generated_func(*args):
File "/data/data5/szwang/workspace/NPUv2/buddy-mlir/buddy-mlir/llvm/build/tools/mlir/python_packages/mlir_core/mlir/dialects/func.py", line 195, in decorator
return_values = f(*func_args, **func_kwargs)
File "/data/data5/szwang/workspace/NPUv2/buddy-mlir/buddy-mlir/build/python_packages/buddy/compiler/graph/graph.py", line 617, in generated_func
self._import_placeholder(node, args_list)
File "/data/data5/szwang/workspace/NPUv2/buddy-mlir/buddy-mlir/build/python_packages/buddy/compiler/graph/graph.py", line 668, in _import_placeholder
placeholder_name = args_list[self._num_input_visited]
IndexError: list index out of range
ninja: build stopped: subcommand failed.
To Reproduce
Just follow the instructions in benchmarks/DeepLearning/README.md.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: