-
@JonnyKong @VainF thanks for sharing your repo , i have following query
1. can we perform pruning on yolov5 v4 s/l/m versions of the model
2. the detectron pretrained model like FasterRCNN-R101FP…
-
Hi. I am trying to prune MViTv2 with random pruning with the following code
```python
import torch
import timm
from timm.models.mvitv2 import MultiScaleAttention, MultiScaleVit as MViT
import tor…
-
I'm trying to apply Channelwise Pruning. There persists few issues,
1. However, a few layers were not able to be pruned; the list of layers is printed out via the try and except call!
2. While loa…
-
This is an extension of #289.
#289 implements model pruning in an ensemble model, depending on the requested outputs of the ensemble.
I would also like to request pruning of the requested output…
-
Hi, thank you for your awesome pruning work.
I have had hard time to fix an issue.
I just followed the sample code you offers in #6.
After pruning, "pruend_macs, pruned_params = tp.utils.count_op…
-
the loss stop reducing after pruning (only one step).
Is it any wrong with my code?
```
imp = tp.importance.MagnitudeImportance(p=2)
ignored_layers = []
iterative_steps = 100
example_inputs = to…
-
### Describe the feature
The [Bigquery deduplicate macro](https://github.com/dbt-labs/dbt-utils/blob/4da44cb930df07921e9c4335dba2e30f9e0802d4/macros/sql/deduplicate.sql#L96) uses `array_agg` to dedup…
-
Hi, thank you for sharing. I found that after pruning, the model size of slimsam-77 is only 38M, which is the same as the model size of edgesam, but the GPU usage of slimsam is still very high, 3071Mi…
-
我的剪枝器设置:
example_inputs = torch.randn(1, 3, 640, 640).to(device)
ignored_layers = []
unwrapped_parameters = []
importance = tp.importance.GroupNormImportance(p=2)
pruner = tp.…
-
Hi I would like to prune the AttentionPool2D Layers in the ModifiedResnet of CLIP. For some reason I am running into this error:
```
ace_computational_graph(self, module2node, grad_fn_root, grad…