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: list index out of range when ipex_fp16_gpu test_api is used in all-in-one #10914

Open
Kpeacef opened this issue Apr 29, 2024 · 2 comments
Assignees

Comments

@Kpeacef
Copy link

Kpeacef commented Apr 29, 2024

Experienced an issue when ipex_fp16_gpu test_api is used.

ipex-llm/python/llm/dev/benchmark/all-in-one/run.py", line 126, in run_model

    result[in_out_pair][-1][6] if any(keyword in test_api for keyword in ['int4_gpu', 'int4_fp16_gpu_win', 'int4_loadlowbit_gpu', 'fp16_gpu', 'deepspeed_optimize_model_gpu']) else 'N/A',

    ~~~~~~~~~~~~~~~~~~~~~~~^^^

IndexError: list index out of range

@qiuxin2012 qiuxin2012 self-assigned this Apr 30, 2024
@qiuxin2012
Copy link
Contributor

ipex_fp_gpu is not a right API, see https://github.com/intel-analytics/ipex-llm/blob/2c64754eb0b5375ab635ad8b6edad98e8e330275/python/llm/dev/benchmark/all-in-one/config.yaml#L15C1-L35C61.
The error message is not friendly, I will change it later.

@Kpeacef
Copy link
Author

Kpeacef commented Apr 30, 2024

Sorry, typo ipex_fp16_gpu instead. Thank you for pointing it out.

@Kpeacef Kpeacef changed the title IndexError: list index out of range when ipex_fp_gpu test_api is used in all-in-one IndexError: list index out of range when ipex_fp16_gpu test_api is used in all-in-one Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants