Skip to main content

a python wrapper around nodejs orbitdb

Project description

IPFS ACCELERATE

This is meant to be an extension of the Huggingface accelerate library, is to act as a model server, which can contain lists of other endpoints to call, or can call a local instance, and can respond to external calls for inference. I have some modular back ends, such as Libp2p, Akash, Lilypad, Huggingface Zero, Vast AI, which I use for autoscaling. If the model is already listed in the ipfs_model_manager there should be an associated hw_requirements key of the manifest. In the case of libp2p the request to do inference will go out to peers in the same trusted zone, if there are no peers in the network available to fulfill the task, and it has the resources to run the model localliy it will do so, otherwise a docker container will need to be launched with one of the providers here.

BACKENDS

You can spin up additional model endpoints with the following:

Method #1 Huggingface Hugs

Method #2 Akash

Method #3 Lilypad

Method #4 Vast AI

IPFS Huggingface Bridge:

for huggingface transformers python library visit: https://github.com/endomorphosis/ipfs_transformers/

for huggingface datasets python library visit: https://github.com/endomorphosis/ipfs_datasets/

for faiss KNN index python library visit: https://github.com/endomorphosis/ipfs_faiss

for transformers.js visit:
https://github.com/endomorphosis/ipfs_transformers_js

for orbitdb_kit nodejs library visit: https://github.com/endomorphosis/orbitdb_kit/

for fireproof_kit nodejs library visit: https://github.com/endomorphosis/fireproof_kit

for ipfs_kit nodejs library visit: https://github.com/endomorphosis/ipfs_kit/

for python model manager library visit: https://github.com/endomorphosis/ipfs_model_manager/

for nodejs model manager library visit: https://github.com/endomorphosis/ipfs_model_manager_js/

for nodejs ipfs huggingface scraper with pinning services visit: https://github.com/endomorphosis/ipfs_huggingface_scraper/

for ipfs agents visit: https://github.com/endomorphosis/ipfs_agents/

for ipfs accelerate visit: https://github.com/endomorphosis/ipfs_accelerate/

Author - Benjamin Barber QA - Kevin De Haan

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipfs_accelerate_py-0.0.27.tar.gz (61.0 kB view details)

Uploaded Source

Built Distribution

ipfs_accelerate_py-0.0.27-py3-none-any.whl (70.2 kB view details)

Uploaded Python 3

File details

Details for the file ipfs_accelerate_py-0.0.27.tar.gz.

File metadata

  • Download URL: ipfs_accelerate_py-0.0.27.tar.gz
  • Upload date:
  • Size: 61.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for ipfs_accelerate_py-0.0.27.tar.gz
Algorithm Hash digest
SHA256 51a28a8ebbe73dfebdb3a551b0de34918c7902ae3c23cca030226db53888f777
MD5 bd5c210751455b4bc858f9717c148542
BLAKE2b-256 dc4af6ec0e2d14b56dfc900b54a4bd6f73af1d1f71c7dd46bd1b976093c02b99

See more details on using hashes here.

File details

Details for the file ipfs_accelerate_py-0.0.27-py3-none-any.whl.

File metadata

File hashes

Hashes for ipfs_accelerate_py-0.0.27-py3-none-any.whl
Algorithm Hash digest
SHA256 0ed539b68c057d4a665857fcfa27e90cff2eeab7b6c218ddd78d12a9c2ab4c06
MD5 845023883504977cb8fd080a48644e96
BLAKE2b-256 f4307b431a31f4aa7fee96ef45f66b161b24de204ba9164ab8fe2f7820431b2c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page