Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: tuple index out of range #940

Open
amd-vivekag opened this issue Feb 14, 2025 · 0 comments
Open

IndexError: tuple index out of range #940

amd-vivekag opened this issue Feb 14, 2025 · 0 comments

Comments

@amd-vivekag
Copy link

amd-vivekag commented Feb 14, 2025

Steps to reproduce:

python run.py -t <testname> -b llvm-cpu -d local-task -c x86_64-linux-gnu  --mode=cl-onnx-iree --cleanup=3 --get-metadata -v

Tests failing:

hf_bart-base
hf_gpt2-small-spanish
hf_ivila-row-layoutlm-finetuned-s2vl-v2
hf_opt-125m
hf_Qwen1.5-0.5B-Chat
hf_Qwen2-0.5B
hf_Qwen2.5-0.5B-Instruct
hf_really-tiny-falcon-testing
hf_tiny-dummy-qwen2
hf_tiny-Qwen2ForCausalLM-2.5
hf_tiny-random-GemmaForCausalLM
hf_tiny-random-LlamaForCausalLM
hf_tiny-random-mt5
hf_tiny-random-Phi3ForCausalLM

Should get following Error/Exception:

Failed test at stage native_inference with exception:
tuple index out of range
Traceback (most recent call last):
  File "/home/vivekag/scratch/AIGShark/nodai/SharkTestSuite_vivekag/SHARK-TestSuite/alt_e2eshark/run.py", line 238, in run_tests
    golden_outputs_raw = inst.forward(inputs)
  File "/home/vivekag/scratch/AIGShark/nodai/SharkTestSuite_vivekag/SHARK-TestSuite/alt_e2eshark/e2e_testing/framework.py", line 78, in forward
    {session_inputs[i].name: input[i] for i in range(len(session_inputs))},
  File "/home/vivekag/scratch/AIGShark/nodai/SharkTestSuite_vivekag/SHARK-TestSuite/alt_e2eshark/e2e_testing/framework.py", line 78, in <dictcomp>
    {session_inputs[i].name: input[i] for i in range(len(session_inputs))},
IndexError: tuple index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant