Trying to run benchmark.py script results "too many values to upack error" #1782
Replies: 1 comment
-
|
The error suggests that In for inlen, outlen in self.in_out_lens:assumes that each element of [(200, 200), (512, 128)]A A couple of things to check:
If "200;200"instead of: [(200, 200)]then the issue is likely in the argument parsing rather than in the unpacking itself. Could you also share:
That would help determine whether this is a usage issue or a bug in that particular release. If this answer helped or pointed you in the right direction, I'd appreciate it if you could mark it as the accepted answer so it's easier for others with the same issue to find. Also, if you found my contribution useful, I'd appreciate it if you could check out my GitHub profile, follow me, and star any repositories you find interesting. GitHub: https://github.com/Advait251206 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to run the benchmark.py script using as shown below :
mpirun -n 1 python3 benchmarks/python/benchmark.py -m starcoder_15.5b --mode plugin --batch_size "1;4;8;" --input_output_len "200;200"
This results in following error:
/python/gpt_benchmark.py", line 206, in get_config
for inlen, outlen in self.in_out_lens:
ValueError: too many values to unpack (expected 2)
Seems one should not unpack the values from self.in_out_lens to inlen and outlen as seen in the gpt_benchmark.py
Any one know how to fix that error ?
Beta Was this translation helpful? Give feedback.
All reactions