import{s as is,o as ds,n as ss}from"../chunks/scheduler.25b97de1.js";import{S as ls,i as ms,g as r,s as n,r as d,A as cs,h as a,f as s,c as o,j as h,u as l,x as u,k as _,y as t,a as g,v as m,d as c,t as p,w as f}from"../chunks/index.d9030fc9.js";import{T as ps}from"../chunks/Tip.baa67368.js";import{D as b}from"../chunks/Docstring.ffac8efa.js";import{C as fs}from"../chunks/CodeBlock.e6cd0d95.js";import{E as us}from"../chunks/ExampleCodeBlock.22dfe688.js";import{H as M,E as gs}from"../chunks/EditOnGithub.91d95064.js";function hs(Mt){let $,B='Learn how to quantize models in the <a href="../quantization">Quantization</a> guide.';return{c(){$=r("p"),$.innerHTML=B},l(z){$=a(z,"P",{"data-svelte-h":!0}),u($)!=="svelte-1pv1tva"&&($.innerHTML=B)},m(z,L){g(z,$,L)},p:ss,d(z){z&&s($)}}}function _s(Mt){let $,B="Example:",z,L,P;return L=new fs({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(){$=r("p"),$.textContent=B,z=n(),d(L.$$.fragment)},l(x){$=a(x,"P",{"data-svelte-h":!0}),u($)!=="svelte-11lpom8"&&($.textContent=B),z=o(x),l(L.$$.fragment,x)},m(x,D){g(x,$,D),g(x,z,D),m(L,x,D),P=!0},p:ss,i(x){P||(c(L.$$.fragment,x),P=!0)},o(x){p(L.$$.fragment,x),P=!1},d(x){x&&(s($),s(z)),f(L,x)}}}function bs(Mt){let $,B,z,L,P,x,D,ca="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.",Mn,Ce,pa="Quantization techniques that aren’t supported in Transformers can be added with the <code>HfQuantizer</code> class.",Pn,S,Dn,Te,Qn,Q,ke,Io,Pt,fa=`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>.`,Fo,U,Le,Vo,Dt,ua="Safety checker that arguments are correct",Hn,Ae,Nn,H,Me,jo,Qt,ga="This is a wrapper class about <code>aqlm</code> parameters.",Go,R,Pe,Wo,Ht,ha="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",En,De,Bn,N,Qe,Oo,Nt,_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>auto-awq</code> library awq quantization relying on auto_awq backend.`,So,Y,He,Uo,Et,ba="Safety checker that arguments are correct",In,Ne,Fn,E,Ee,Ro,Bt,va=`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>.`,Yo,Z,Be,Zo,It,ya="Safety checker that arguments are correct",Vn,Ie,jn,C,Fe,Xo,Ft,$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>optimum</code> api for gptq quantization relying on auto_gptq backend.`,Jo,X,Ve,Ko,Vt,qa="Get compatible class with optimum gptq config dict",er,J,je,tr,jt,xa="Safety checker that arguments are correct",nr,K,Ge,or,Gt,za="Get compatible dict for optimum gptq config",Gn,We,Wn,q,Oe,rr,Wt,wa=`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>.`,ar,Ot,Ca="This replaces <code>load_in_8bit</code> or <code>load_in_4bit</code>therefore both options are mutually exclusive.",sr,St,Ta=`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.`,ir,ee,Se,dr,Ut,ka="Returns <code>True</code> if the model is quantizable, <code>False</code> otherwise.",lr,te,Ue,mr,Rt,La="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",cr,ne,Re,pr,Yt,Aa=`This method returns the quantization method used for the model. If the model is not quantizable, it returns
<code>None</code>.`,fr,oe,Ye,ur,Zt,Ma=`Removes all attributes from config which correspond to the default config attributes for better readability and
serializes to a Python dictionary.`,On,Ze,Sn,v,Xe,gr,Xt,Pa=`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.`,hr,Jt,Da=`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.`,_r,re,Je,br,Kt,Qa="adjust max_memory argument for infer_auto_device_map() if extra memory is needed for quantization",vr,ae,Ke,yr,en,Ha=`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>.`,$r,se,et,qr,tn,Na=`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.`,xr,ie,tt,zr,nn,Ea=`takes needed components from state_dict and creates quantized param; only applicable if
requires_parameters_quantization == True`,wr,de,nt,Cr,on,Ba=`Potentially dequantize the model to retrive the original model, with some loss in accuracy / performance.
Note not all quantization schemes support this.`,Tr,le,ot,kr,rn,Ia=`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>.`,Lr,me,rt,Ar,an,Fa=`Post-process the model post weights loading.
Make sure to override the abstract method <code>_process_model_after_weight_loading</code>.`,Mr,ce,at,Pr,sn,Va=`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>.`,Dr,pe,st,Qr,dn,ja=`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”“`,Hr,fe,it,Nr,ln,Ga="Override this method if you want to adjust the <code>update_expected_keys</code>.",Er,ue,dt,Br,mn,Wa="Override this method if you want to adjust the <code>missing_keys</code>.",Ir,ge,lt,Fr,cn,Oa=`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`,Vr,he,mt,jr,pn,Sa=`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.`,Un,ct,Rn,T,pt,Gr,fn,Ua="This is wrapper around hqq’s BaseQuantizeConfig.",Wr,_e,ft,Or,un,Ra="Override from_dict, used in AutoQuantizationConfig.from_dict in quantizers/auto.py",Sr,be,ut,Ur,gn,Ya="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",Rr,ve,gt,Yr,hn,Za=`Removes all attributes from config which correspond to the default config attributes for better readability and
serializes to a Python dictionary.`,Yn,ht,Zn,G,_t,Zr,_n,Xa=`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.`,Xn,bt,Jn,k,vt,Xr,bn,Ja=`This is a wrapper class that handles compressed-tensors quantization config options.
It is a wrapper around <code>compressed_tensors.QuantizationConfig</code>`,Jr,ye,yt,Kr,vn,Ka=`Instantiates a <a href="/docs/transformers/main/en/main_classes/quantization#transformers.CompressedTensorsConfig">CompressedTensorsConfig</a> from a Python dictionary of parameters.
Optionally unwraps any args from the nested quantization_config`,ea,I,$t,ta,yn,es="Quantization config to be added to config.json",na,$n,ts=`Serializes this instance to a Python dictionary. Returns:
<code>Dict[str, Any]</code>: Dictionary of all the attributes that make up this configuration instance.`,oa,$e,qt,ra,qn,ns=`Removes all attributes from config which correspond to the default config attributes for better readability and
serializes to a Python dictionary.`,Kn,xt,eo,A,zt,aa,xn,os="This is a config class for torchao quantization/sparsity techniques.",sa,qe,ia,xe,wt,da,zn,rs="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",to,Ct,no,W,Tt,la,ze,kt,ma,wn,as="Safety checker that arguments are correct",oo,Lt,ro,An,ao;return P=new M({props:{title:"Quantization",local:"quantization",headingTag:"h1"}}),S=new ps({props:{$$slots:{default:[hs]},$$scope:{ctx:Mt}}}),Te=new M({props:{title:"QuantoConfig",local:"transformers.QuantoConfig",headingTag:"h2"}}),ke=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/main/src/transformers/utils/quantization_config.py#L997"}}),Le=new b({props:{name:"post_init",anchor:"transformers.QuantoConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1026"}}),Ae=new M({props:{title:"AqlmConfig",local:"transformers.AqlmConfig",headingTag:"h2"}}),Me=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/main/src/transformers/utils/quantization_config.py#L937"}}),Pe=new b({props:{name:"post_init",anchor:"transformers.AqlmConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L975"}}),De=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/main/src/transformers/utils/quantization_config.py#L764"}}),He=new b({props:{name:"post_init",anchor:"transformers.AwqConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L833"}}),Ne=new M({props:{title:"EetqConfig",local:"transformers.EetqConfig",headingTag:"h2"}}),Ee=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/main/src/transformers/utils/quantization_config.py#L1038"}}),Be=new b({props:{name:"post_init",anchor:"transformers.EetqConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1063"}}),Ie=new M({props:{title:"GPTQConfig",local:"transformers.GPTQConfig",headingTag:"h2"}}),Fe=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/main/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/main/src/transformers/utils/quantization_config.py#L547"}}),Ve=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/main/src/transformers/utils/quantization_config.py#L749"}}),je=new b({props:{name:"post_init",anchor:"transformers.GPTQConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L661"}}),Ge=new b({props:{name:"to_dict_optimum",anchor:"transformers.GPTQConfig.to_dict_optimum",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L740"}}),We=new M({props:{title:"BitsAndBytesConfig",local:"transformers.BitsAndBytesConfig",headingTag:"h2"}}),Oe=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/main/src/transformers/utils/quantization_config.py#L311"}}),Se=new b({props:{name:"is_quantizable",anchor:"transformers.BitsAndBytesConfig.is_quantizable",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L482"}}),Ue=new b({props:{name:"post_init",anchor:"transformers.BitsAndBytesConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L445"}}),Re=new b({props:{name:"quantization_method",anchor:"transformers.BitsAndBytesConfig.quantization_method",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L488"}}),Ye=new b({props:{name:"to_diff_dict",anchor:"transformers.BitsAndBytesConfig.to_diff_dict",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/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>
`}}),Ze=new M({props:{title:"HfQuantizer",local:"transformers.quantizers.HfQuantizer",headingTag:"h2"}}),Xe=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/main/src/transformers/quantizers/base.py#L28"}}),Je=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/main/src/transformers/quantizers/base.py#L143"}}),Ke=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/main/src/transformers/quantizers/base.py#L90"}}),et=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/main/src/transformers/quantizers/base.py#L147"}}),tt=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/main/src/transformers/quantizers/base.py#L162"}}),nt=new b({props:{name:"dequantize",anchor:"transformers.quantizers.HfQuantizer.dequantize",parameters:[{name:"model",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L209"}}),ot=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/main/src/transformers/quantizers/base.py#L124"}}),rt=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/main/src/transformers/quantizers/base.py#L196"}}),at=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/main/src/transformers/quantizers/base.py#L180"}}),st=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/main/src/transformers/quantizers/base.py#L78"}}),it=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/main/src/transformers/quantizers/base.py#L112"}}),dt=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/main/src/transformers/quantizers/base.py#L102"}}),lt=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/main/src/transformers/quantizers/base.py#L66"}}),mt=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/main/src/transformers/quantizers/base.py#L172"}}),ct=new M({props:{title:"HqqConfig",local:"transformers.HqqConfig",headingTag:"h2"}}),pt=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/main/src/transformers/utils/quantization_config.py#L190"}}),ft=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/main/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/main/src/transformers/utils/quantization_config.py#L258"}}),gt=new b({props:{name:"to_diff_dict",anchor:"transformers.HqqConfig.to_diff_dict",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/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>
`}}),ht=new M({props:{title:"FbgemmFp8Config",local:"transformers.FbgemmFp8Config",headingTag:"h2"}}),_t=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/main/src/transformers/utils/quantization_config.py#L1204"}}),bt=new M({props:{title:"CompressedTensorsConfig",local:"transformers.CompressedTensorsConfig",headingTag:"h2"}}),vt=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/main/src/transformers/utils/quantization_config.py#L1072"}}),yt=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/main/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>
`}}),$t=new b({props:{name:"to_dict",anchor:"transformers.CompressedTensorsConfig.to_dict",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1162"}}),qt=new b({props:{name:"to_diff_dict",anchor:"transformers.CompressedTensorsConfig.to_diff_dict",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1182",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>
`}}),xt=new M({props:{title:"TorchAoConfig",local:"transformers.TorchAoConfig",headingTag:"h2"}}),zt=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/main/src/transformers/utils/quantization_config.py#L1235"}}),qe=new us({props:{anchor:"transformers.TorchAoConfig.example",$$slots:{default:[_s]},$$scope:{ctx:Mt}}}),wt=new b({props:{name:"post_init",anchor:"transformers.TorchAoConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1271"}}),Ct=new M({props:{title:"BitNetConfig",local:"transformers.BitNetConfig",headingTag:"h2"}}),Tt=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/main/src/transformers/utils/quantization_config.py#L1329"}}),kt=new b({props:{name:"post_init",anchor:"transformers.BitNetConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1340"}}),Lt=new gs({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/en/main_classes/quantization.md"}}),{c(){$=r("meta"),B=n(),z=r("p"),L=n(),d(P.$$.fragment),x=n(),D=r("p"),D.textContent=ca,Mn=n(),Ce=r("p"),Ce.innerHTML=pa,Pn=n(),d(S.$$.fragment),Dn=n(),d(Te.$$.fragment),Qn=n(),Q=r("div"),d(ke.$$.fragment),Io=n(),Pt=r("p"),Pt.innerHTML=fa,Fo=n(),U=r("div"),d(Le.$$.fragment),Vo=n(),Dt=r("p"),Dt.textContent=ua,Hn=n(),d(Ae.$$.fragment),Nn=n(),H=r("div"),d(Me.$$.fragment),jo=n(),Qt=r("p"),Qt.innerHTML=ga,Go=n(),R=r("div"),d(Pe.$$.fragment),Wo=n(),Ht=r("p"),Ht.textContent=ha,En=n(),d(De.$$.fragment),Bn=n(),N=r("div"),d(Qe.$$.fragment),Oo=n(),Nt=r("p"),Nt.innerHTML=_a,So=n(),Y=r("div"),d(He.$$.fragment),Uo=n(),Et=r("p"),Et.textContent=ba,In=n(),d(Ne.$$.fragment),Fn=n(),E=r("div"),d(Ee.$$.fragment),Ro=n(),Bt=r("p"),Bt.innerHTML=va,Yo=n(),Z=r("div"),d(Be.$$.fragment),Zo=n(),It=r("p"),It.textContent=ya,Vn=n(),d(Ie.$$.fragment),jn=n(),C=r("div"),d(Fe.$$.fragment),Xo=n(),Ft=r("p"),Ft.innerHTML=$a,Jo=n(),X=r("div"),d(Ve.$$.fragment),Ko=n(),Vt=r("p"),Vt.textContent=qa,er=n(),J=r("div"),d(je.$$.fragment),tr=n(),jt=r("p"),jt.textContent=xa,nr=n(),K=r("div"),d(Ge.$$.fragment),or=n(),Gt=r("p"),Gt.textContent=za,Gn=n(),d(We.$$.fragment),Wn=n(),q=r("div"),d(Oe.$$.fragment),rr=n(),Wt=r("p"),Wt.innerHTML=wa,ar=n(),Ot=r("p"),Ot.innerHTML=Ca,sr=n(),St=r("p"),St.innerHTML=Ta,ir=n(),ee=r("div"),d(Se.$$.fragment),dr=n(),Ut=r("p"),Ut.innerHTML=ka,lr=n(),te=r("div"),d(Ue.$$.fragment),mr=n(),Rt=r("p"),Rt.textContent=La,cr=n(),ne=r("div"),d(Re.$$.fragment),pr=n(),Yt=r("p"),Yt.innerHTML=Aa,fr=n(),oe=r("div"),d(Ye.$$.fragment),ur=n(),Zt=r("p"),Zt.textContent=Ma,On=n(),d(Ze.$$.fragment),Sn=n(),v=r("div"),d(Xe.$$.fragment),gr=n(),Xt=r("p"),Xt.textContent=Pa,hr=n(),Jt=r("p"),Jt.innerHTML=Da,_r=n(),re=r("div"),d(Je.$$.fragment),br=n(),Kt=r("p"),Kt.textContent=Qa,vr=n(),ae=r("div"),d(Ke.$$.fragment),yr=n(),en=r("p"),en.innerHTML=Ha,$r=n(),se=r("div"),d(et.$$.fragment),qr=n(),tn=r("p"),tn.textContent=Na,xr=n(),ie=r("div"),d(tt.$$.fragment),zr=n(),nn=r("p"),nn.textContent=Ea,wr=n(),de=r("div"),d(nt.$$.fragment),Cr=n(),on=r("p"),on.textContent=Ba,Tr=n(),le=r("div"),d(ot.$$.fragment),kr=n(),rn=r("p"),rn.innerHTML=Ia,Lr=n(),me=r("div"),d(rt.$$.fragment),Ar=n(),an=r("p"),an.innerHTML=Fa,Mr=n(),ce=r("div"),d(at.$$.fragment),Pr=n(),sn=r("p"),sn.innerHTML=Va,Dr=n(),pe=r("div"),d(st.$$.fragment),Qr=n(),dn=r("p"),dn.innerHTML=ja,Hr=n(),fe=r("div"),d(it.$$.fragment),Nr=n(),ln=r("p"),ln.innerHTML=Ga,Er=n(),ue=r("div"),d(dt.$$.fragment),Br=n(),mn=r("p"),mn.innerHTML=Wa,Ir=n(),ge=r("div"),d(lt.$$.fragment),Fr=n(),cn=r("p"),cn.textContent=Oa,Vr=n(),he=r("div"),d(mt.$$.fragment),jr=n(),pn=r("p"),pn.innerHTML=Sa,Un=n(),d(ct.$$.fragment),Rn=n(),T=r("div"),d(pt.$$.fragment),Gr=n(),fn=r("p"),fn.textContent=Ua,Wr=n(),_e=r("div"),d(ft.$$.fragment),Or=n(),un=r("p"),un.textContent=Ra,Sr=n(),be=r("div"),d(ut.$$.fragment),Ur=n(),gn=r("p"),gn.textContent=Ya,Rr=n(),ve=r("div"),d(gt.$$.fragment),Yr=n(),hn=r("p"),hn.textContent=Za,Yn=n(),d(ht.$$.fragment),Zn=n(),G=r("div"),d(_t.$$.fragment),Zr=n(),_n=r("p"),_n.textContent=Xa,Xn=n(),d(bt.$$.fragment),Jn=n(),k=r("div"),d(vt.$$.fragment),Xr=n(),bn=r("p"),bn.innerHTML=Ja,Jr=n(),ye=r("div"),d(yt.$$.fragment),Kr=n(),vn=r("p"),vn.innerHTML=Ka,ea=n(),I=r("div"),d($t.$$.fragment),ta=n(),yn=r("p"),yn.textContent=es,na=n(),$n=r("p"),$n.innerHTML=ts,oa=n(),$e=r("div"),d(qt.$$.fragment),ra=n(),qn=r("p"),qn.textContent=ns,Kn=n(),d(xt.$$.fragment),eo=n(),A=r("div"),d(zt.$$.fragment),aa=n(),xn=r("p"),xn.textContent=os,sa=n(),d(qe.$$.fragment),ia=n(),xe=r("div"),d(wt.$$.fragment),da=n(),zn=r("p"),zn.textContent=rs,to=n(),d(Ct.$$.fragment),no=n(),W=r("div"),d(Tt.$$.fragment),la=n(),ze=r("div"),d(kt.$$.fragment),ma=n(),wn=r("p"),wn.textContent=as,oo=n(),d(Lt.$$.fragment),ro=n(),An=r("p"),this.h()},l(e){const i=cs("svelte-u9bgzb",document.head);$=a(i,"META",{name:!0,content:!0}),i.forEach(s),B=o(e),z=a(e,"P",{}),h(z).forEach(s),L=o(e),l(P.$$.fragment,e),x=o(e),D=a(e,"P",{"data-svelte-h":!0}),u(D)!=="svelte-1hsjm7z"&&(D.textContent=ca),Mn=o(e),Ce=a(e,"P",{"data-svelte-h":!0}),u(Ce)!=="svelte-bnel0f"&&(Ce.innerHTML=pa),Pn=o(e),l(S.$$.fragment,e),Dn=o(e),l(Te.$$.fragment,e),Qn=o(e),Q=a(e,"DIV",{class:!0});var O=h(Q);l(ke.$$.fragment,O),Io=o(O),Pt=a(O,"P",{"data-svelte-h":!0}),u(Pt)!=="svelte-b8v0f"&&(Pt.innerHTML=fa),Fo=o(O),U=a(O,"DIV",{class:!0});var At=h(U);l(Le.$$.fragment,At),Vo=o(At),Dt=a(At,"P",{"data-svelte-h":!0}),u(Dt)!=="svelte-1ozftb6"&&(Dt.textContent=ua),At.forEach(s),O.forEach(s),Hn=o(e),l(Ae.$$.fragment,e),Nn=o(e),H=a(e,"DIV",{class:!0});var Cn=h(H);l(Me.$$.fragment,Cn),jo=o(Cn),Qt=a(Cn,"P",{"data-svelte-h":!0}),u(Qt)!=="svelte-1s7ccdx"&&(Qt.innerHTML=ga),Go=o(Cn),R=a(Cn,"DIV",{class:!0});var so=h(R);l(Pe.$$.fragment,so),Wo=o(so),Ht=a(so,"P",{"data-svelte-h":!0}),u(Ht)!=="svelte-gy26u4"&&(Ht.textContent=ha),so.forEach(s),Cn.forEach(s),En=o(e),l(De.$$.fragment,e),Bn=o(e),N=a(e,"DIV",{class:!0});var Tn=h(N);l(Qe.$$.fragment,Tn),Oo=o(Tn),Nt=a(Tn,"P",{"data-svelte-h":!0}),u(Nt)!=="svelte-1i667it"&&(Nt.innerHTML=_a),So=o(Tn),Y=a(Tn,"DIV",{class:!0});var io=h(Y);l(He.$$.fragment,io),Uo=o(io),Et=a(io,"P",{"data-svelte-h":!0}),u(Et)!=="svelte-1ozftb6"&&(Et.textContent=ba),io.forEach(s),Tn.forEach(s),In=o(e),l(Ne.$$.fragment,e),Fn=o(e),E=a(e,"DIV",{class:!0});var kn=h(E);l(Ee.$$.fragment,kn),Ro=o(kn),Bt=a(kn,"P",{"data-svelte-h":!0}),u(Bt)!=="svelte-438k9a"&&(Bt.innerHTML=va),Yo=o(kn),Z=a(kn,"DIV",{class:!0});var lo=h(Z);l(Be.$$.fragment,lo),Zo=o(lo),It=a(lo,"P",{"data-svelte-h":!0}),u(It)!=="svelte-1ozftb6"&&(It.textContent=ya),lo.forEach(s),kn.forEach(s),Vn=o(e),l(Ie.$$.fragment,e),jn=o(e),C=a(e,"DIV",{class:!0});var F=h(C);l(Fe.$$.fragment,F),Xo=o(F),Ft=a(F,"P",{"data-svelte-h":!0}),u(Ft)!=="svelte-i3efvr"&&(Ft.innerHTML=$a),Jo=o(F),X=a(F,"DIV",{class:!0});var mo=h(X);l(Ve.$$.fragment,mo),Ko=o(mo),Vt=a(mo,"P",{"data-svelte-h":!0}),u(Vt)!=="svelte-4jdj2l"&&(Vt.textContent=qa),mo.forEach(s),er=o(F),J=a(F,"DIV",{class:!0});var co=h(J);l(je.$$.fragment,co),tr=o(co),jt=a(co,"P",{"data-svelte-h":!0}),u(jt)!=="svelte-1ozftb6"&&(jt.textContent=xa),co.forEach(s),nr=o(F),K=a(F,"DIV",{class:!0});var po=h(K);l(Ge.$$.fragment,po),or=o(po),Gt=a(po,"P",{"data-svelte-h":!0}),u(Gt)!=="svelte-pjgtd6"&&(Gt.textContent=za),po.forEach(s),F.forEach(s),Gn=o(e),l(We.$$.fragment,e),Wn=o(e),q=a(e,"DIV",{class:!0});var w=h(q);l(Oe.$$.fragment,w),rr=o(w),Wt=a(w,"P",{"data-svelte-h":!0}),u(Wt)!=="svelte-woamwr"&&(Wt.innerHTML=wa),ar=o(w),Ot=a(w,"P",{"data-svelte-h":!0}),u(Ot)!=="svelte-ki5gis"&&(Ot.innerHTML=Ca),sr=o(w),St=a(w,"P",{"data-svelte-h":!0}),u(St)!=="svelte-8qsk2q"&&(St.innerHTML=Ta),ir=o(w),ee=a(w,"DIV",{class:!0});var fo=h(ee);l(Se.$$.fragment,fo),dr=o(fo),Ut=a(fo,"P",{"data-svelte-h":!0}),u(Ut)!=="svelte-10tvzyv"&&(Ut.innerHTML=ka),fo.forEach(s),lr=o(w),te=a(w,"DIV",{class:!0});var uo=h(te);l(Ue.$$.fragment,uo),mr=o(uo),Rt=a(uo,"P",{"data-svelte-h":!0}),u(Rt)!=="svelte-gy26u4"&&(Rt.textContent=La),uo.forEach(s),cr=o(w),ne=a(w,"DIV",{class:!0});var go=h(ne);l(Re.$$.fragment,go),pr=o(go),Yt=a(go,"P",{"data-svelte-h":!0}),u(Yt)!=="svelte-19bn0da"&&(Yt.innerHTML=Aa),go.forEach(s),fr=o(w),oe=a(w,"DIV",{class:!0});var ho=h(oe);l(Ye.$$.fragment,ho),ur=o(ho),Zt=a(ho,"P",{"data-svelte-h":!0}),u(Zt)!=="svelte-1p6bdas"&&(Zt.textContent=Ma),ho.forEach(s),w.forEach(s),On=o(e),l(Ze.$$.fragment,e),Sn=o(e),v=a(e,"DIV",{class:!0});var y=h(v);l(Xe.$$.fragment,y),gr=o(y),Xt=a(y,"P",{"data-svelte-h":!0}),u(Xt)!=="svelte-1xvcahi"&&(Xt.textContent=Pa),hr=o(y),Jt=a(y,"P",{"data-svelte-h":!0}),u(Jt)!=="svelte-twdedh"&&(Jt.innerHTML=Da),_r=o(y),re=a(y,"DIV",{class:!0});var _o=h(re);l(Je.$$.fragment,_o),br=o(_o),Kt=a(_o,"P",{"data-svelte-h":!0}),u(Kt)!=="svelte-1d4i4z7"&&(Kt.textContent=Qa),_o.forEach(s),vr=o(y),ae=a(y,"DIV",{class:!0});var bo=h(ae);l(Ke.$$.fragment,bo),yr=o(bo),en=a(bo,"P",{"data-svelte-h":!0}),u(en)!=="svelte-4t526i"&&(en.innerHTML=Ha),bo.forEach(s),$r=o(y),se=a(y,"DIV",{class:!0});var vo=h(se);l(et.$$.fragment,vo),qr=o(vo),tn=a(vo,"P",{"data-svelte-h":!0}),u(tn)!=="svelte-1meey31"&&(tn.textContent=Na),vo.forEach(s),xr=o(y),ie=a(y,"DIV",{class:!0});var yo=h(ie);l(tt.$$.fragment,yo),zr=o(yo),nn=a(yo,"P",{"data-svelte-h":!0}),u(nn)!=="svelte-1j1vsi1"&&(nn.textContent=Ea),yo.forEach(s),wr=o(y),de=a(y,"DIV",{class:!0});var $o=h(de);l(nt.$$.fragment,$o),Cr=o($o),on=a($o,"P",{"data-svelte-h":!0}),u(on)!=="svelte-1qo65te"&&(on.textContent=Ba),$o.forEach(s),Tr=o(y),le=a(y,"DIV",{class:!0});var qo=h(le);l(ot.$$.fragment,qo),kr=o(qo),rn=a(qo,"P",{"data-svelte-h":!0}),u(rn)!=="svelte-i8h8td"&&(rn.innerHTML=Ia),qo.forEach(s),Lr=o(y),me=a(y,"DIV",{class:!0});var xo=h(me);l(rt.$$.fragment,xo),Ar=o(xo),an=a(xo,"P",{"data-svelte-h":!0}),u(an)!=="svelte-1uznum5"&&(an.innerHTML=Fa),xo.forEach(s),Mr=o(y),ce=a(y,"DIV",{class:!0});var zo=h(ce);l(at.$$.fragment,zo),Pr=o(zo),sn=a(zo,"P",{"data-svelte-h":!0}),u(sn)!=="svelte-mjhdcv"&&(sn.innerHTML=Va),zo.forEach(s),Dr=o(y),pe=a(y,"DIV",{class:!0});var wo=h(pe);l(st.$$.fragment,wo),Qr=o(wo),dn=a(wo,"P",{"data-svelte-h":!0}),u(dn)!=="svelte-1e5epn5"&&(dn.innerHTML=ja),wo.forEach(s),Hr=o(y),fe=a(y,"DIV",{class:!0});var Co=h(fe);l(it.$$.fragment,Co),Nr=o(Co),ln=a(Co,"P",{"data-svelte-h":!0}),u(ln)!=="svelte-1idnt2e"&&(ln.innerHTML=Ga),Co.forEach(s),Er=o(y),ue=a(y,"DIV",{class:!0});var To=h(ue);l(dt.$$.fragment,To),Br=o(To),mn=a(To,"P",{"data-svelte-h":!0}),u(mn)!=="svelte-13hqoy0"&&(mn.innerHTML=Wa),To.forEach(s),Ir=o(y),ge=a(y,"DIV",{class:!0});var ko=h(ge);l(lt.$$.fragment,ko),Fr=o(ko),cn=a(ko,"P",{"data-svelte-h":!0}),u(cn)!=="svelte-1kpdm09"&&(cn.textContent=Oa),ko.forEach(s),Vr=o(y),he=a(y,"DIV",{class:!0});var Lo=h(he);l(mt.$$.fragment,Lo),jr=o(Lo),pn=a(Lo,"P",{"data-svelte-h":!0}),u(pn)!=="svelte-1lxocan"&&(pn.innerHTML=Sa),Lo.forEach(s),y.forEach(s),Un=o(e),l(ct.$$.fragment,e),Rn=o(e),T=a(e,"DIV",{class:!0});var V=h(T);l(pt.$$.fragment,V),Gr=o(V),fn=a(V,"P",{"data-svelte-h":!0}),u(fn)!=="svelte-h0fjpw"&&(fn.textContent=Ua),Wr=o(V),_e=a(V,"DIV",{class:!0});var Ao=h(_e);l(ft.$$.fragment,Ao),Or=o(Ao),un=a(Ao,"P",{"data-svelte-h":!0}),u(un)!=="svelte-6lcv9o"&&(un.textContent=Ra),Ao.forEach(s),Sr=o(V),be=a(V,"DIV",{class:!0});var Mo=h(be);l(ut.$$.fragment,Mo),Ur=o(Mo),gn=a(Mo,"P",{"data-svelte-h":!0}),u(gn)!=="svelte-gy26u4"&&(gn.textContent=Ya),Mo.forEach(s),Rr=o(V),ve=a(V,"DIV",{class:!0});var Po=h(ve);l(gt.$$.fragment,Po),Yr=o(Po),hn=a(Po,"P",{"data-svelte-h":!0}),u(hn)!=="svelte-1p6bdas"&&(hn.textContent=Za),Po.forEach(s),V.forEach(s),Yn=o(e),l(ht.$$.fragment,e),Zn=o(e),G=a(e,"DIV",{class:!0});var Do=h(G);l(_t.$$.fragment,Do),Zr=o(Do),_n=a(Do,"P",{"data-svelte-h":!0}),u(_n)!=="svelte-1a51md3"&&(_n.textContent=Xa),Do.forEach(s),Xn=o(e),l(bt.$$.fragment,e),Jn=o(e),k=a(e,"DIV",{class:!0});var j=h(k);l(vt.$$.fragment,j),Xr=o(j),bn=a(j,"P",{"data-svelte-h":!0}),u(bn)!=="svelte-3h2fkj"&&(bn.innerHTML=Ja),Jr=o(j),ye=a(j,"DIV",{class:!0});var Qo=h(ye);l(yt.$$.fragment,Qo),Kr=o(Qo),vn=a(Qo,"P",{"data-svelte-h":!0}),u(vn)!=="svelte-1sqc0ks"&&(vn.innerHTML=Ka),Qo.forEach(s),ea=o(j),I=a(j,"DIV",{class:!0});var Ln=h(I);l($t.$$.fragment,Ln),ta=o(Ln),yn=a(Ln,"P",{"data-svelte-h":!0}),u(yn)!=="svelte-1h5q4kg"&&(yn.textContent=es),na=o(Ln),$n=a(Ln,"P",{"data-svelte-h":!0}),u($n)!=="svelte-4kfdpu"&&($n.innerHTML=ts),Ln.forEach(s),oa=o(j),$e=a(j,"DIV",{class:!0});var Ho=h($e);l(qt.$$.fragment,Ho),ra=o(Ho),qn=a(Ho,"P",{"data-svelte-h":!0}),u(qn)!=="svelte-1p6bdas"&&(qn.textContent=ns),Ho.forEach(s),j.forEach(s),Kn=o(e),l(xt.$$.fragment,e),eo=o(e),A=a(e,"DIV",{class:!0});var we=h(A);l(zt.$$.fragment,we),aa=o(we),xn=a(we,"P",{"data-svelte-h":!0}),u(xn)!=="svelte-1pwo8e0"&&(xn.textContent=os),sa=o(we),l(qe.$$.fragment,we),ia=o(we),xe=a(we,"DIV",{class:!0});var No=h(xe);l(wt.$$.fragment,No),da=o(No),zn=a(No,"P",{"data-svelte-h":!0}),u(zn)!=="svelte-gy26u4"&&(zn.textContent=rs),No.forEach(s),we.forEach(s),to=o(e),l(Ct.$$.fragment,e),no=o(e),W=a(e,"DIV",{class:!0});var Eo=h(W);l(Tt.$$.fragment,Eo),la=o(Eo),ze=a(Eo,"DIV",{class:!0});var Bo=h(ze);l(kt.$$.fragment,Bo),ma=o(Bo),wn=a(Bo,"P",{"data-svelte-h":!0}),u(wn)!=="svelte-1ozftb6"&&(wn.textContent=as),Bo.forEach(s),Eo.forEach(s),oo=o(e),l(Lt.$$.fragment,e),ro=o(e),An=a(e,"P",{}),h(An).forEach(s),this.h()},h(){_($,"name","hf:doc:metadata"),_($,"content",vs),_(U,"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"),_(R,"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"),_(Y,"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"),_(Z,"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"),_(X,"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"),_(C,"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"),_(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"),_(q,"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"),_(fe,"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"),_(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"),_(v,"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"),_(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"),_(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ye,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(I,"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"),_(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(xe,"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"),_(ze,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(W,"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,$),g(e,B,i),g(e,z,i),g(e,L,i),m(P,e,i),g(e,x,i),g(e,D,i),g(e,Mn,i),g(e,Ce,i),g(e,Pn,i),m(S,e,i),g(e,Dn,i),m(Te,e,i),g(e,Qn,i),g(e,Q,i),m(ke,Q,null),t(Q,Io),t(Q,Pt),t(Q,Fo),t(Q,U),m(Le,U,null),t(U,Vo),t(U,Dt),g(e,Hn,i),m(Ae,e,i),g(e,Nn,i),g(e,H,i),m(Me,H,null),t(H,jo),t(H,Qt),t(H,Go),t(H,R),m(Pe,R,null),t(R,Wo),t(R,Ht),g(e,En,i),m(De,e,i),g(e,Bn,i),g(e,N,i),m(Qe,N,null),t(N,Oo),t(N,Nt),t(N,So),t(N,Y),m(He,Y,null),t(Y,Uo),t(Y,Et),g(e,In,i),m(Ne,e,i),g(e,Fn,i),g(e,E,i),m(Ee,E,null),t(E,Ro),t(E,Bt),t(E,Yo),t(E,Z),m(Be,Z,null),t(Z,Zo),t(Z,It),g(e,Vn,i),m(Ie,e,i),g(e,jn,i),g(e,C,i),m(Fe,C,null),t(C,Xo),t(C,Ft),t(C,Jo),t(C,X),m(Ve,X,null),t(X,Ko),t(X,Vt),t(C,er),t(C,J),m(je,J,null),t(J,tr),t(J,jt),t(C,nr),t(C,K),m(Ge,K,null),t(K,or),t(K,Gt),g(e,Gn,i),m(We,e,i),g(e,Wn,i),g(e,q,i),m(Oe,q,null),t(q,rr),t(q,Wt),t(q,ar),t(q,Ot),t(q,sr),t(q,St),t(q,ir),t(q,ee),m(Se,ee,null),t(ee,dr),t(ee,Ut),t(q,lr),t(q,te),m(Ue,te,null),t(te,mr),t(te,Rt),t(q,cr),t(q,ne),m(Re,ne,null),t(ne,pr),t(ne,Yt),t(q,fr),t(q,oe),m(Ye,oe,null),t(oe,ur),t(oe,Zt),g(e,On,i),m(Ze,e,i),g(e,Sn,i),g(e,v,i),m(Xe,v,null),t(v,gr),t(v,Xt),t(v,hr),t(v,Jt),t(v,_r),t(v,re),m(Je,re,null),t(re,br),t(re,Kt),t(v,vr),t(v,ae),m(Ke,ae,null),t(ae,yr),t(ae,en),t(v,$r),t(v,se),m(et,se,null),t(se,qr),t(se,tn),t(v,xr),t(v,ie),m(tt,ie,null),t(ie,zr),t(ie,nn),t(v,wr),t(v,de),m(nt,de,null),t(de,Cr),t(de,on),t(v,Tr),t(v,le),m(ot,le,null),t(le,kr),t(le,rn),t(v,Lr),t(v,me),m(rt,me,null),t(me,Ar),t(me,an),t(v,Mr),t(v,ce),m(at,ce,null),t(ce,Pr),t(ce,sn),t(v,Dr),t(v,pe),m(st,pe,null),t(pe,Qr),t(pe,dn),t(v,Hr),t(v,fe),m(it,fe,null),t(fe,Nr),t(fe,ln),t(v,Er),t(v,ue),m(dt,ue,null),t(ue,Br),t(ue,mn),t(v,Ir),t(v,ge),m(lt,ge,null),t(ge,Fr),t(ge,cn),t(v,Vr),t(v,he),m(mt,he,null),t(he,jr),t(he,pn),g(e,Un,i),m(ct,e,i),g(e,Rn,i),g(e,T,i),m(pt,T,null),t(T,Gr),t(T,fn),t(T,Wr),t(T,_e),m(ft,_e,null),t(_e,Or),t(_e,un),t(T,Sr),t(T,be),m(ut,be,null),t(be,Ur),t(be,gn),t(T,Rr),t(T,ve),m(gt,ve,null),t(ve,Yr),t(ve,hn),g(e,Yn,i),m(ht,e,i),g(e,Zn,i),g(e,G,i),m(_t,G,null),t(G,Zr),t(G,_n),g(e,Xn,i),m(bt,e,i),g(e,Jn,i),g(e,k,i),m(vt,k,null),t(k,Xr),t(k,bn),t(k,Jr),t(k,ye),m(yt,ye,null),t(ye,Kr),t(ye,vn),t(k,ea),t(k,I),m($t,I,null),t(I,ta),t(I,yn),t(I,na),t(I,$n),t(k,oa),t(k,$e),m(qt,$e,null),t($e,ra),t($e,qn),g(e,Kn,i),m(xt,e,i),g(e,eo,i),g(e,A,i),m(zt,A,null),t(A,aa),t(A,xn),t(A,sa),m(qe,A,null),t(A,ia),t(A,xe),m(wt,xe,null),t(xe,da),t(xe,zn),g(e,to,i),m(Ct,e,i),g(e,no,i),g(e,W,i),m(Tt,W,null),t(W,la),t(W,ze),m(kt,ze,null),t(ze,ma),t(ze,wn),g(e,oo,i),m(Lt,e,i),g(e,ro,i),g(e,An,i),ao=!0},p(e,[i]){const O={};i&2&&(O.$$scope={dirty:i,ctx:e}),S.$set(O);const At={};i&2&&(At.$$scope={dirty:i,ctx:e}),qe.$set(At)},i(e){ao||(c(P.$$.fragment,e),c(S.$$.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(De.$$.fragment,e),c(Qe.$$.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(ft.$$.fragment,e),c(ut.$$.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(xt.$$.fragment,e),c(zt.$$.fragment,e),c(qe.$$.fragment,e),c(wt.$$.fragment,e),c(Ct.$$.fragment,e),c(Tt.$$.fragment,e),c(kt.$$.fragment,e),c(Lt.$$.fragment,e),ao=!0)},o(e){p(P.$$.fragment,e),p(S.$$.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(De.$$.fragment,e),p(Qe.$$.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(ft.$$.fragment,e),p(ut.$$.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(xt.$$.fragment,e),p(zt.$$.fragment,e),p(qe.$$.fragment,e),p(wt.$$.fragment,e),p(Ct.$$.fragment,e),p(Tt.$$.fragment,e),p(kt.$$.fragment,e),p(Lt.$$.fragment,e),ao=!1},d(e){e&&(s(B),s(z),s(L),s(x),s(D),s(Mn),s(Ce),s(Pn),s(Dn),s(Qn),s(Q),s(Hn),s(Nn),s(H),s(En),s(Bn),s(N),s(In),s(Fn),s(E),s(Vn),s(jn),s(C),s(Gn),s(Wn),s(q),s(On),s(Sn),s(v),s(Un),s(Rn),s(T),s(Yn),s(Zn),s(G),s(Xn),s(Jn),s(k),s(Kn),s(eo),s(A),s(to),s(no),s(W),s(oo),s(ro),s(An)),s($),f(P,e),f(S,e),f(Te,e),f(ke),f(Le),f(Ae,e),f(Me),f(Pe),f(De,e),f(Qe),f(He),f(Ne,e),f(Ee),f(Be),f(Ie,e),f(Fe),f(Ve),f(je),f(Ge),f(We,e),f(Oe),f(Se),f(Ue),f(Re),f(Ye),f(Ze,e),f(Xe),f(Je),f(Ke),f(et),f(tt),f(nt),f(ot),f(rt),f(at),f(st),f(it),f(dt),f(lt),f(mt),f(ct,e),f(pt),f(ft),f(ut),f(gt),f(ht,e),f(_t),f(bt,e),f(vt),f(yt),f($t),f(qt),f(xt,e),f(zt),f(qe),f(wt),f(Ct,e),f(Tt),f(kt),f(Lt,e)}}}const vs='{"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 ys(Mt){return ds(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ks extends ls{constructor($){super(),ms(this,$,ys,bs,is,{})}}export{ks as component};
