mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
Merge commit '71e7a5ca27' into add-support-for-custom-api-servers
This commit is contained in:
commit
96be544228
45 changed files with 1605 additions and 494 deletions
|
|
@ -86,8 +86,8 @@ class ServerManager:
|
|||
)
|
||||
)
|
||||
self.servers = [OpenAIServer(config) for config in openai_configs]
|
||||
if not slurm:
|
||||
self.servers = [server_class(config) for config in configs]
|
||||
elif not slurm:
|
||||
self.servers = [OpenAIServer(config) for config in configs]
|
||||
else:
|
||||
nodelist = (
|
||||
os.popen(f'scontrol show hostnames {os.environ["SLURM_JOB_NODELIST"]}')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue