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.
-
Train Local Model
-
Configure Quantization:
- Set up initial quantization settings.
self.configure_pruning(pruning_ratio, model, reference_model, imp,ex_input, ignored_layers)
- Set up initial quantization settings.
-
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
Release history Release notifications | RSS feed
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)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24b921656518e1d2afdf93932b20e42f6445f8469687692f406d6f8844b07166
|
|
| MD5 |
4deee9ed1ae4c609cbacfc43cf305554
|
|
| BLAKE2b-256 |
9e7353ddf2f129e2c0af7acf8ff10b691a51927c4a6756062a8d064bb97915e5
|