Bulid your First Project
Make the Basic Structure
- experiments \
- distributed \
- [project_name] \
- main.py # Main script to execute the project
- run.sh # Bash script to run the code
- gpu_mapping.yaml # GPU allocation for processes
- README.md # Documentation for your project
- api \
- distributed \
- [project_name] \
- API.py # High-level control for server and clients
- ServerManager.py # Manages server behavior, handles messages
- Aggregator.py # Manages the aggregation function
- ClientManager.py # Manages client behavior, handles messages
- Trainer.py # High-level trainer control for clients
- message_define.py # Defines message types
- utils.py # Utility functions and tools
- standalone \
- [project_name] \
- my_model_trainer_classification.py # Low-level trainer for clients (classification tasks)Some Useful API
Dataset
Pruning
Model
Last updated