Do you have anything to add to this problem resolving around a scheduler calling…
- User
Do you have anything to add to this problem resolving around a scheduler calling multiple dockerized clients that handle AI requests?
ML Parallelity Problem (Docker)
- some models need all the hardware
- we want the same hardware to work on multiple jobs
- -> models need to be switched
Possible Solutions
- Put all models in same container
- Scheduler sends load and unload signal to container
- Assistant
I have some things to add regarding your solutions
- As you have mentioned, you can put all the models in the same container and switch between models in the same container. However, you could run into the issue of conflicts, due to the possibility of requiring different versions of the same library.
- Having the scheduler load and unload different containers is definitely feasible.
If you want to be able to run multiple tasks at once where possible, such as when the combined required resources of multiple models are less than what the hardware can handle. Then you will likely need to implement a queue system and a way of checking if multiple tasks in the queue can be run simultaneously. If you implement this, you may also want to implement a priority system, so that important tasks can be run alone to ensure they are run quickly.
There are also preexisting docker orchestration that may prove helpful.
- User
List some the the existing orchestration solutions. Providing links to GitHub project pages for reference.
- Assistant
Certainly! Here are some of the existing orchestration solutions that you can consider:
- Kubernetes: This is a widely used open-source system for automating deployment, scaling, and management of containerized applications. You can find its GitHub project page here: https://github.com/kubernetes/kubernetes
- Docker Swarm: This is another popular orchestration solution for Docker containers that allows you to create and manage a cluster of Docker nodes. You can find its GitHub project page here: https://github.com/docker/swarm
- Apache Mesos: This is a distributed systems kernel that abstracts CPU, memory, storage, and other compute resources away from machines. It allows you to treat your entire data center as a single pool of resources. You can find its GitHub project page here: https://github.com/apache/mesos
- Nomad: This is a simple and flexible workload orchestrator that allows you to deploy and manage any containerized, legacy, or batch application. You can find its GitHub project page here:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)