import{s as Xa,o as Ja,n as Za}from"../chunks/scheduler.25b97de1.js";import{S as Ka,i as es,g as a,s as n,r as d,A as ts,h as s,f as r,c as o,j as h,u as l,x as g,k as _,y as t,a as f,v as m,d as c,t as p,w as u}from"../chunks/index.d9030fc9.js";import{T as ns}from"../chunks/Tip.baa67368.js";import{D as b}from"../chunks/Docstring.ffac8efa.js";import{C as os}from"../chunks/CodeBlock.e6cd0d95.js";import{E as rs}from"../chunks/ExampleCodeBlock.22dfe688.js";import{H as M,E as as}from"../chunks/EditOnGithub.91d95064.js";function ss(Lt){let $,B='Learn how to quantize models in the <a href="../quantization">Quantization</a> guide.';return{c(){$=a("p"),$.innerHTML=B},l(z){$=s(z,"P",{"data-svelte-h":!0}),g($)!=="svelte-1pv1tva"&&($.innerHTML=B)},m(z,k){f(z,$,k)},p:Za,d(z){z&&r($)}}}function is(Lt){let $,B="Example:",z,k,P;return k=new os({props:{code:"cXVhbnRpemF0aW9uX2NvbmZpZyUyMCUzRCUyMFRvcmNoQW9Db25maWcoJTIyaW50NF93ZWlnaHRfb25seSUyMiUyQyUyMGdyb3VwX3NpemUlM0QzMiklMEElMjMlMjBpbnQ0X3dlaWdodF9vbmx5JTIwcXVhbnQlMjBpcyUyMG9ubHklMjB3b3JraW5nJTIwd2l0aCUyMCp0b3JjaC5iZmxvYXQxNiolMjBkdHlwZSUyMHJpZ2h0JTIwbm93JTBBbW9kZWwlMjAlM0QlMjBBdXRvTW9kZWxGb3JDYXVzYWxMTS5mcm9tX3ByZXRyYWluZWQobW9kZWxfaWQlMkMlMjBkZXZpY2VfbWFwJTNEJTIyY3VkYSUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guYmZsb2F0MTYlMkMlMjBxdWFudGl6YXRpb25fY29uZmlnJTNEcXVhbnRpemF0aW9uX2NvbmZpZyk=",highlighted:`quantization_config = TorchAoConfig(<span class="hljs-string">&quot;int4_weight_only&quot;</span>, group_size=<span class="hljs-number">32</span>)
<span class="hljs-comment"># int4_weight_only quant is only working with *torch.bfloat16* dtype right now</span>
model = AutoModelForCausalLM.from_pretrained(model_id, device_map=<span class="hljs-string">&quot;cuda&quot;</span>, torch_dtype=torch.bfloat16, quantization_config=quantization_config)`,wrap:!1}}),{c(){$=a("p"),$.textContent=B,z=n(),d(k.$$.fragment)},l(x){$=s(x,"P",{"data-svelte-h":!0}),g($)!=="svelte-11lpom8"&&($.textContent=B),z=o(x),l(k.$$.fragment,x)},m(x,Q){f(x,$,Q),f(x,z,Q),m(k,x,Q),P=!0},p:Za,i(x){P||(c(k.$$.fragment,x),P=!0)},o(x){p(k.$$.fragment,x),P=!1},d(x){x&&(r($),r(z)),u(k,x)}}}function ds(Lt){let $,B,z,k,P,x,Q,oa="Quantization techniques reduce memory and computational costs by representing weights and activations with lower-precision data types like 8-bit integers (int8). This enables loading larger models you normally wouldn’t be able to fit into memory, and speeding up inference. Transformers supports the AWQ and GPTQ quantization algorithms and it supports 8-bit and 4-bit quantization with bitsandbytes.",Cn,we,ra="Quantization techniques that aren’t supported in Transformers can be added with the <code>HfQuantizer</code> class.",Tn,W,kn,Ce,Ln,D,Te,Do,At,aa=`This is a wrapper class about all possible attributes and features that you can play with a model that has been
loaded using <code>quanto</code>.`,Ho,O,ke,No,Mt,sa="Safety checker that arguments are correct",An,Le,Mn,H,Ae,Eo,Pt,ia="This is a wrapper class about <code>aqlm</code> parameters.",Bo,S,Me,Io,Qt,da="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",Pn,Pe,Qn,N,Qe,Fo,Dt,la=`This is a wrapper class about all possible attributes and features that you can play with a model that has been
loaded using <code>auto-awq</code> library awq quantization relying on auto_awq backend.`,Vo,U,De,jo,Ht,ma="Safety checker that arguments are correct",Dn,He,Hn,E,Ne,Go,Nt,ca=`This is a wrapper class about all possible attributes and features that you can play with a model that has been
loaded using <code>eetq</code>.`,Wo,R,Ee,Oo,Et,pa="Safety checker that arguments are correct",Nn,Be,En,C,Ie,So,Bt,ua=`This is a wrapper class about all possible attributes and features that you can play with a model that has been
loaded using <code>optimum</code> api for gptq quantization relying on auto_gptq backend.`,Uo,Y,Fe,Ro,It,fa="Get compatible class with optimum gptq config dict",Yo,Z,Ve,Zo,Ft,ga="Safety checker that arguments are correct",Xo,X,je,Jo,Vt,ha="Get compatible dict for optimum gptq config",Bn,Ge,In,q,We,Ko,jt,_a=`This is a wrapper class about all possible attributes and features that you can play with a model that has been
loaded using <code>bitsandbytes</code>.`,er,Gt,ba="This replaces <code>load_in_8bit</code> or <code>load_in_4bit</code>therefore both options are mutually exclusive.",tr,Wt,va=`Currently only supports <code>LLM.int8()</code>, <code>FP4</code>, and <code>NF4</code> quantization. If more methods are added to <code>bitsandbytes</code>,
then more arguments will be added to this class.`,nr,J,Oe,or,Ot,ya="Returns <code>True</code> if the model is quantizable, <code>False</code> otherwise.",rr,K,Se,ar,St,$a="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",sr,ee,Ue,ir,Ut,qa=`This method returns the quantization method used for the model. If the model is not quantizable, it returns
<code>None</code>.`,dr,te,Re,lr,Rt,xa=`Removes all attributes from config which correspond to the default config attributes for better readability and
serializes to a Python dictionary.`,Fn,Ye,Vn,v,Ze,mr,Yt,za=`Abstract class of the HuggingFace quantizer. Supports for now quantizing HF transformers models for inference and/or quantization.
This class is used only for transformers.PreTrainedModel.from_pretrained and cannot be easily used outside the scope of that method
yet.`,cr,Zt,wa=`Attributes
quantization_config (<code>transformers.utils.quantization_config.QuantizationConfigMixin</code>):
The quantization config that defines the quantization parameters of your model that you want to quantize.
modules_to_not_convert (<code>List[str]</code>, <em>optional</em>):
The list of module names to not convert when quantizing the model.
required_packages (<code>List[str]</code>, <em>optional</em>):
The list of required pip packages to install prior to using the quantizer
requires_calibration (<code>bool</code>):
Whether the quantization method requires to calibrate the model before using it.
requires_parameters_quantization (<code>bool</code>):
Whether the quantization method requires to create a new Parameter. For example, for bitsandbytes, it is
required to create a new xxxParameter in order to properly quantize the model.`,pr,ne,Xe,ur,Xt,Ca="adjust max_memory argument for infer_auto_device_map() if extra memory is needed for quantization",fr,oe,Je,gr,Jt,Ta=`Override this method if you want to adjust the <code>target_dtype</code> variable used in <code>from_pretrained</code>
to compute the device_map in case the device_map is a <code>str</code>. E.g. for bitsandbytes we force-set <code>target_dtype</code>
to <code>torch.int8</code> and for 4-bit we pass a custom enum <code>accelerate.CustomDtype.int4</code>.`,hr,re,Ke,_r,Kt,ka=`checks if a loaded state_dict component is part of quantized param + some validation; only defined if
requires_parameters_quantization == True for quantization methods that require to create a new parameters
for quantization.`,br,ae,et,vr,en,La=`takes needed components from state_dict and creates quantized param; only applicable if
requires_parameters_quantization == True`,yr,se,tt,$r,tn,Aa=`Potentially dequantize the model to retrive the original model, with some loss in accuracy / performance.
Note not all quantization schemes support this.`,qr,ie,nt,xr,nn,Ma=`returns dtypes for modules that are not quantized - used for the computation of the device_map in case
one passes a str as a device_map. The method will use the <code>modules_to_not_convert</code> that is modified
in <code>_process_model_before_weight_loading</code>.`,zr,de,ot,wr,on,Pa=`Post-process the model post weights loading.
Make sure to override the abstract method <code>_process_model_after_weight_loading</code>.`,Cr,le,rt,Tr,rn,Qa=`Setting model attributes and/or converting model before weights loading. At this point
the model should be initialized on the meta device so you can freely manipulate the skeleton
of the model in order to replace modules in-place. Make sure to override the abstract method <code>_process_model_before_weight_loading</code>.`,kr,me,at,Lr,an,Da=`Override this method if you want to pass a override the existing device map with a new
one. E.g. for bitsandbytes, since <code>accelerate</code> is a hard requirement, if no device_map is
passed, the device_map is set to \`“auto”“`,Ar,ce,st,Mr,sn,Ha="Override this method if you want to adjust the <code>update_expected_keys</code>.",Pr,pe,it,Qr,dn,Na="Override this method if you want to adjust the <code>missing_keys</code>.",Dr,ue,dt,Hr,ln,Ea=`Some quantization methods require to explicitly set the dtype of the model to a
target dtype. You need to override this method in case you want to make sure that behavior is
preserved`,Nr,fe,lt,Er,mn,Ba=`This method is used to potentially check for potential conflicts with arguments that are
passed in <code>from_pretrained</code>. You need to define it for all future quantizers that are integrated with transformers.
If no explicit check are needed, simply return nothing.`,jn,mt,Gn,T,ct,Br,cn,Ia="This is wrapper around hqq’s BaseQuantizeConfig.",Ir,ge,pt,Fr,pn,Fa="Override from_dict, used in AutoQuantizationConfig.from_dict in quantizers/auto.py",Vr,he,ut,jr,un,Va="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",Gr,_e,ft,Wr,fn,ja=`Removes all attributes from config which correspond to the default config attributes for better readability and
serializes to a Python dictionary.`,Wn,gt,On,V,ht,Or,gn,Ga=`This is a wrapper class about all possible attributes and features that you can play with a model that has been
loaded using fbgemm fp8 quantization.`,Sn,_t,Un,L,bt,Sr,hn,Wa=`This is a wrapper class that handles compressed-tensors quantization config options.
It is a wrapper around <code>compressed_tensors.QuantizationConfig</code>`,Ur,be,vt,Rr,_n,Oa=`Instantiates a <a href="/docs/transformers/pr_30530/en/main_classes/quantization#transformers.CompressedTensorsConfig">CompressedTensorsConfig</a> from a Python dictionary of parameters.
Optionally unwraps any args from the nested quantization_config`,Yr,ve,yt,Zr,bn,Sa=`Removes all attributes from config which correspond to the default config attributes for better readability and
serializes to a Python dictionary.`,Rn,$t,Yn,A,qt,Xr,vn,Ua="This is a config class for torchao quantization/sparsity techniques.",Jr,ye,Kr,$e,xt,ea,yn,Ra="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",Zn,zt,Xn,j,wt,ta,qe,Ct,na,$n,Ya="Safety checker that arguments are correct",Jn,Tt,Kn,wn,eo;return P=new M({props:{title:"Quantization",local:"quantization",headingTag:"h1"}}),W=new ns({props:{$$slots:{default:[ss]},$$scope:{ctx:Lt}}}),Ce=new M({props:{title:"QuantoConfig",local:"transformers.QuantoConfig",headingTag:"h2"}}),Te=new b({props:{name:"class transformers.QuantoConfig",anchor:"transformers.QuantoConfig",parameters:[{name:"weights",val:" = 'int8'"},{name:"activations",val:" = None"},{name:"modules_to_not_convert",val:": typing.Optional[typing.List] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.QuantoConfig.weights",description:`<strong>weights</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;int8&quot;</code>) &#x2014;
The target dtype for the weights after quantization. Supported values are (&#x201C;float8&#x201D;,&#x201C;int8&#x201D;,&#x201C;int4&#x201D;,&#x201C;int2&#x201D;)`,name:"weights"},{anchor:"transformers.QuantoConfig.activations",description:`<strong>activations</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The target dtype for the activations after quantization. Supported values are (None,&#x201C;int8&#x201D;,&#x201C;float8&#x201D;)`,name:"activations"},{anchor:"transformers.QuantoConfig.modules_to_not_convert",description:`<strong>modules_to_not_convert</strong> (<code>list</code>, <em>optional</em>, default to <code>None</code>) &#x2014;
The list of modules to not quantize, useful for quantizing models that explicitly require to have
some modules left in their original precision (e.g. Whisper encoder, Llava encoder, Mixtral gate layers).`,name:"modules_to_not_convert"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L997"}}),ke=new b({props:{name:"post_init",anchor:"transformers.QuantoConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L1026"}}),Le=new M({props:{title:"AqlmConfig",local:"transformers.AqlmConfig",headingTag:"h2"}}),Ae=new b({props:{name:"class transformers.AqlmConfig",anchor:"transformers.AqlmConfig",parameters:[{name:"in_group_size",val:": int = 8"},{name:"out_group_size",val:": int = 1"},{name:"num_codebooks",val:": int = 1"},{name:"nbits_per_codebook",val:": int = 16"},{name:"linear_weights_not_to_quantize",val:": typing.Optional[typing.List[str]] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.AqlmConfig.in_group_size",description:`<strong>in_group_size</strong> (<code>int</code>, <em>optional</em>, defaults to 8) &#x2014;
The group size along the input dimension.`,name:"in_group_size"},{anchor:"transformers.AqlmConfig.out_group_size",description:`<strong>out_group_size</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The group size along the output dimension. It&#x2019;s recommended to always use 1.`,name:"out_group_size"},{anchor:"transformers.AqlmConfig.num_codebooks",description:`<strong>num_codebooks</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
Number of codebooks for the Additive Quantization procedure.`,name:"num_codebooks"},{anchor:"transformers.AqlmConfig.nbits_per_codebook",description:`<strong>nbits_per_codebook</strong> (<code>int</code>, <em>optional</em>, defaults to 16) &#x2014;
Number of bits encoding a single codebook vector. Codebooks size is 2**nbits_per_codebook.`,name:"nbits_per_codebook"},{anchor:"transformers.AqlmConfig.linear_weights_not_to_quantize",description:`<strong>linear_weights_not_to_quantize</strong> (<code>Optional[List[str]]</code>, <em>optional</em>) &#x2014;
List of full paths of <code>nn.Linear</code> weight parameters that shall not be quantized.`,name:"linear_weights_not_to_quantize"},{anchor:"transformers.AqlmConfig.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
Additional parameters from which to initialize the configuration object.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L937"}}),Me=new b({props:{name:"post_init",anchor:"transformers.AqlmConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L975"}}),Pe=new M({props:{title:"AwqConfig",local:"transformers.AwqConfig",headingTag:"h2"}}),Qe=new b({props:{name:"class transformers.AwqConfig",anchor:"transformers.AwqConfig",parameters:[{name:"bits",val:": int = 4"},{name:"group_size",val:": int = 128"},{name:"zero_point",val:": bool = True"},{name:"version",val:": AWQLinearVersion = <AWQLinearVersion.GEMM: 'gemm'>"},{name:"backend",val:": AwqBackendPackingMethod = <AwqBackendPackingMethod.AUTOAWQ: 'autoawq'>"},{name:"do_fuse",val:": typing.Optional[bool] = None"},{name:"fuse_max_seq_len",val:": typing.Optional[int] = None"},{name:"modules_to_fuse",val:": typing.Optional[dict] = None"},{name:"modules_to_not_convert",val:": typing.Optional[typing.List] = None"},{name:"exllama_config",val:": typing.Optional[typing.Dict[str, int]] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.AwqConfig.bits",description:`<strong>bits</strong> (<code>int</code>, <em>optional</em>, defaults to 4) &#x2014;
The number of bits to quantize to.`,name:"bits"},{anchor:"transformers.AwqConfig.group_size",description:`<strong>group_size</strong> (<code>int</code>, <em>optional</em>, defaults to 128) &#x2014;
The group size to use for quantization. Recommended value is 128 and -1 uses per-column quantization.`,name:"group_size"},{anchor:"transformers.AwqConfig.zero_point",description:`<strong>zero_point</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to use zero point quantization.`,name:"zero_point"},{anchor:"transformers.AwqConfig.version",description:`<strong>version</strong> (<code>AWQLinearVersion</code>, <em>optional</em>, defaults to <code>AWQLinearVersion.GEMM</code>) &#x2014;
The version of the quantization algorithm to use. GEMM is better for big batch_size (e.g. &gt;= 8) otherwise,
GEMV is better (e.g. &lt; 8 ). GEMM models are compatible with Exllama kernels.`,name:"version"},{anchor:"transformers.AwqConfig.backend",description:`<strong>backend</strong> (<code>AwqBackendPackingMethod</code>, <em>optional</em>, defaults to <code>AwqBackendPackingMethod.AUTOAWQ</code>) &#x2014;
The quantization backend. Some models might be quantized using <code>llm-awq</code> backend. This is useful for users
that quantize their own models using <code>llm-awq</code> library.`,name:"backend"},{anchor:"transformers.AwqConfig.do_fuse",description:`<strong>do_fuse</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to fuse attention and mlp layers together for faster inference`,name:"do_fuse"},{anchor:"transformers.AwqConfig.fuse_max_seq_len",description:`<strong>fuse_max_seq_len</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The Maximum sequence length to generate when using fusing.`,name:"fuse_max_seq_len"},{anchor:"transformers.AwqConfig.modules_to_fuse",description:`<strong>modules_to_fuse</strong> (<code>dict</code>, <em>optional</em>, default to <code>None</code>) &#x2014;
Overwrite the natively supported fusing scheme with the one specified by the users.`,name:"modules_to_fuse"},{anchor:"transformers.AwqConfig.modules_to_not_convert",description:`<strong>modules_to_not_convert</strong> (<code>list</code>, <em>optional</em>, default to <code>None</code>) &#x2014;
The list of modules to not quantize, useful for quantizing models that explicitly require to have
some modules left in their original precision (e.g. Whisper encoder, Llava encoder, Mixtral gate layers).
Note you cannot quantize directly with transformers, please refer to <code>AutoAWQ</code> documentation for quantizing HF models.`,name:"modules_to_not_convert"},{anchor:"transformers.AwqConfig.exllama_config",description:`<strong>exllama_config</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
You can specify the version of the exllama kernel through the <code>version</code> key, the maximum sequence
length through the <code>max_input_len</code> key, and the maximum batch size through the <code>max_batch_size</code> key.
Defaults to <code>{&quot;version&quot;: 2, &quot;max_input_len&quot;: 2048, &quot;max_batch_size&quot;: 8}</code> if unset.`,name:"exllama_config"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L764"}}),De=new b({props:{name:"post_init",anchor:"transformers.AwqConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L833"}}),He=new M({props:{title:"EetqConfig",local:"transformers.EetqConfig",headingTag:"h2"}}),Ne=new b({props:{name:"class transformers.EetqConfig",anchor:"transformers.EetqConfig",parameters:[{name:"weights",val:": str = 'int8'"},{name:"modules_to_not_convert",val:": typing.Optional[typing.List] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.EetqConfig.weights",description:`<strong>weights</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;int8&quot;</code>) &#x2014;
The target dtype for the weights. Supported value is only &#x201C;int8&#x201D;`,name:"weights"},{anchor:"transformers.EetqConfig.modules_to_not_convert",description:`<strong>modules_to_not_convert</strong> (<code>list</code>, <em>optional</em>, default to <code>None</code>) &#x2014;
The list of modules to not quantize, useful for quantizing models that explicitly require to have
some modules left in their original precision.`,name:"modules_to_not_convert"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L1038"}}),Ee=new b({props:{name:"post_init",anchor:"transformers.EetqConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L1063"}}),Be=new M({props:{title:"GPTQConfig",local:"transformers.GPTQConfig",headingTag:"h2"}}),Ie=new b({props:{name:"class transformers.GPTQConfig",anchor:"transformers.GPTQConfig",parameters:[{name:"bits",val:": int"},{name:"tokenizer",val:": typing.Any = None"},{name:"dataset",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"group_size",val:": int = 128"},{name:"damp_percent",val:": float = 0.1"},{name:"desc_act",val:": bool = False"},{name:"sym",val:": bool = True"},{name:"true_sequential",val:": bool = True"},{name:"use_cuda_fp16",val:": bool = False"},{name:"model_seqlen",val:": typing.Optional[int] = None"},{name:"block_name_to_quantize",val:": typing.Optional[str] = None"},{name:"module_name_preceding_first_block",val:": typing.Optional[typing.List[str]] = None"},{name:"batch_size",val:": int = 1"},{name:"pad_token_id",val:": typing.Optional[int] = None"},{name:"use_exllama",val:": typing.Optional[bool] = None"},{name:"max_input_length",val:": typing.Optional[int] = None"},{name:"exllama_config",val:": typing.Optional[typing.Dict[str, typing.Any]] = None"},{name:"cache_block_outputs",val:": bool = True"},{name:"modules_in_block_to_quantize",val:": typing.Optional[typing.List[typing.List[str]]] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.GPTQConfig.bits",description:`<strong>bits</strong> (<code>int</code>) &#x2014;
The number of bits to quantize to, supported numbers are (2, 3, 4, 8).`,name:"bits"},{anchor:"transformers.GPTQConfig.tokenizer",description:`<strong>tokenizer</strong> (<code>str</code> or <code>PreTrainedTokenizerBase</code>, <em>optional</em>) &#x2014;
The tokenizer used to process the dataset. You can pass either:<ul>
<li>A custom tokenizer object.</li>
<li>A string, the <em>model id</em> of a predefined tokenizer hosted inside a model repo on huggingface.co.</li>
<li>A path to a <em>directory</em> containing vocabulary files required by the tokenizer, for instance saved
using the <a href="/docs/transformers/pr_30530/en/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.save_pretrained">save_pretrained()</a> method, e.g., <code>./my_model_directory/</code>.</li>
</ul>`,name:"tokenizer"},{anchor:"transformers.GPTQConfig.dataset",description:`<strong>dataset</strong> (<code>Union[List[str]]</code>, <em>optional</em>) &#x2014;
The dataset used for quantization. You can provide your own dataset in a list of string or just use the
original datasets used in GPTQ paper [&#x2018;wikitext2&#x2019;,&#x2018;c4&#x2019;,&#x2018;c4-new&#x2019;]`,name:"dataset"},{anchor:"transformers.GPTQConfig.group_size",description:`<strong>group_size</strong> (<code>int</code>, <em>optional</em>, defaults to 128) &#x2014;
The group size to use for quantization. Recommended value is 128 and -1 uses per-column quantization.`,name:"group_size"},{anchor:"transformers.GPTQConfig.damp_percent",description:`<strong>damp_percent</strong> (<code>float</code>, <em>optional</em>, defaults to 0.1) &#x2014;
The percent of the average Hessian diagonal to use for dampening. Recommended value is 0.1.`,name:"damp_percent"},{anchor:"transformers.GPTQConfig.desc_act",description:`<strong>desc_act</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to quantize columns in order of decreasing activation size. Setting it to False can significantly
speed up inference but the perplexity may become slightly worse. Also known as act-order.`,name:"desc_act"},{anchor:"transformers.GPTQConfig.sym",description:`<strong>sym</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to use symetric quantization.`,name:"sym"},{anchor:"transformers.GPTQConfig.true_sequential",description:`<strong>true_sequential</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to perform sequential quantization even within a single Transformer block. Instead of quantizing
the entire block at once, we perform layer-wise quantization. As a result, each layer undergoes
quantization using inputs that have passed through the previously quantized layers.`,name:"true_sequential"},{anchor:"transformers.GPTQConfig.use_cuda_fp16",description:`<strong>use_cuda_fp16</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to use optimized cuda kernel for fp16 model. Need to have model in fp16.`,name:"use_cuda_fp16"},{anchor:"transformers.GPTQConfig.model_seqlen",description:`<strong>model_seqlen</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The maximum sequence length that the model can take.`,name:"model_seqlen"},{anchor:"transformers.GPTQConfig.block_name_to_quantize",description:`<strong>block_name_to_quantize</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The transformers block name to quantize. If None, we will infer the block name using common patterns (e.g. model.layers)`,name:"block_name_to_quantize"},{anchor:"transformers.GPTQConfig.module_name_preceding_first_block",description:`<strong>module_name_preceding_first_block</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
The layers that are preceding the first Transformer block.`,name:"module_name_preceding_first_block"},{anchor:"transformers.GPTQConfig.batch_size",description:`<strong>batch_size</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The batch size used when processing the dataset`,name:"batch_size"},{anchor:"transformers.GPTQConfig.pad_token_id",description:`<strong>pad_token_id</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The pad token id. Needed to prepare the dataset when <code>batch_size</code> &gt; 1.`,name:"pad_token_id"},{anchor:"transformers.GPTQConfig.use_exllama",description:`<strong>use_exllama</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to use exllama backend. Defaults to <code>True</code> if unset. Only works with <code>bits</code> = 4.`,name:"use_exllama"},{anchor:"transformers.GPTQConfig.max_input_length",description:`<strong>max_input_length</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The maximum input length. This is needed to initialize a buffer that depends on the maximum expected input
length. It is specific to the exllama backend with act-order.`,name:"max_input_length"},{anchor:"transformers.GPTQConfig.exllama_config",description:`<strong>exllama_config</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
The exllama config. You can specify the version of the exllama kernel through the <code>version</code> key. Defaults
to <code>{&quot;version&quot;: 1}</code> if unset.`,name:"exllama_config"},{anchor:"transformers.GPTQConfig.cache_block_outputs",description:`<strong>cache_block_outputs</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to cache block outputs to reuse as inputs for the succeeding block.`,name:"cache_block_outputs"},{anchor:"transformers.GPTQConfig.modules_in_block_to_quantize",description:`<strong>modules_in_block_to_quantize</strong> (<code>List[List[str]]</code>, <em>optional</em>) &#x2014;
List of list of module names to quantize in the specified block. This argument is useful to exclude certain linear modules from being quantized.
The block to quantize can be specified by setting <code>block_name_to_quantize</code>. We will quantize each list sequentially. If not set, we will quantize all linear layers.
Example: <code>modules_in_block_to_quantize =[[&quot;self_attn.k_proj&quot;, &quot;self_attn.v_proj&quot;, &quot;self_attn.q_proj&quot;], [&quot;self_attn.o_proj&quot;]]</code>.
In this example, we will first quantize the q,k,v layers simultaneously since they are independent.
Then, we will quantize <code>self_attn.o_proj</code> layer with the q,k,v layers quantized. This way, we will get
better results since it reflects the real input <code>self_attn.o_proj</code> will get when the model is quantized.`,name:"modules_in_block_to_quantize"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L547"}}),Fe=new b({props:{name:"from_dict_optimum",anchor:"transformers.GPTQConfig.from_dict_optimum",parameters:[{name:"config_dict",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L749"}}),Ve=new b({props:{name:"post_init",anchor:"transformers.GPTQConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L661"}}),je=new b({props:{name:"to_dict_optimum",anchor:"transformers.GPTQConfig.to_dict_optimum",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L740"}}),Ge=new M({props:{title:"BitsAndBytesConfig",local:"transformers.BitsAndBytesConfig",headingTag:"h2"}}),We=new b({props:{name:"class transformers.BitsAndBytesConfig",anchor:"transformers.BitsAndBytesConfig",parameters:[{name:"load_in_8bit",val:" = False"},{name:"load_in_4bit",val:" = False"},{name:"llm_int8_threshold",val:" = 6.0"},{name:"llm_int8_skip_modules",val:" = None"},{name:"llm_int8_enable_fp32_cpu_offload",val:" = False"},{name:"llm_int8_has_fp16_weight",val:" = False"},{name:"bnb_4bit_compute_dtype",val:" = None"},{name:"bnb_4bit_quant_type",val:" = 'fp4'"},{name:"bnb_4bit_use_double_quant",val:" = False"},{name:"bnb_4bit_quant_storage",val:" = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.BitsAndBytesConfig.load_in_8bit",description:`<strong>load_in_8bit</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
This flag is used to enable 8-bit quantization with LLM.int8().`,name:"load_in_8bit"},{anchor:"transformers.BitsAndBytesConfig.load_in_4bit",description:`<strong>load_in_4bit</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
This flag is used to enable 4-bit quantization by replacing the Linear layers with FP4/NF4 layers from
<code>bitsandbytes</code>.`,name:"load_in_4bit"},{anchor:"transformers.BitsAndBytesConfig.llm_int8_threshold",description:`<strong>llm_int8_threshold</strong> (<code>float</code>, <em>optional</em>, defaults to 6.0) &#x2014;
This corresponds to the outlier threshold for outlier detection as described in <code>LLM.int8() : 8-bit Matrix Multiplication for Transformers at Scale</code> paper: <a href="https://arxiv.org/abs/2208.07339" rel="nofollow">https://arxiv.org/abs/2208.07339</a> Any hidden states value
that is above this threshold will be considered an outlier and the operation on those values will be done
in fp16. Values are usually normally distributed, that is, most values are in the range [-3.5, 3.5], but
there are some exceptional systematic outliers that are very differently distributed for large models.
These outliers are often in the interval [-60, -6] or [6, 60]. Int8 quantization works well for values of
magnitude ~5, but beyond that, there is a significant performance penalty. A good default threshold is 6,
but a lower threshold might be needed for more unstable models (small models, fine-tuning).`,name:"llm_int8_threshold"},{anchor:"transformers.BitsAndBytesConfig.llm_int8_skip_modules",description:`<strong>llm_int8_skip_modules</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
An explicit list of the modules that we do not want to convert in 8-bit. This is useful for models such as
Jukebox that has several heads in different places and not necessarily at the last position. For example
for <code>CausalLM</code> models, the last <code>lm_head</code> is kept in its original <code>dtype</code>.`,name:"llm_int8_skip_modules"},{anchor:"transformers.BitsAndBytesConfig.llm_int8_enable_fp32_cpu_offload",description:`<strong>llm_int8_enable_fp32_cpu_offload</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
This flag is used for advanced use cases and users that are aware of this feature. If you want to split
your model in different parts and run some parts in int8 on GPU and some parts in fp32 on CPU, you can use
this flag. This is useful for offloading large models such as <code>google/flan-t5-xxl</code>. Note that the int8
operations will not be run on CPU.`,name:"llm_int8_enable_fp32_cpu_offload"},{anchor:"transformers.BitsAndBytesConfig.llm_int8_has_fp16_weight",description:`<strong>llm_int8_has_fp16_weight</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
This flag runs LLM.int8() with 16-bit main weights. This is useful for fine-tuning as the weights do not
have to be converted back and forth for the backward pass.`,name:"llm_int8_has_fp16_weight"},{anchor:"transformers.BitsAndBytesConfig.bnb_4bit_compute_dtype",description:`<strong>bnb_4bit_compute_dtype</strong> (<code>torch.dtype</code> or str, <em>optional</em>, defaults to <code>torch.float32</code>) &#x2014;
This sets the computational type which might be different than the input type. For example, inputs might be
fp32, but computation can be set to bf16 for speedups.`,name:"bnb_4bit_compute_dtype"},{anchor:"transformers.BitsAndBytesConfig.bnb_4bit_quant_type",description:`<strong>bnb_4bit_quant_type</strong> (<code>str</code>,  <em>optional</em>, defaults to <code>&quot;fp4&quot;</code>) &#x2014;
This sets the quantization data type in the bnb.nn.Linear4Bit layers. Options are FP4 and NF4 data types
which are specified by <code>fp4</code> or <code>nf4</code>.`,name:"bnb_4bit_quant_type"},{anchor:"transformers.BitsAndBytesConfig.bnb_4bit_use_double_quant",description:`<strong>bnb_4bit_use_double_quant</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
This flag is used for nested quantization where the quantization constants from the first quantization are
quantized again.`,name:"bnb_4bit_use_double_quant"},{anchor:"transformers.BitsAndBytesConfig.bnb_4bit_quant_storage",description:`<strong>bnb_4bit_quant_storage</strong> (<code>torch.dtype</code> or str, <em>optional</em>, defaults to <code>torch.uint8</code>) &#x2014;
This sets the storage type to pack the quanitzed 4-bit prarams.`,name:"bnb_4bit_quant_storage"},{anchor:"transformers.BitsAndBytesConfig.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
Additional parameters from which to initialize the configuration object.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L311"}}),Oe=new b({props:{name:"is_quantizable",anchor:"transformers.BitsAndBytesConfig.is_quantizable",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L482"}}),Se=new b({props:{name:"post_init",anchor:"transformers.BitsAndBytesConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L445"}}),Ue=new b({props:{name:"quantization_method",anchor:"transformers.BitsAndBytesConfig.quantization_method",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L488"}}),Re=new b({props:{name:"to_diff_dict",anchor:"transformers.BitsAndBytesConfig.to_diff_dict",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L519",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Dictionary of all the attributes that make up this configuration instance,</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Dict[str, Any]</code></p>
`}}),Ye=new M({props:{title:"HfQuantizer",local:"transformers.quantizers.HfQuantizer",headingTag:"h2"}}),Ze=new b({props:{name:"class transformers.quantizers.HfQuantizer",anchor:"transformers.quantizers.HfQuantizer",parameters:[{name:"quantization_config",val:": QuantizationConfigMixin"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L28"}}),Xe=new b({props:{name:"adjust_max_memory",anchor:"transformers.quantizers.HfQuantizer.adjust_max_memory",parameters:[{name:"max_memory",val:": typing.Dict[str, typing.Union[int, str]]"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L143"}}),Je=new b({props:{name:"adjust_target_dtype",anchor:"transformers.quantizers.HfQuantizer.adjust_target_dtype",parameters:[{name:"torch_dtype",val:": torch.dtype"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.adjust_target_dtype.torch_dtype",description:`<strong>torch_dtype</strong> (<code>torch.dtype</code>, <em>optional</em>) &#x2014;
The torch_dtype that is used to compute the device_map.`,name:"torch_dtype"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L90"}}),Ke=new b({props:{name:"check_quantized_param",anchor:"transformers.quantizers.HfQuantizer.check_quantized_param",parameters:[{name:"model",val:": PreTrainedModel"},{name:"param_value",val:": torch.Tensor"},{name:"param_name",val:": str"},{name:"state_dict",val:": typing.Dict[str, typing.Any]"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L147"}}),et=new b({props:{name:"create_quantized_param",anchor:"transformers.quantizers.HfQuantizer.create_quantized_param",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L162"}}),tt=new b({props:{name:"dequantize",anchor:"transformers.quantizers.HfQuantizer.dequantize",parameters:[{name:"model",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L209"}}),nt=new b({props:{name:"get_special_dtypes_update",anchor:"transformers.quantizers.HfQuantizer.get_special_dtypes_update",parameters:[{name:"model",val:""},{name:"torch_dtype",val:": torch.dtype"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.get_special_dtypes_update.model",description:`<strong>model</strong> (<code>~transformers.PreTrainedModel</code>) &#x2014;
The model to quantize`,name:"model"},{anchor:"transformers.quantizers.HfQuantizer.get_special_dtypes_update.torch_dtype",description:`<strong>torch_dtype</strong> (<code>torch.dtype</code>) &#x2014;
The dtype passed in <code>from_pretrained</code> method.`,name:"torch_dtype"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L124"}}),ot=new b({props:{name:"postprocess_model",anchor:"transformers.quantizers.HfQuantizer.postprocess_model",parameters:[{name:"model",val:": PreTrainedModel"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.postprocess_model.model",description:`<strong>model</strong> (<code>~transformers.PreTrainedModel</code>) &#x2014;
The model to quantize`,name:"model"},{anchor:"transformers.quantizers.HfQuantizer.postprocess_model.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
The keyword arguments that are passed along <code>_process_model_after_weight_loading</code>.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L196"}}),rt=new b({props:{name:"preprocess_model",anchor:"transformers.quantizers.HfQuantizer.preprocess_model",parameters:[{name:"model",val:": PreTrainedModel"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.preprocess_model.model",description:`<strong>model</strong> (<code>~transformers.PreTrainedModel</code>) &#x2014;
The model to quantize`,name:"model"},{anchor:"transformers.quantizers.HfQuantizer.preprocess_model.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
The keyword arguments that are passed along <code>_process_model_before_weight_loading</code>.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L180"}}),at=new b({props:{name:"update_device_map",anchor:"transformers.quantizers.HfQuantizer.update_device_map",parameters:[{name:"device_map",val:": typing.Optional[typing.Dict[str, typing.Any]]"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.update_device_map.device_map",description:`<strong>device_map</strong> (<code>Union[dict, str]</code>, <em>optional</em>) &#x2014;
The device_map that is passed through the <code>from_pretrained</code> method.`,name:"device_map"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L78"}}),st=new b({props:{name:"update_expected_keys",anchor:"transformers.quantizers.HfQuantizer.update_expected_keys",parameters:[{name:"model",val:""},{name:"expected_keys",val:": typing.List[str]"},{name:"loaded_keys",val:": typing.List[str]"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.update_expected_keys.expected_keys",description:`<strong>expected_keys</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
The list of the expected keys in the initialized model.`,name:"expected_keys"},{anchor:"transformers.quantizers.HfQuantizer.update_expected_keys.loaded_keys",description:`<strong>loaded_keys</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
The list of the loaded keys in the checkpoint.`,name:"loaded_keys"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L112"}}),it=new b({props:{name:"update_missing_keys",anchor:"transformers.quantizers.HfQuantizer.update_missing_keys",parameters:[{name:"model",val:""},{name:"missing_keys",val:": typing.List[str]"},{name:"prefix",val:": str"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.update_missing_keys.missing_keys",description:`<strong>missing_keys</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
The list of missing keys in the checkpoint compared to the state dict of the model`,name:"missing_keys"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L102"}}),dt=new b({props:{name:"update_torch_dtype",anchor:"transformers.quantizers.HfQuantizer.update_torch_dtype",parameters:[{name:"torch_dtype",val:": torch.dtype"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.update_torch_dtype.torch_dtype",description:`<strong>torch_dtype</strong> (<code>torch.dtype</code>) &#x2014;
The input dtype that is passed in <code>from_pretrained</code>`,name:"torch_dtype"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L66"}}),lt=new b({props:{name:"validate_environment",anchor:"transformers.quantizers.HfQuantizer.validate_environment",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/quantizers/base.py#L172"}}),mt=new M({props:{title:"HqqConfig",local:"transformers.HqqConfig",headingTag:"h2"}}),ct=new b({props:{name:"class transformers.HqqConfig",anchor:"transformers.HqqConfig",parameters:[{name:"nbits",val:": int = 4"},{name:"group_size",val:": int = 64"},{name:"view_as_float",val:": bool = False"},{name:"axis",val:": typing.Optional[int] = None"},{name:"dynamic_config",val:": typing.Optional[dict] = None"},{name:"skip_modules",val:": typing.List[str] = ['lm_head']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.HqqConfig.nbits",description:`<strong>nbits</strong> (<code>int</code>, <em>optional</em>, defaults to 4) &#x2014;
Number of bits. Supported values are (8, 4, 3, 2, 1).`,name:"nbits"},{anchor:"transformers.HqqConfig.group_size",description:`<strong>group_size</strong> (<code>int</code>, <em>optional</em>, defaults to 64) &#x2014;
Group-size value. Supported values are any value that is divisble by weight.shape[axis]).`,name:"group_size"},{anchor:"transformers.HqqConfig.view_as_float",description:`<strong>view_as_float</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
View the quantized weight as float (used in distributed training) if set to <code>True</code>.`,name:"view_as_float"},{anchor:"transformers.HqqConfig.axis",description:`<strong>axis</strong> (<code>Optional[int]</code>, <em>optional</em>) &#x2014;
Axis along which grouping is performed. Supported values are 0 or 1.`,name:"axis"},{anchor:"transformers.HqqConfig.dynamic_config",description:`<strong>dynamic_config</strong> (dict, <em>optional</em>) &#x2014;
Parameters for dynamic configuration. The key is the name tag of the layer and the value is a quantization config.
If set, each layer specified by its id will use its dedicated quantization configuration.`,name:"dynamic_config"},{anchor:"transformers.HqqConfig.skip_modules",description:`<strong>skip_modules</strong> (<code>List[str]</code>, <em>optional</em>, defaults to <code>[&apos;lm_head&apos;]</code>) &#x2014;
List of <code>nn.Linear</code> layers to skip.`,name:"skip_modules"},{anchor:"transformers.HqqConfig.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
Additional parameters from which to initialize the configuration object.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L190"}}),pt=new b({props:{name:"from_dict",anchor:"transformers.HqqConfig.from_dict",parameters:[{name:"config",val:": typing.Dict[str, typing.Any]"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L264"}}),ut=new b({props:{name:"post_init",anchor:"transformers.HqqConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L258"}}),ft=new b({props:{name:"to_diff_dict",anchor:"transformers.HqqConfig.to_diff_dict",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L289",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Dictionary of all the attributes that make up this configuration instance,</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Dict[str, Any]</code></p>
`}}),gt=new M({props:{title:"FbgemmFp8Config",local:"transformers.FbgemmFp8Config",headingTag:"h2"}}),ht=new b({props:{name:"class transformers.FbgemmFp8Config",anchor:"transformers.FbgemmFp8Config",parameters:[{name:"activation_scale_ub",val:": float = 1200.0"},{name:"modules_to_not_convert",val:": typing.Optional[typing.List] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.FbgemmFp8Config.activation_scale_ub",description:`<strong>activation_scale_ub</strong> (<code>float</code>, <em>optional</em>, defaults to 1200.0) &#x2014;
The activation scale upper bound. This is used when quantizing the input activation.`,name:"activation_scale_ub"},{anchor:"transformers.FbgemmFp8Config.modules_to_not_convert",description:`<strong>modules_to_not_convert</strong> (<code>list</code>, <em>optional</em>, default to <code>None</code>) &#x2014;
The list of modules to not quantize, useful for quantizing models that explicitly require to have
some modules left in their original precision.`,name:"modules_to_not_convert"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L1196"}}),_t=new M({props:{title:"CompressedTensorsConfig",local:"transformers.CompressedTensorsConfig",headingTag:"h2"}}),bt=new b({props:{name:"class transformers.CompressedTensorsConfig",anchor:"transformers.CompressedTensorsConfig",parameters:[{name:"config_groups",val:": typing.Dict[str, typing.Union[ForwardRef('QuantizationScheme'), typing.List[str]]] = None"},{name:"format",val:": str = 'dense'"},{name:"quantization_status",val:": QuantizationStatus = 'initialized'"},{name:"kv_cache_scheme",val:": typing.Optional[ForwardRef('QuantizationArgs')] = None"},{name:"global_compression_ratio",val:": typing.Optional[float] = None"},{name:"ignore",val:": typing.Optional[typing.List[str]] = None"},{name:"sparsity_config",val:": typing.Dict[str, typing.Any] = None"},{name:"quant_method",val:": str = 'compressed-tensors'"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.CompressedTensorsConfig.config_groups",description:`<strong>config_groups</strong> (<code>typing.Dict[str, typing.Union[ForwardRef(&apos;QuantizationScheme&apos;), typing.List[str]]]</code>, <em>optional</em>) &#x2014;
dictionary mapping group name to a quantization scheme definition`,name:"config_groups"},{anchor:"transformers.CompressedTensorsConfig.format",description:`<strong>format</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;dense&quot;</code>) &#x2014;
format the model is represented as`,name:"format"},{anchor:"transformers.CompressedTensorsConfig.quantization_status",description:`<strong>quantization_status</strong> (<code>QuantizationStatus</code>, <em>optional</em>, defaults to <code>&quot;initialized&quot;</code>) &#x2014;
status of model in the quantization lifecycle, ie &#x2018;initialized&#x2019;, &#x2018;calibration&#x2019;, &#x2018;frozen&#x2019;`,name:"quantization_status"},{anchor:"transformers.CompressedTensorsConfig.kv_cache_scheme",description:`<strong>kv_cache_scheme</strong> (<code>typing.Union[QuantizationArgs, NoneType]</code>, <em>optional</em>) &#x2014;
specifies quantization of the kv cache. If None, kv cache is not quantized.`,name:"kv_cache_scheme"},{anchor:"transformers.CompressedTensorsConfig.global_compression_ratio",description:`<strong>global_compression_ratio</strong> (<code>typing.Union[float, NoneType]</code>, <em>optional</em>) &#x2014;
0-1 float percentage of model compression`,name:"global_compression_ratio"},{anchor:"transformers.CompressedTensorsConfig.ignore",description:`<strong>ignore</strong> (<code>typing.Union[typing.List[str], NoneType]</code>, <em>optional</em>) &#x2014;
layer names or types to not quantize, supports regex prefixed by &#x2018;re:&#x2019;`,name:"ignore"},{anchor:"transformers.CompressedTensorsConfig.sparsity_config",description:`<strong>sparsity_config</strong> (<code>typing.Dict[str, typing.Any]</code>, <em>optional</em>) &#x2014;
configuration for sparsity compression`,name:"sparsity_config"},{anchor:"transformers.CompressedTensorsConfig.quant_method",description:`<strong>quant_method</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;compressed-tensors&quot;</code>) &#x2014;
do not override, should be compressed-tensors`,name:"quant_method"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L1072"}}),vt=new b({props:{name:"from_dict",anchor:"transformers.CompressedTensorsConfig.from_dict",parameters:[{name:"config_dict",val:""},{name:"return_unused_kwargs",val:" = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.CompressedTensorsConfig.from_dict.config_dict",description:`<strong>config_dict</strong> (<code>Dict[str, Any]</code>) &#x2014;
Dictionary that will be used to instantiate the configuration object.`,name:"config_dict"},{anchor:"transformers.CompressedTensorsConfig.from_dict.return_unused_kwargs",description:`<strong>return_unused_kwargs</strong> (<code>bool</code>,<em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to return a list of unused keyword arguments. Used for <code>from_pretrained</code> method in
<code>PreTrainedModel</code>.`,name:"return_unused_kwargs"},{anchor:"transformers.CompressedTensorsConfig.from_dict.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>) &#x2014;
Additional parameters from which to initialize the configuration object.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L1135",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The configuration object instantiated from those parameters.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>QuantizationConfigMixin</code></p>
`}}),yt=new b({props:{name:"to_diff_dict",anchor:"transformers.CompressedTensorsConfig.to_diff_dict",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L1174",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Dictionary of all the attributes that make up this configuration instance,</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>Dict[str, Any]</code></p>
`}}),$t=new M({props:{title:"TorchAoConfig",local:"transformers.TorchAoConfig",headingTag:"h2"}}),qt=new b({props:{name:"class transformers.TorchAoConfig",anchor:"transformers.TorchAoConfig",parameters:[{name:"quant_type",val:": str"},{name:"modules_to_not_convert",val:": typing.Optional[typing.List] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.TorchAoConfig.quant_type",description:`<strong>quant_type</strong> (<code>str</code>) &#x2014;
The type of quantization we want to use, currently supporting: <code>int4_weight_only</code>, <code>int8_weight_only</code> and <code>int8_dynamic_activation_int8_weight</code>.`,name:"quant_type"},{anchor:"transformers.TorchAoConfig.modules_to_not_convert",description:`<strong>modules_to_not_convert</strong> (<code>list</code>, <em>optional</em>, default to <code>None</code>) &#x2014;
The list of modules to not quantize, useful for quantizing models that explicitly require to have
some modules left in their original precision.`,name:"modules_to_not_convert"},{anchor:"transformers.TorchAoConfig.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
The keyword arguments for the chosen type of quantization, for example, int4_weight_only quantization supports two keyword arguments
<code>group_size</code> and <code>inner_k_tiles</code> currently. More API examples and documentation of arguments can be found in
<a href="https://github.com/pytorch/ao/tree/main/torchao/quantization#other-available-quantization-techniques" rel="nofollow">https://github.com/pytorch/ao/tree/main/torchao/quantization#other-available-quantization-techniques</a>`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L1227"}}),ye=new rs({props:{anchor:"transformers.TorchAoConfig.example",$$slots:{default:[is]},$$scope:{ctx:Lt}}}),xt=new b({props:{name:"post_init",anchor:"transformers.TorchAoConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L1263"}}),zt=new M({props:{title:"BitNetConfig",local:"transformers.BitNetConfig",headingTag:"h2"}}),wt=new b({props:{name:"class transformers.BitNetConfig",anchor:"transformers.BitNetConfig",parameters:[{name:"modules_to_not_convert",val:": typing.Optional[typing.List] = None"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L1321"}}),Ct=new b({props:{name:"post_init",anchor:"transformers.BitNetConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/vr_30530/src/transformers/utils/quantization_config.py#L1332"}}),Tt=new as({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/en/main_classes/quantization.md"}}),{c(){$=a("meta"),B=n(),z=a("p"),k=n(),d(P.$$.fragment),x=n(),Q=a("p"),Q.textContent=oa,Cn=n(),we=a("p"),we.innerHTML=ra,Tn=n(),d(W.$$.fragment),kn=n(),d(Ce.$$.fragment),Ln=n(),D=a("div"),d(Te.$$.fragment),Do=n(),At=a("p"),At.innerHTML=aa,Ho=n(),O=a("div"),d(ke.$$.fragment),No=n(),Mt=a("p"),Mt.textContent=sa,An=n(),d(Le.$$.fragment),Mn=n(),H=a("div"),d(Ae.$$.fragment),Eo=n(),Pt=a("p"),Pt.innerHTML=ia,Bo=n(),S=a("div"),d(Me.$$.fragment),Io=n(),Qt=a("p"),Qt.textContent=da,Pn=n(),d(Pe.$$.fragment),Qn=n(),N=a("div"),d(Qe.$$.fragment),Fo=n(),Dt=a("p"),Dt.innerHTML=la,Vo=n(),U=a("div"),d(De.$$.fragment),jo=n(),Ht=a("p"),Ht.textContent=ma,Dn=n(),d(He.$$.fragment),Hn=n(),E=a("div"),d(Ne.$$.fragment),Go=n(),Nt=a("p"),Nt.innerHTML=ca,Wo=n(),R=a("div"),d(Ee.$$.fragment),Oo=n(),Et=a("p"),Et.textContent=pa,Nn=n(),d(Be.$$.fragment),En=n(),C=a("div"),d(Ie.$$.fragment),So=n(),Bt=a("p"),Bt.innerHTML=ua,Uo=n(),Y=a("div"),d(Fe.$$.fragment),Ro=n(),It=a("p"),It.textContent=fa,Yo=n(),Z=a("div"),d(Ve.$$.fragment),Zo=n(),Ft=a("p"),Ft.textContent=ga,Xo=n(),X=a("div"),d(je.$$.fragment),Jo=n(),Vt=a("p"),Vt.textContent=ha,Bn=n(),d(Ge.$$.fragment),In=n(),q=a("div"),d(We.$$.fragment),Ko=n(),jt=a("p"),jt.innerHTML=_a,er=n(),Gt=a("p"),Gt.innerHTML=ba,tr=n(),Wt=a("p"),Wt.innerHTML=va,nr=n(),J=a("div"),d(Oe.$$.fragment),or=n(),Ot=a("p"),Ot.innerHTML=ya,rr=n(),K=a("div"),d(Se.$$.fragment),ar=n(),St=a("p"),St.textContent=$a,sr=n(),ee=a("div"),d(Ue.$$.fragment),ir=n(),Ut=a("p"),Ut.innerHTML=qa,dr=n(),te=a("div"),d(Re.$$.fragment),lr=n(),Rt=a("p"),Rt.textContent=xa,Fn=n(),d(Ye.$$.fragment),Vn=n(),v=a("div"),d(Ze.$$.fragment),mr=n(),Yt=a("p"),Yt.textContent=za,cr=n(),Zt=a("p"),Zt.innerHTML=wa,pr=n(),ne=a("div"),d(Xe.$$.fragment),ur=n(),Xt=a("p"),Xt.textContent=Ca,fr=n(),oe=a("div"),d(Je.$$.fragment),gr=n(),Jt=a("p"),Jt.innerHTML=Ta,hr=n(),re=a("div"),d(Ke.$$.fragment),_r=n(),Kt=a("p"),Kt.textContent=ka,br=n(),ae=a("div"),d(et.$$.fragment),vr=n(),en=a("p"),en.textContent=La,yr=n(),se=a("div"),d(tt.$$.fragment),$r=n(),tn=a("p"),tn.textContent=Aa,qr=n(),ie=a("div"),d(nt.$$.fragment),xr=n(),nn=a("p"),nn.innerHTML=Ma,zr=n(),de=a("div"),d(ot.$$.fragment),wr=n(),on=a("p"),on.innerHTML=Pa,Cr=n(),le=a("div"),d(rt.$$.fragment),Tr=n(),rn=a("p"),rn.innerHTML=Qa,kr=n(),me=a("div"),d(at.$$.fragment),Lr=n(),an=a("p"),an.innerHTML=Da,Ar=n(),ce=a("div"),d(st.$$.fragment),Mr=n(),sn=a("p"),sn.innerHTML=Ha,Pr=n(),pe=a("div"),d(it.$$.fragment),Qr=n(),dn=a("p"),dn.innerHTML=Na,Dr=n(),ue=a("div"),d(dt.$$.fragment),Hr=n(),ln=a("p"),ln.textContent=Ea,Nr=n(),fe=a("div"),d(lt.$$.fragment),Er=n(),mn=a("p"),mn.innerHTML=Ba,jn=n(),d(mt.$$.fragment),Gn=n(),T=a("div"),d(ct.$$.fragment),Br=n(),cn=a("p"),cn.textContent=Ia,Ir=n(),ge=a("div"),d(pt.$$.fragment),Fr=n(),pn=a("p"),pn.textContent=Fa,Vr=n(),he=a("div"),d(ut.$$.fragment),jr=n(),un=a("p"),un.textContent=Va,Gr=n(),_e=a("div"),d(ft.$$.fragment),Wr=n(),fn=a("p"),fn.textContent=ja,Wn=n(),d(gt.$$.fragment),On=n(),V=a("div"),d(ht.$$.fragment),Or=n(),gn=a("p"),gn.textContent=Ga,Sn=n(),d(_t.$$.fragment),Un=n(),L=a("div"),d(bt.$$.fragment),Sr=n(),hn=a("p"),hn.innerHTML=Wa,Ur=n(),be=a("div"),d(vt.$$.fragment),Rr=n(),_n=a("p"),_n.innerHTML=Oa,Yr=n(),ve=a("div"),d(yt.$$.fragment),Zr=n(),bn=a("p"),bn.textContent=Sa,Rn=n(),d($t.$$.fragment),Yn=n(),A=a("div"),d(qt.$$.fragment),Xr=n(),vn=a("p"),vn.textContent=Ua,Jr=n(),d(ye.$$.fragment),Kr=n(),$e=a("div"),d(xt.$$.fragment),ea=n(),yn=a("p"),yn.textContent=Ra,Zn=n(),d(zt.$$.fragment),Xn=n(),j=a("div"),d(wt.$$.fragment),ta=n(),qe=a("div"),d(Ct.$$.fragment),na=n(),$n=a("p"),$n.textContent=Ya,Jn=n(),d(Tt.$$.fragment),Kn=n(),wn=a("p"),this.h()},l(e){const i=ts("svelte-u9bgzb",document.head);$=s(i,"META",{name:!0,content:!0}),i.forEach(r),B=o(e),z=s(e,"P",{}),h(z).forEach(r),k=o(e),l(P.$$.fragment,e),x=o(e),Q=s(e,"P",{"data-svelte-h":!0}),g(Q)!=="svelte-1hsjm7z"&&(Q.textContent=oa),Cn=o(e),we=s(e,"P",{"data-svelte-h":!0}),g(we)!=="svelte-bnel0f"&&(we.innerHTML=ra),Tn=o(e),l(W.$$.fragment,e),kn=o(e),l(Ce.$$.fragment,e),Ln=o(e),D=s(e,"DIV",{class:!0});var G=h(D);l(Te.$$.fragment,G),Do=o(G),At=s(G,"P",{"data-svelte-h":!0}),g(At)!=="svelte-b8v0f"&&(At.innerHTML=aa),Ho=o(G),O=s(G,"DIV",{class:!0});var kt=h(O);l(ke.$$.fragment,kt),No=o(kt),Mt=s(kt,"P",{"data-svelte-h":!0}),g(Mt)!=="svelte-1ozftb6"&&(Mt.textContent=sa),kt.forEach(r),G.forEach(r),An=o(e),l(Le.$$.fragment,e),Mn=o(e),H=s(e,"DIV",{class:!0});var qn=h(H);l(Ae.$$.fragment,qn),Eo=o(qn),Pt=s(qn,"P",{"data-svelte-h":!0}),g(Pt)!=="svelte-1s7ccdx"&&(Pt.innerHTML=ia),Bo=o(qn),S=s(qn,"DIV",{class:!0});var to=h(S);l(Me.$$.fragment,to),Io=o(to),Qt=s(to,"P",{"data-svelte-h":!0}),g(Qt)!=="svelte-gy26u4"&&(Qt.textContent=da),to.forEach(r),qn.forEach(r),Pn=o(e),l(Pe.$$.fragment,e),Qn=o(e),N=s(e,"DIV",{class:!0});var xn=h(N);l(Qe.$$.fragment,xn),Fo=o(xn),Dt=s(xn,"P",{"data-svelte-h":!0}),g(Dt)!=="svelte-1i667it"&&(Dt.innerHTML=la),Vo=o(xn),U=s(xn,"DIV",{class:!0});var no=h(U);l(De.$$.fragment,no),jo=o(no),Ht=s(no,"P",{"data-svelte-h":!0}),g(Ht)!=="svelte-1ozftb6"&&(Ht.textContent=ma),no.forEach(r),xn.forEach(r),Dn=o(e),l(He.$$.fragment,e),Hn=o(e),E=s(e,"DIV",{class:!0});var zn=h(E);l(Ne.$$.fragment,zn),Go=o(zn),Nt=s(zn,"P",{"data-svelte-h":!0}),g(Nt)!=="svelte-438k9a"&&(Nt.innerHTML=ca),Wo=o(zn),R=s(zn,"DIV",{class:!0});var oo=h(R);l(Ee.$$.fragment,oo),Oo=o(oo),Et=s(oo,"P",{"data-svelte-h":!0}),g(Et)!=="svelte-1ozftb6"&&(Et.textContent=pa),oo.forEach(r),zn.forEach(r),Nn=o(e),l(Be.$$.fragment,e),En=o(e),C=s(e,"DIV",{class:!0});var I=h(C);l(Ie.$$.fragment,I),So=o(I),Bt=s(I,"P",{"data-svelte-h":!0}),g(Bt)!=="svelte-i3efvr"&&(Bt.innerHTML=ua),Uo=o(I),Y=s(I,"DIV",{class:!0});var ro=h(Y);l(Fe.$$.fragment,ro),Ro=o(ro),It=s(ro,"P",{"data-svelte-h":!0}),g(It)!=="svelte-4jdj2l"&&(It.textContent=fa),ro.forEach(r),Yo=o(I),Z=s(I,"DIV",{class:!0});var ao=h(Z);l(Ve.$$.fragment,ao),Zo=o(ao),Ft=s(ao,"P",{"data-svelte-h":!0}),g(Ft)!=="svelte-1ozftb6"&&(Ft.textContent=ga),ao.forEach(r),Xo=o(I),X=s(I,"DIV",{class:!0});var so=h(X);l(je.$$.fragment,so),Jo=o(so),Vt=s(so,"P",{"data-svelte-h":!0}),g(Vt)!=="svelte-pjgtd6"&&(Vt.textContent=ha),so.forEach(r),I.forEach(r),Bn=o(e),l(Ge.$$.fragment,e),In=o(e),q=s(e,"DIV",{class:!0});var w=h(q);l(We.$$.fragment,w),Ko=o(w),jt=s(w,"P",{"data-svelte-h":!0}),g(jt)!=="svelte-woamwr"&&(jt.innerHTML=_a),er=o(w),Gt=s(w,"P",{"data-svelte-h":!0}),g(Gt)!=="svelte-ki5gis"&&(Gt.innerHTML=ba),tr=o(w),Wt=s(w,"P",{"data-svelte-h":!0}),g(Wt)!=="svelte-8qsk2q"&&(Wt.innerHTML=va),nr=o(w),J=s(w,"DIV",{class:!0});var io=h(J);l(Oe.$$.fragment,io),or=o(io),Ot=s(io,"P",{"data-svelte-h":!0}),g(Ot)!=="svelte-10tvzyv"&&(Ot.innerHTML=ya),io.forEach(r),rr=o(w),K=s(w,"DIV",{class:!0});var lo=h(K);l(Se.$$.fragment,lo),ar=o(lo),St=s(lo,"P",{"data-svelte-h":!0}),g(St)!=="svelte-gy26u4"&&(St.textContent=$a),lo.forEach(r),sr=o(w),ee=s(w,"DIV",{class:!0});var mo=h(ee);l(Ue.$$.fragment,mo),ir=o(mo),Ut=s(mo,"P",{"data-svelte-h":!0}),g(Ut)!=="svelte-19bn0da"&&(Ut.innerHTML=qa),mo.forEach(r),dr=o(w),te=s(w,"DIV",{class:!0});var co=h(te);l(Re.$$.fragment,co),lr=o(co),Rt=s(co,"P",{"data-svelte-h":!0}),g(Rt)!=="svelte-1p6bdas"&&(Rt.textContent=xa),co.forEach(r),w.forEach(r),Fn=o(e),l(Ye.$$.fragment,e),Vn=o(e),v=s(e,"DIV",{class:!0});var y=h(v);l(Ze.$$.fragment,y),mr=o(y),Yt=s(y,"P",{"data-svelte-h":!0}),g(Yt)!=="svelte-1xvcahi"&&(Yt.textContent=za),cr=o(y),Zt=s(y,"P",{"data-svelte-h":!0}),g(Zt)!=="svelte-twdedh"&&(Zt.innerHTML=wa),pr=o(y),ne=s(y,"DIV",{class:!0});var po=h(ne);l(Xe.$$.fragment,po),ur=o(po),Xt=s(po,"P",{"data-svelte-h":!0}),g(Xt)!=="svelte-1d4i4z7"&&(Xt.textContent=Ca),po.forEach(r),fr=o(y),oe=s(y,"DIV",{class:!0});var uo=h(oe);l(Je.$$.fragment,uo),gr=o(uo),Jt=s(uo,"P",{"data-svelte-h":!0}),g(Jt)!=="svelte-4t526i"&&(Jt.innerHTML=Ta),uo.forEach(r),hr=o(y),re=s(y,"DIV",{class:!0});var fo=h(re);l(Ke.$$.fragment,fo),_r=o(fo),Kt=s(fo,"P",{"data-svelte-h":!0}),g(Kt)!=="svelte-1meey31"&&(Kt.textContent=ka),fo.forEach(r),br=o(y),ae=s(y,"DIV",{class:!0});var go=h(ae);l(et.$$.fragment,go),vr=o(go),en=s(go,"P",{"data-svelte-h":!0}),g(en)!=="svelte-1j1vsi1"&&(en.textContent=La),go.forEach(r),yr=o(y),se=s(y,"DIV",{class:!0});var ho=h(se);l(tt.$$.fragment,ho),$r=o(ho),tn=s(ho,"P",{"data-svelte-h":!0}),g(tn)!=="svelte-1qo65te"&&(tn.textContent=Aa),ho.forEach(r),qr=o(y),ie=s(y,"DIV",{class:!0});var _o=h(ie);l(nt.$$.fragment,_o),xr=o(_o),nn=s(_o,"P",{"data-svelte-h":!0}),g(nn)!=="svelte-i8h8td"&&(nn.innerHTML=Ma),_o.forEach(r),zr=o(y),de=s(y,"DIV",{class:!0});var bo=h(de);l(ot.$$.fragment,bo),wr=o(bo),on=s(bo,"P",{"data-svelte-h":!0}),g(on)!=="svelte-1uznum5"&&(on.innerHTML=Pa),bo.forEach(r),Cr=o(y),le=s(y,"DIV",{class:!0});var vo=h(le);l(rt.$$.fragment,vo),Tr=o(vo),rn=s(vo,"P",{"data-svelte-h":!0}),g(rn)!=="svelte-mjhdcv"&&(rn.innerHTML=Qa),vo.forEach(r),kr=o(y),me=s(y,"DIV",{class:!0});var yo=h(me);l(at.$$.fragment,yo),Lr=o(yo),an=s(yo,"P",{"data-svelte-h":!0}),g(an)!=="svelte-1e5epn5"&&(an.innerHTML=Da),yo.forEach(r),Ar=o(y),ce=s(y,"DIV",{class:!0});var $o=h(ce);l(st.$$.fragment,$o),Mr=o($o),sn=s($o,"P",{"data-svelte-h":!0}),g(sn)!=="svelte-1idnt2e"&&(sn.innerHTML=Ha),$o.forEach(r),Pr=o(y),pe=s(y,"DIV",{class:!0});var qo=h(pe);l(it.$$.fragment,qo),Qr=o(qo),dn=s(qo,"P",{"data-svelte-h":!0}),g(dn)!=="svelte-13hqoy0"&&(dn.innerHTML=Na),qo.forEach(r),Dr=o(y),ue=s(y,"DIV",{class:!0});var xo=h(ue);l(dt.$$.fragment,xo),Hr=o(xo),ln=s(xo,"P",{"data-svelte-h":!0}),g(ln)!=="svelte-1kpdm09"&&(ln.textContent=Ea),xo.forEach(r),Nr=o(y),fe=s(y,"DIV",{class:!0});var zo=h(fe);l(lt.$$.fragment,zo),Er=o(zo),mn=s(zo,"P",{"data-svelte-h":!0}),g(mn)!=="svelte-1lxocan"&&(mn.innerHTML=Ba),zo.forEach(r),y.forEach(r),jn=o(e),l(mt.$$.fragment,e),Gn=o(e),T=s(e,"DIV",{class:!0});var F=h(T);l(ct.$$.fragment,F),Br=o(F),cn=s(F,"P",{"data-svelte-h":!0}),g(cn)!=="svelte-h0fjpw"&&(cn.textContent=Ia),Ir=o(F),ge=s(F,"DIV",{class:!0});var wo=h(ge);l(pt.$$.fragment,wo),Fr=o(wo),pn=s(wo,"P",{"data-svelte-h":!0}),g(pn)!=="svelte-6lcv9o"&&(pn.textContent=Fa),wo.forEach(r),Vr=o(F),he=s(F,"DIV",{class:!0});var Co=h(he);l(ut.$$.fragment,Co),jr=o(Co),un=s(Co,"P",{"data-svelte-h":!0}),g(un)!=="svelte-gy26u4"&&(un.textContent=Va),Co.forEach(r),Gr=o(F),_e=s(F,"DIV",{class:!0});var To=h(_e);l(ft.$$.fragment,To),Wr=o(To),fn=s(To,"P",{"data-svelte-h":!0}),g(fn)!=="svelte-1p6bdas"&&(fn.textContent=ja),To.forEach(r),F.forEach(r),Wn=o(e),l(gt.$$.fragment,e),On=o(e),V=s(e,"DIV",{class:!0});var ko=h(V);l(ht.$$.fragment,ko),Or=o(ko),gn=s(ko,"P",{"data-svelte-h":!0}),g(gn)!=="svelte-1a51md3"&&(gn.textContent=Ga),ko.forEach(r),Sn=o(e),l(_t.$$.fragment,e),Un=o(e),L=s(e,"DIV",{class:!0});var xe=h(L);l(bt.$$.fragment,xe),Sr=o(xe),hn=s(xe,"P",{"data-svelte-h":!0}),g(hn)!=="svelte-3h2fkj"&&(hn.innerHTML=Wa),Ur=o(xe),be=s(xe,"DIV",{class:!0});var Lo=h(be);l(vt.$$.fragment,Lo),Rr=o(Lo),_n=s(Lo,"P",{"data-svelte-h":!0}),g(_n)!=="svelte-1ch4lpx"&&(_n.innerHTML=Oa),Lo.forEach(r),Yr=o(xe),ve=s(xe,"DIV",{class:!0});var Ao=h(ve);l(yt.$$.fragment,Ao),Zr=o(Ao),bn=s(Ao,"P",{"data-svelte-h":!0}),g(bn)!=="svelte-1p6bdas"&&(bn.textContent=Sa),Ao.forEach(r),xe.forEach(r),Rn=o(e),l($t.$$.fragment,e),Yn=o(e),A=s(e,"DIV",{class:!0});var ze=h(A);l(qt.$$.fragment,ze),Xr=o(ze),vn=s(ze,"P",{"data-svelte-h":!0}),g(vn)!=="svelte-1pwo8e0"&&(vn.textContent=Ua),Jr=o(ze),l(ye.$$.fragment,ze),Kr=o(ze),$e=s(ze,"DIV",{class:!0});var Mo=h($e);l(xt.$$.fragment,Mo),ea=o(Mo),yn=s(Mo,"P",{"data-svelte-h":!0}),g(yn)!=="svelte-gy26u4"&&(yn.textContent=Ra),Mo.forEach(r),ze.forEach(r),Zn=o(e),l(zt.$$.fragment,e),Xn=o(e),j=s(e,"DIV",{class:!0});var Po=h(j);l(wt.$$.fragment,Po),ta=o(Po),qe=s(Po,"DIV",{class:!0});var Qo=h(qe);l(Ct.$$.fragment,Qo),na=o(Qo),$n=s(Qo,"P",{"data-svelte-h":!0}),g($n)!=="svelte-1ozftb6"&&($n.textContent=Ya),Qo.forEach(r),Po.forEach(r),Jn=o(e),l(Tt.$$.fragment,e),Kn=o(e),wn=s(e,"P",{}),h(wn).forEach(r),this.h()},h(){_($,"name","hf:doc:metadata"),_($,"content",ls),_(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(R,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(X,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(K,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(te,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(oe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(re,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ae,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(se,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(de,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ue,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(fe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(v,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(he,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(_e,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(be,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ve,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_($e,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(qe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,i){t(document.head,$),f(e,B,i),f(e,z,i),f(e,k,i),m(P,e,i),f(e,x,i),f(e,Q,i),f(e,Cn,i),f(e,we,i),f(e,Tn,i),m(W,e,i),f(e,kn,i),m(Ce,e,i),f(e,Ln,i),f(e,D,i),m(Te,D,null),t(D,Do),t(D,At),t(D,Ho),t(D,O),m(ke,O,null),t(O,No),t(O,Mt),f(e,An,i),m(Le,e,i),f(e,Mn,i),f(e,H,i),m(Ae,H,null),t(H,Eo),t(H,Pt),t(H,Bo),t(H,S),m(Me,S,null),t(S,Io),t(S,Qt),f(e,Pn,i),m(Pe,e,i),f(e,Qn,i),f(e,N,i),m(Qe,N,null),t(N,Fo),t(N,Dt),t(N,Vo),t(N,U),m(De,U,null),t(U,jo),t(U,Ht),f(e,Dn,i),m(He,e,i),f(e,Hn,i),f(e,E,i),m(Ne,E,null),t(E,Go),t(E,Nt),t(E,Wo),t(E,R),m(Ee,R,null),t(R,Oo),t(R,Et),f(e,Nn,i),m(Be,e,i),f(e,En,i),f(e,C,i),m(Ie,C,null),t(C,So),t(C,Bt),t(C,Uo),t(C,Y),m(Fe,Y,null),t(Y,Ro),t(Y,It),t(C,Yo),t(C,Z),m(Ve,Z,null),t(Z,Zo),t(Z,Ft),t(C,Xo),t(C,X),m(je,X,null),t(X,Jo),t(X,Vt),f(e,Bn,i),m(Ge,e,i),f(e,In,i),f(e,q,i),m(We,q,null),t(q,Ko),t(q,jt),t(q,er),t(q,Gt),t(q,tr),t(q,Wt),t(q,nr),t(q,J),m(Oe,J,null),t(J,or),t(J,Ot),t(q,rr),t(q,K),m(Se,K,null),t(K,ar),t(K,St),t(q,sr),t(q,ee),m(Ue,ee,null),t(ee,ir),t(ee,Ut),t(q,dr),t(q,te),m(Re,te,null),t(te,lr),t(te,Rt),f(e,Fn,i),m(Ye,e,i),f(e,Vn,i),f(e,v,i),m(Ze,v,null),t(v,mr),t(v,Yt),t(v,cr),t(v,Zt),t(v,pr),t(v,ne),m(Xe,ne,null),t(ne,ur),t(ne,Xt),t(v,fr),t(v,oe),m(Je,oe,null),t(oe,gr),t(oe,Jt),t(v,hr),t(v,re),m(Ke,re,null),t(re,_r),t(re,Kt),t(v,br),t(v,ae),m(et,ae,null),t(ae,vr),t(ae,en),t(v,yr),t(v,se),m(tt,se,null),t(se,$r),t(se,tn),t(v,qr),t(v,ie),m(nt,ie,null),t(ie,xr),t(ie,nn),t(v,zr),t(v,de),m(ot,de,null),t(de,wr),t(de,on),t(v,Cr),t(v,le),m(rt,le,null),t(le,Tr),t(le,rn),t(v,kr),t(v,me),m(at,me,null),t(me,Lr),t(me,an),t(v,Ar),t(v,ce),m(st,ce,null),t(ce,Mr),t(ce,sn),t(v,Pr),t(v,pe),m(it,pe,null),t(pe,Qr),t(pe,dn),t(v,Dr),t(v,ue),m(dt,ue,null),t(ue,Hr),t(ue,ln),t(v,Nr),t(v,fe),m(lt,fe,null),t(fe,Er),t(fe,mn),f(e,jn,i),m(mt,e,i),f(e,Gn,i),f(e,T,i),m(ct,T,null),t(T,Br),t(T,cn),t(T,Ir),t(T,ge),m(pt,ge,null),t(ge,Fr),t(ge,pn),t(T,Vr),t(T,he),m(ut,he,null),t(he,jr),t(he,un),t(T,Gr),t(T,_e),m(ft,_e,null),t(_e,Wr),t(_e,fn),f(e,Wn,i),m(gt,e,i),f(e,On,i),f(e,V,i),m(ht,V,null),t(V,Or),t(V,gn),f(e,Sn,i),m(_t,e,i),f(e,Un,i),f(e,L,i),m(bt,L,null),t(L,Sr),t(L,hn),t(L,Ur),t(L,be),m(vt,be,null),t(be,Rr),t(be,_n),t(L,Yr),t(L,ve),m(yt,ve,null),t(ve,Zr),t(ve,bn),f(e,Rn,i),m($t,e,i),f(e,Yn,i),f(e,A,i),m(qt,A,null),t(A,Xr),t(A,vn),t(A,Jr),m(ye,A,null),t(A,Kr),t(A,$e),m(xt,$e,null),t($e,ea),t($e,yn),f(e,Zn,i),m(zt,e,i),f(e,Xn,i),f(e,j,i),m(wt,j,null),t(j,ta),t(j,qe),m(Ct,qe,null),t(qe,na),t(qe,$n),f(e,Jn,i),m(Tt,e,i),f(e,Kn,i),f(e,wn,i),eo=!0},p(e,[i]){const G={};i&2&&(G.$$scope={dirty:i,ctx:e}),W.$set(G);const kt={};i&2&&(kt.$$scope={dirty:i,ctx:e}),ye.$set(kt)},i(e){eo||(c(P.$$.fragment,e),c(W.$$.fragment,e),c(Ce.$$.fragment,e),c(Te.$$.fragment,e),c(ke.$$.fragment,e),c(Le.$$.fragment,e),c(Ae.$$.fragment,e),c(Me.$$.fragment,e),c(Pe.$$.fragment,e),c(Qe.$$.fragment,e),c(De.$$.fragment,e),c(He.$$.fragment,e),c(Ne.$$.fragment,e),c(Ee.$$.fragment,e),c(Be.$$.fragment,e),c(Ie.$$.fragment,e),c(Fe.$$.fragment,e),c(Ve.$$.fragment,e),c(je.$$.fragment,e),c(Ge.$$.fragment,e),c(We.$$.fragment,e),c(Oe.$$.fragment,e),c(Se.$$.fragment,e),c(Ue.$$.fragment,e),c(Re.$$.fragment,e),c(Ye.$$.fragment,e),c(Ze.$$.fragment,e),c(Xe.$$.fragment,e),c(Je.$$.fragment,e),c(Ke.$$.fragment,e),c(et.$$.fragment,e),c(tt.$$.fragment,e),c(nt.$$.fragment,e),c(ot.$$.fragment,e),c(rt.$$.fragment,e),c(at.$$.fragment,e),c(st.$$.fragment,e),c(it.$$.fragment,e),c(dt.$$.fragment,e),c(lt.$$.fragment,e),c(mt.$$.fragment,e),c(ct.$$.fragment,e),c(pt.$$.fragment,e),c(ut.$$.fragment,e),c(ft.$$.fragment,e),c(gt.$$.fragment,e),c(ht.$$.fragment,e),c(_t.$$.fragment,e),c(bt.$$.fragment,e),c(vt.$$.fragment,e),c(yt.$$.fragment,e),c($t.$$.fragment,e),c(qt.$$.fragment,e),c(ye.$$.fragment,e),c(xt.$$.fragment,e),c(zt.$$.fragment,e),c(wt.$$.fragment,e),c(Ct.$$.fragment,e),c(Tt.$$.fragment,e),eo=!0)},o(e){p(P.$$.fragment,e),p(W.$$.fragment,e),p(Ce.$$.fragment,e),p(Te.$$.fragment,e),p(ke.$$.fragment,e),p(Le.$$.fragment,e),p(Ae.$$.fragment,e),p(Me.$$.fragment,e),p(Pe.$$.fragment,e),p(Qe.$$.fragment,e),p(De.$$.fragment,e),p(He.$$.fragment,e),p(Ne.$$.fragment,e),p(Ee.$$.fragment,e),p(Be.$$.fragment,e),p(Ie.$$.fragment,e),p(Fe.$$.fragment,e),p(Ve.$$.fragment,e),p(je.$$.fragment,e),p(Ge.$$.fragment,e),p(We.$$.fragment,e),p(Oe.$$.fragment,e),p(Se.$$.fragment,e),p(Ue.$$.fragment,e),p(Re.$$.fragment,e),p(Ye.$$.fragment,e),p(Ze.$$.fragment,e),p(Xe.$$.fragment,e),p(Je.$$.fragment,e),p(Ke.$$.fragment,e),p(et.$$.fragment,e),p(tt.$$.fragment,e),p(nt.$$.fragment,e),p(ot.$$.fragment,e),p(rt.$$.fragment,e),p(at.$$.fragment,e),p(st.$$.fragment,e),p(it.$$.fragment,e),p(dt.$$.fragment,e),p(lt.$$.fragment,e),p(mt.$$.fragment,e),p(ct.$$.fragment,e),p(pt.$$.fragment,e),p(ut.$$.fragment,e),p(ft.$$.fragment,e),p(gt.$$.fragment,e),p(ht.$$.fragment,e),p(_t.$$.fragment,e),p(bt.$$.fragment,e),p(vt.$$.fragment,e),p(yt.$$.fragment,e),p($t.$$.fragment,e),p(qt.$$.fragment,e),p(ye.$$.fragment,e),p(xt.$$.fragment,e),p(zt.$$.fragment,e),p(wt.$$.fragment,e),p(Ct.$$.fragment,e),p(Tt.$$.fragment,e),eo=!1},d(e){e&&(r(B),r(z),r(k),r(x),r(Q),r(Cn),r(we),r(Tn),r(kn),r(Ln),r(D),r(An),r(Mn),r(H),r(Pn),r(Qn),r(N),r(Dn),r(Hn),r(E),r(Nn),r(En),r(C),r(Bn),r(In),r(q),r(Fn),r(Vn),r(v),r(jn),r(Gn),r(T),r(Wn),r(On),r(V),r(Sn),r(Un),r(L),r(Rn),r(Yn),r(A),r(Zn),r(Xn),r(j),r(Jn),r(Kn),r(wn)),r($),u(P,e),u(W,e),u(Ce,e),u(Te),u(ke),u(Le,e),u(Ae),u(Me),u(Pe,e),u(Qe),u(De),u(He,e),u(Ne),u(Ee),u(Be,e),u(Ie),u(Fe),u(Ve),u(je),u(Ge,e),u(We),u(Oe),u(Se),u(Ue),u(Re),u(Ye,e),u(Ze),u(Xe),u(Je),u(Ke),u(et),u(tt),u(nt),u(ot),u(rt),u(at),u(st),u(it),u(dt),u(lt),u(mt,e),u(ct),u(pt),u(ut),u(ft),u(gt,e),u(ht),u(_t,e),u(bt),u(vt),u(yt),u($t,e),u(qt),u(ye),u(xt),u(zt,e),u(wt),u(Ct),u(Tt,e)}}}const ls='{"title":"Quantization","local":"quantization","sections":[{"title":"QuantoConfig","local":"transformers.QuantoConfig","sections":[],"depth":2},{"title":"AqlmConfig","local":"transformers.AqlmConfig","sections":[],"depth":2},{"title":"AwqConfig","local":"transformers.AwqConfig","sections":[],"depth":2},{"title":"EetqConfig","local":"transformers.EetqConfig","sections":[],"depth":2},{"title":"GPTQConfig","local":"transformers.GPTQConfig","sections":[],"depth":2},{"title":"BitsAndBytesConfig","local":"transformers.BitsAndBytesConfig","sections":[],"depth":2},{"title":"HfQuantizer","local":"transformers.quantizers.HfQuantizer","sections":[],"depth":2},{"title":"HqqConfig","local":"transformers.HqqConfig","sections":[],"depth":2},{"title":"FbgemmFp8Config","local":"transformers.FbgemmFp8Config","sections":[],"depth":2},{"title":"CompressedTensorsConfig","local":"transformers.CompressedTensorsConfig","sections":[],"depth":2},{"title":"TorchAoConfig","local":"transformers.TorchAoConfig","sections":[],"depth":2},{"title":"BitNetConfig","local":"transformers.BitNetConfig","sections":[],"depth":2}],"depth":1}';function ms(Lt){return Ja(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class bs extends Ka{constructor($){super(),es(this,$,ms,ds,Xa,{})}}export{bs as component};
