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

Issue with Asynchronous Multi-Agent Commands using LMStudio API Causing Incorrect Output Assignment #24

Closed
mohannahoveyda opened this issue May 8, 2024 · 2 comments

Comments

@mohannahoveyda
Copy link

Hi,

Thanks for this useful framework!

There is an issue while running multi-agent commands that require asynchronous use of LMStudio API. For instance, running PYTHONPATH=. python experiments/run_mmlu.py --num-truthful-agents=3 --mode=OptimizedSwarm, the outputs of LMStudio seem to be not assigned to the relevant question but to random input questions.

I have not tested this with Open AI API to see if this is specifically an incompatibility issue of LMStudio.

My current temporary solution is not to use the asynchronous implementation but this is annoyingly very slow. Have you encountered this? Is there a way to still use your asynchronous implementation and not experience this issue?

Thanks so much!

@mczhuge
Copy link
Contributor

mczhuge commented May 15, 2024

@Obs01ete Hi, Dmitrii. Could we solve this problem.

@Obs01ete
Copy link
Contributor

Hi @mohannahoveyda! Thank you for being so interested in GPTSwarm. Please let me take a look at why the requests get mixed up. However, regardless of the reasons for this bug, you can go ahead with your temporary solution because there is no sense in running the requests in parallel if they all go to your local (presumably, Mac) GPU anyway. Mac's GPU is too slow to run the full-scale experiments that we did.

@mczhuge mczhuge closed this as completed Jul 30, 2024
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

3 participants