-
Notifications
You must be signed in to change notification settings - Fork 159
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
feature: revamp dummy agent to have compute plugins indivisually #1597
base: main
Are you sure you want to change the base?
Conversation
…to feature/advanced-dummy-agent
Perhaps we can find a way to integrate our mock accelerator plugin with dummy agent. |
@fregataa Dynamically generating multiple I think it would be convenient if a single However since there are many environment variable values that need to be passed, it might be better to look for a more efficient method. What do you think about it? |
follow-up: #1313
Let dummy agents to have compute plugins indivisually.
How to use
Set
agent.toml
Check
configs/agent/sample-dummy.toml
for full content.Then run agent.
How to run multiple agents
If you want to run multiple dummy agents in one machine, you need multiple "agent.toml" files. Copy and paste the original "agent.toml" file and change
rpc-listen-addr
,agent-sock-port
,id
andpid-file
.Then run agent.
How to set compute devices.
Dummy agents can set up heterogeneous computing devices using mock accelerators just like regular agents. For more information about how to use mock accelerators, see
src/ai/backend/accelerator/mock/README.md
.How it looks
Expectation
Checklist: (if applicable)