Installation
Step 0. Install Anaconda
Step 1. Clone the Repository
git clone git@github.com:FedPruning/FedPruning.gitStep 2. Quick Installation of Prerequisites
# Create a new conda environment for FedPruning
conda create -n fedprune python=3.10
# Activate the environment
conda activate fedprune
# Install PyTorch and CUDA toolkits,
# assuming the CUDA version on the computer is 11.8.
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
# Install MPI for Python
conda install -c anaconda mpi4py
# Install additional dependencies from the requirements file
pip install -r requirements.txtLast updated