Classifications
Description
If ffmpeg returns N/A for speed for whatever reason, the program throws an exception and exits.
If N/A is returned for speed the same test should be re-ran
Error Code or Output
Status: Done Workers: 1Last Speed: 01.12 0% [ ] ETA: --:--:--> > Current Test: 720p - 1080p
> > > Current Device: cpu
> > > > Workers: 1, Last Speed: -0.5
> > > > Workers: 4, Last Speed: 3.4215384615384616
> > > > Scaling back to: 3, Last Speed: 0.8399387755102041
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/user/Documents/GitHub/pyTAB/jellybench_py/core.py", line 825, in main
return cli()
^^^^^
File "/Users/user/Documents/GitHub/pyTAB/jellybench_py/core.py", line 792, in cli
valid, runs, result = benchmark(
^^^^^^^^^^
File "/Users/user/Documents/GitHub/pyTAB/jellybench_py/core.py", line 197, in benchmark
output = worker.workMan(total_workers, ffmpeg_cmd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/user/Documents/GitHub/pyTAB/jellybench_py/worker.py", line 131, in workMan
speeds.append(float(new_line[6].split("=")[-1].replace("x", "")))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: 'N/A'
Steps to Reproduce
- Start benchmark
- Hope it happens
- If it doesn't happen then do it enough times until it happens
Operating System
MacOS
System Architecture
ARM64 (64-bit)
Python Version
3.12.8
CPU[s]
Apple M1 Pro
GPU[s]
Apple M1 Pro
Additional Context
No response
Possible Solution
No response
Classifications
python ./jellybench_py/hwi.pymanually (within the Poetry shell) works and produces correct results.Starting Benchmark...).--debugmode (recommended for issue reports).develop) of jellybench. I understand older versions are not supported.Description
If ffmpeg returns N/A for speed for whatever reason, the program throws an exception and exits.
If N/A is returned for speed the same test should be re-ran
Error Code or Output
Steps to Reproduce
Operating System
MacOS
System Architecture
ARM64 (64-bit)
Python Version
3.12.8
CPU[s]
Apple M1 Pro
GPU[s]
Apple M1 Pro
Additional Context
No response
Possible Solution
No response