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

Precautions consultation in running #4

Open
chuan111111 opened this issue Dec 11, 2024 · 1 comment
Open

Precautions consultation in running #4

chuan111111 opened this issue Dec 11, 2024 · 1 comment

Comments

@chuan111111
Copy link

Hi! I would like to ask you if there are any cautions in running this project. I always have some small errors in the process of running. For example, in openai_llm.py, line 94, in _replenish self.throughput = self.total / (curr_time - self.start_time) * 60 ZeroDivisionError: float division by zero. And some data type errors. Was there something I didn't notice?Thanks!

@jplhughes
Copy link
Collaborator

I haven't seen this before but you can just comment out this line to unblock yourself (or add a small epsilon to curr_time). This isn't required logic and only there to track how many llm calls are made per minute.

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

2 participants