Skip to content

impel-intelligence/dippy-commune-subnet

Repository files navigation

Commune Subnet Templeate

Subnet template built on top of CommuneX.

Lern how to structure, build and deploy a subnet on Commune AI!

Dependencies

The whole subnet template is built on top of the CommuneX library / SDK. Which is truly the only essential dependency.

Although in order to make the template more explict we also provide additional libraries. You can find the whole dependency list we used in the requirements.txt file.

communex
typer
uvicorn
keylimiter
pydantic-settings

Model ranking methodology

Miner

Mining for this subnet involves training an LLM that requires safetensors and a limited filesize.

From the root of your project, you can just call comx module serve. For example:

comx module serve commune-subnet-template.subnet.miner.model.Miner <name-of-your-com-key> [--subnets-whitelist <your-subnet-netuid>] \
[--ip <text>] [--port <number>]

Validator

To run the validator, just call the file in which you are executing validator.validate_loop(). For example:

python3 -m commune-subnet-template.subnet.cli <name-of-your-com-key>

Roadmap

  • [] Basic subnet functionality
  • [] Inference for top model

Further reading

For full documentation of the Commune AI ecosystem, please visit the Official Commune Page, and it's developer documentation. There you can learn about all subnet details, deployment, and more!

About

Subnet for Commune AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages