Skip to main content

FC Pruning

Project description

FeatureCloud Pruning

Model Compression with Pruning

The FC Pruning package offers a streamlined approach to model compression using advanced pruning techniques. With support for federated learning frameworks and integration with the Torch-Pruning library, this package enables efficient distributed training, suitable for a wide range of machine learning tasks.

  1. Train Local Model

  2. Configure Quantization:

    • Set up initial quantization settings.
        self.configure_pruning(pruning_ratio, model, reference_model, imp,ex_input,
                               ignored_layers)        
      
  3. Send Data to Coordinator and perform Pruning:

    • Send the prepared model data to the coordinator.
     self.send_data_to_coordinator(model, use_pruning=True, use_smpc=False, use_dp=False)
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fc_pruning-0.1.0.tar.gz (8.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page