Everyone is welcome to contribute, and we value everybody’s contribution. Code is not the only way to help the community. Answering questions, helping others, reaching out, and improving the documentation are immensely valuable. Whichever way you choose to contribute, please be mindful to respect our code of conduct and our AI policy.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/huggingface/lerobot/llms.txt
Use this file to discover all available pages before exploring further.
Ways to Contribute
You can contribute in many ways:- Fixing issues: Resolve bugs or improve existing code.
- New features: Develop new features.
- Extend: Implement new models/policies, robots, or simulation environments and upload datasets to the Hugging Face Hub.
- Documentation: Improve examples, guides, and docstrings.
- Feedback: Submit tickets related to bugs or desired new features.
Development Setup
To contribute code, you need to set up a development environment.1. Fork and Clone
Fork the repository on GitHub, then clone your fork:2. Environment Installation
Please follow our Installation Guide for the environment setup and installation from source.Running Tests & Quality Checks
Code Style (Pre-commit)
Installpre-commit hooks to run checks automatically before you commit:
Running Tests
We usepytest. First, ensure you have test artifacts by installing git-lfs:
Submitting Issues & Pull Requests
Use the templates for required fields and examples.- Issues: Follow the ticket template.
- Pull requests: Rebase on
upstream/main, use a descriptive branch (don’t work onmain), runpre-commitand tests locally, and follow the PR template.
Community Guidelines
Code of Conduct
Be respectful and inclusive in all interactions
AI Policy
Guidelines for AI-assisted contributions
Discord Community
Join discussions and get help from the community
GitHub Repository
View source code and submit issues