Skip to content
New issue

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

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

Already on GitHub? # to your account

ITL: ZeroDivisionError: float division by zero #93

Open
kpouget opened this issue Feb 14, 2025 · 0 comments
Open

ITL: ZeroDivisionError: float division by zero #93

kpouget opened this issue Feb 14, 2025 · 0 comments

Comments

@kpouget
Copy link
Contributor

kpouget commented Feb 14, 2025

  File "/var/home/kpouget/openshift/topsail/projects/llm_load_test/subprojects/llm-load-test/result.py", line 54, in calculate_results
    self.itl = (1000 * (self.end_time - self.first_token_time)) / (
                        self.output_tokens - 1
                    )  # Inter-token latency in ms. Distinct from TPOT as it excludes the first token time.
ZeroDivisionError: float division by zero

I guess my system was too slow and my test duration was too low. But this division should be better protected!

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

No branches or pull requests

1 participant