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 details)

Uploaded Source

File details

Details for the file fc_pruning-0.1.0.tar.gz.

File metadata

  • Download URL: fc_pruning-0.1.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for fc_pruning-0.1.0.tar.gz
Algorithm Hash digest
SHA256 24b921656518e1d2afdf93932b20e42f6445f8469687692f406d6f8844b07166
MD5 4deee9ed1ae4c609cbacfc43cf305554
BLAKE2b-256 9e7353ddf2f129e2c0af7acf8ff10b691a51927c4a6756062a8d064bb97915e5

See more details on using hashes here.

Supported by

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