Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Moriarty is a set of components for building asynchronous inference cluster.
Relying on cloud vendors or self-built global queue services, asynchronous inference clusters can be built without exposing ports to the public.
This project came from my deep use of Asynchronous Inferenc for AWS Sagemaker, and as far as I know, only AWS and Aliyun provide asynchronous inference support.
For open source projects, there are many deployment solutions, but most of them are synchronous inference (based on HTTP or RPC).I don't find any alternative for async inference. Maybe Kubeflow pipeline can be used for asynchronous inference. But without serving support(Leave model in GPU as a service, not load per job), there is a significant overhead of GPU memory cache and model load time.
Key Components:
Connector
as producer, provide HTTP API for Backend Service and push invoke request to the global Job Queue. Operator
as consumer, pull tasks from the Job Queue and push them to local queue. Pulling or not depends on the load of inference cluster. And also, Operator
will autoscale inference container if needed.CLIs:
moriarty-matrix
: Manager matrix componentsmoriarty-operator
: Start the operator componentmoriarty-connector
: Start the connector componentmoriarty-sidecar
: Start the sidecar componentmoriarty-deploy
: Request operator
's API or database for deploy inference endpoint.pip install moriarty[matrix]
for all components.
Or use docker image
docker pull wh1isper/moriarty
or docker pull ghcr.io/wh1isper/moriarty
docker pull wh1isper/moriarty:dev
for developing version
Install pre-commit before commit
pip install pre-commit
pre-commit install
Install package locally with test dependencies
pip install -e .[test]
Run tests with pytest
pytest -v tests/
FAQs
moriarty
We found that moriarty demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.