tahamajs/RR / Docs /module_metadata /adaptive_compressor.json
tahamajs's picture
download
raw
800 Bytes
{
"module_name": "adaptive_compressor",
"class_name": "AdaptiveTransformerCompressor",
"category": "compression",
"family": "compression",
"params": [
"model",
"energy_threshold",
"min_rank",
"target_modules"
],
"ops": [
"linear",
"matmul",
"norm",
"softmax"
],
"docstring": "Adaptive Transformer Compressor.\n\nCompresses nn.MultiheadAttention and nn.Linear layers using singular energy thresholding:\n sum_{i=1}^r sigma_i^2 / sum_j sigma_j^2 >= energy_threshold\nwith symmetric square-root singular value allocation:\n U_factor = U_r * sqrt(Sigma_r), V_factor = sqrt(Sigma_r) * V_r^T.",
"rank": 16,
"d_state": 1,
"num_experts": 1,
"top_k": 1,
"sparsity_pct": 0.0,
"bits": 4,
"hash_val": 207956569950425828302497640380674477602
}

Xet Storage Details

Size:
800 Bytes
·
Xet hash:
695e939cc5f8b163f6842f63c885988f74cea9b89c6884336e84f3a76b7c0de2

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.