Fedasync
Asynchronous Federated Learning implementation with python/rabbitmq
Install / Use
/learn @andrew-solarstorm/FedasyncREADME
Federated Learning Project
Setup Development Environment
Install docker on linux
- Install docker For Debian/Ubuntu or Debian-based
# update and install necessary tools
sudo apt-get update
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
# add key
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
# Add repository
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
# Install docker
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
- Enable using docker without sudo
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
now you can use docker without sudo right
Install RabbitMQ in docker.
simply run:
docker run --rm -it --name rabbitmq -p 15672:15672 -p 5672:5672 rabbitmq:3-management
Install Dependencies, setup Development environment
- Python version should be 3.8.
- Conda environment is recommended.
- Perfectly work on linux.
./setup.sh
Run MNIST classification example
cd examples/mnist_tensorflow
python download_data.py
python server_fedavg.py
open 3 shells/terminals then run
python client_fedavg.py
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
sec-edgar-agentkit
10AI agent toolkit for accessing and analyzing SEC EDGAR filing data. Build intelligent agents with LangChain, MCP-use, Gradio, Dify, and smolagents to analyze financial statements, insider trading, and company filings.
Kiln
4.7kBuild, Evaluate, and Optimize AI Systems. Includes evals, RAG, agents, fine-tuning, synthetic data generation, dataset management, MCP, and more.
