import{s as Pd,o as Qd,n as Ad}from"../chunks/scheduler.18a86fab.js";import{S as Hd,i as Md,g as r,s as n,r as d,A as Nd,h as a,f as s,c as o,j as h,u as l,x as g,k as _,y as t,a as u,v as m,d as c,t as p,w as f}from"../chunks/index.98837b22.js";import{T as Ed}from"../chunks/Tip.77304350.js";import{D as b}from"../chunks/Docstring.6758ea23.js";import{H as x}from"../chunks/Heading.7e7e0c5b.js";import{E as Fd}from"../chunks/index.92f616ba.js";function Id(Io){let q,Ee='Learn how to quantize models in the <a href="../quantization">Quantization</a> guide.';return{c(){q=r("p"),q.innerHTML=Ee},l(L){q=a(L,"P",{"data-svelte-h":!0}),g(q)!=="svelte-1pv1tva"&&(q.innerHTML=Ee)},m(L,hn){u(L,q,hn)},p:Ad,d(L){L&&s(q)}}}function Vd(Io){let q,Ee,L,hn,Fe,Vo,Ie,bi="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.",Bo,Ve,vi="Quantization techniques that aren’t supported in Transformers can be added with the <code>HfQuantizer</code> class.",Go,W,Oo,Be,So,D,Ge,ba,_n,$i=`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>.`,va,U,Oe,$a,bn,yi="Safety checker that arguments are correct",Ro,Se,jo,P,Re,ya,vn,xi="This is a wrapper class about <code>aqlm</code> parameters.",xa,Y,je,qa,$n,qi="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",Wo,We,Uo,Q,Ue,Ca,yn,Ci="This is a wrapper class about <code>vptq</code> parameters.",za,J,Ye,wa,xn,zi="Safety checker that arguments are correct",Yo,Je,Jo,A,Ke,Ta,qn,wi=`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.`,ka,K,Xe,La,Cn,Ti="Safety checker that arguments are correct",Ko,Ze,Xo,H,et,Da,zn,ki=`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>.`,Pa,X,tt,Qa,wn,Li="Safety checker that arguments are correct",Zo,nt,er,z,ot,Aa,Tn,Di=`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.`,Ha,Z,rt,Ma,kn,Pi="Get compatible class with optimum gptq config dict",Na,ee,at,Ea,Ln,Qi="Safety checker that arguments are correct",Fa,te,st,Ia,Dn,Ai="Get compatible dict for optimum gptq config",tr,it,nr,y,dt,Va,Pn,Hi=`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>.`,Ba,Qn,Mi="This replaces <code>load_in_8bit</code> or <code>load_in_4bit</code>therefore both options are mutually exclusive.",Ga,An,Ni=`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.`,Oa,ne,lt,Sa,Hn,Ei="Returns <code>True</code> if the model is quantizable, <code>False</code> otherwise.",Ra,oe,mt,ja,Mn,Fi="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",Wa,re,ct,Ua,Nn,Ii=`This method returns the quantization method used for the model. If the model is not quantizable, it returns
<code>None</code>.`,Ya,ae,pt,Ja,En,Vi=`Removes all attributes from config which correspond to the default config attributes for better readability and
serializes to a Python dictionary.`,or,ft,rr,v,gt,Ka,Fn,Bi=`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.`,Xa,In,Gi=`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.`,Za,se,ut,es,Vn,Oi="adjust max_memory argument for infer_auto_device_map() if extra memory is needed for quantization",ts,ie,ht,ns,Bn,Si=`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>.`,os,de,_t,rs,Gn,Ri=`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.`,as,le,bt,ss,On,ji=`takes needed components from state_dict and creates quantized param; only applicable if
requires_parameters_quantization == True`,is,me,vt,ds,Sn,Wi=`Potentially dequantize the model to retrieve the original model, with some loss in accuracy / performance.
Note not all quantization schemes support this.`,ls,ce,$t,ms,Rn,Ui=`The factor to be used in <code>caching_allocator_warmup</code> to get the number of bytes to pre-allocate to warm up cuda.
A factor of 2 means we allocate all bytes in the empty model (since we allocate in fp16), a factor of 4 means
we allocate half the memory of the weights residing in the empty model, etc…`,cs,pe,yt,ps,jn,Yi=`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>.`,fs,fe,xt,gs,Wn,Ji=`Post-process the model post weights loading.
Make sure to override the abstract method <code>_process_model_after_weight_loading</code>.`,us,ge,qt,hs,Un,Ki=`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>.`,_s,ue,Ct,bs,Yn,Xi=`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”“`,vs,he,zt,$s,Jn,Zi="Override this method if you want to adjust the <code>update_expected_keys</code>.",ys,_e,wt,xs,Kn,ed="Override this method if you want to adjust the <code>missing_keys</code>.",qs,be,Tt,Cs,Xn,td=`Override this method if you want to adjust the <code>missing_keys</code> after loading the model params,
but before the model is post-processed.`,zs,ve,kt,ws,Zn,nd=`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`,Ts,$e,Lt,ks,eo,od="updates the tp plan for the scales",Ls,ye,Dt,Ds,to,rd="Override this method if you want to adjust the <code>unexpected_keys</code>.",Ps,xe,Pt,Qs,no,ad=`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.`,ar,Qt,sr,M,At,As,oo,sd="HiggsConfig is a configuration class for quantization using the HIGGS method.",Hs,qe,Ht,Ms,ro,id="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",ir,Mt,dr,w,Nt,Ns,ao,dd="This is wrapper around hqq’s BaseQuantizeConfig.",Es,Ce,Et,Fs,so,ld="Override from_dict, used in AutoQuantizationConfig.from_dict in quantizers/auto.py",Is,ze,Ft,Vs,io,md="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",Bs,we,It,Gs,lo,cd=`Removes all attributes from config which correspond to the default config attributes for better readability and
serializes to a Python dictionary.`,lr,Vt,mr,R,Bt,Os,mo,pd=`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.`,cr,Gt,pr,T,Ot,Ss,co,fd=`This is a wrapper class that handles compressed-tensors quantization config options.
It is a wrapper around <code>compressed_tensors.QuantizationConfig</code>`,Rs,Te,St,js,po,gd=`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`,Ws,V,Rt,Us,fo,ud="Quantization config to be added to config.json",Ys,go,hd=`Serializes this instance to a Python dictionary. Returns:
<code>Dict[str, Any]</code>: Dictionary of all the attributes that make up this configuration instance.`,Js,ke,jt,Ks,uo,_d=`Removes all attributes from config which correspond to the default config attributes for better readability and
serializes to a Python dictionary.`,fr,Wt,gr,k,Ut,Xs,Le,Yt,Zs,ho,bd="Create configuration from a dictionary.",ei,De,Jt,ti,_o,vd="Create the appropriate quantization method based on configuration.",ni,Pe,Kt,oi,bo,$d="Validate configuration and set defaults.",ri,Qe,Xt,ai,vo,yd="Convert configuration to a dictionary.",ur,Zt,hr,N,en,si,$o,xd="Configuration class for applying BitNet quantization.",ii,Ae,tn,di,yo,qd="Safety checker that arguments are correct",_r,nn,br,E,on,li,xo,Cd="This is a wrapper class about <code>spqr</code> parameters. Refer to the original publication for more details.",mi,He,rn,ci,qo,zd="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",vr,an,$r,F,sn,pi,Co,wd="FineGrainedFP8Config is a configuration class for fine-grained FP8 quantization used mainly for deepseek models.",fi,Me,dn,gi,zo,Td="Safety checker that arguments are correct",yr,ln,xr,mn,cn,qr,pn,Cr,I,fn,ui,wo,kd=`This is a wrapper class about all possible attributes and features that you can play with a model that has been
loaded AutoRound quantization.`,hi,Ne,gn,_i,To,Ld="Safety checker that arguments are correct.",zr,un,wr,Fo,Tr;return Fe=new x({props:{title:"Quantization",local:"quantization",headingTag:"h1"}}),W=new Ed({props:{$$slots:{default:[Id]},$$scope:{ctx:Io}}}),Be=new x({props:{title:"QuantoConfig",local:"transformers.QuantoConfig",headingTag:"h2"}}),Ge=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#L1208"}}),Oe=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#L1237"}}),Se=new x({props:{title:"AqlmConfig",local:"transformers.AqlmConfig",headingTag:"h2"}}),Re=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#L1052"}}),je=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#L1090"}}),We=new x({props:{title:"VptqConfig",local:"transformers.VptqConfig",headingTag:"h2"}}),Ue=new b({props:{name:"class transformers.VptqConfig",anchor:"transformers.VptqConfig",parameters:[{name:"enable_proxy_error",val:": bool = False"},{name:"config_for_layers",val:": typing.Dict[str, typing.Any] = {}"},{name:"shared_layer_config",val:": typing.Dict[str, typing.Any] = {}"},{name:"modules_to_not_convert",val:": typing.Optional[typing.List] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.VptqConfig.enable_proxy_error",description:"<strong>enable_proxy_error</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014; calculate proxy error for each layer",name:"enable_proxy_error"},{anchor:"transformers.VptqConfig.config_for_layers",description:"<strong>config_for_layers</strong> (<code>Dict</code>, <em>optional</em>, defaults to <code>{}</code>) &#x2014; quantization params for each layer",name:"config_for_layers"},{anchor:"transformers.VptqConfig.shared_layer_config",description:"<strong>shared_layer_config</strong> (<code>Dict</code>, <em>optional</em>, defaults to <code>{}</code>) &#x2014; shared quantization params among layers",name:"shared_layer_config"},{anchor:"transformers.VptqConfig.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"},{anchor:"transformers.VptqConfig.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#L1167"}}),Ye=new b({props:{name:"post_init",anchor:"transformers.VptqConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1198"}}),Je=new x({props:{title:"AwqConfig",local:"transformers.AwqConfig",headingTag:"h2"}}),Ke=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#L875"}}),Xe=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#L944"}}),Ze=new x({props:{title:"EetqConfig",local:"transformers.EetqConfig",headingTag:"h2"}}),et=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#L1249"}}),tt=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#L1274"}}),nt=new x({props:{title:"GPTQConfig",local:"transformers.GPTQConfig",headingTag:"h2"}}),ot=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:"checkpoint_format",val:": str = 'gptq'"},{name:"meta",val:": typing.Optional[typing.Dict[str, typing.Any]] = None"},{name:"backend",val:": typing.Optional[str] = None"},{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 symmetric 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.checkpoint_format",description:`<strong>checkpoint_format</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;gptq&quot;</code>) &#x2014;
GPTQ weight format. <code>gptq</code>(v1) is supported by both gptqmodel and auto-gptq. <code>gptq_v2</code> is gptqmodel only.`,name:"checkpoint_format"},{anchor:"transformers.GPTQConfig.meta",description:`<strong>meta</strong> (<code>Dict[str, any]</code>, <em>optional</em>) &#x2014;
Properties, such as tooling:version, that do not directly contributes to quantization or quant inference are stored in meta.
i.e. <code>meta.quantizer</code>: [&#x201C;optimum:<em>version</em>&#x201D;, &#x201C;gptqmodel:<em>version</em>&#x201D;]`,name:"meta"},{anchor:"transformers.GPTQConfig.backend",description:`<strong>backend</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Controls which gptq kernel to be used. Valid values for gptqmodel are <code>auto</code>, <code>auto_trainable</code> and more. For auto-gptq, only
valid value is None and <code>auto_trainable</code>. Ref gptqmodel backends: <a href="https://github.com/ModelCloud/GPTQModel/blob/main/gptqmodel/utils/backend.py" rel="nofollow">https://github.com/ModelCloud/GPTQModel/blob/main/gptqmodel/utils/backend.py</a>`,name:"backend"},{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. Auto-gptq only.`,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#L638"}}),rt=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#L860"}}),at=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#L771"}}),st=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#L851"}}),it=new x({props:{title:"BitsAndBytesConfig",local:"transformers.BitsAndBytesConfig",headingTag:"h2"}}),dt=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#L402"}}),lt=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#L573"}}),mt=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#L536"}}),ct=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#L579"}}),pt=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#L610",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>
`}}),ft=new x({props:{title:"HfQuantizer",local:"transformers.quantizers.HfQuantizer",headingTag:"h2"}}),gt=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#L32"}}),ut=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#L168"}}),ht=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#L94"}}),_t=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#L172"}}),bt=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#L187"}}),vt=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#L240"}}),$t=new b({props:{name:"get_cuda_warm_up_factor",anchor:"transformers.quantizers.HfQuantizer.get_cuda_warm_up_factor",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L255"}}),yt=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#L149"}}),xt=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#L227"}}),qt=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#L209"}}),Ct=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#L82"}}),zt=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#L137"}}),wt=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#L106"}}),Tt=new b({props:{name:"update_missing_keys_after_loading",anchor:"transformers.quantizers.HfQuantizer.update_missing_keys_after_loading",parameters:[{name:"model",val:""},{name:"missing_keys",val:": typing.List[str]"},{name:"prefix",val:": str"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.update_missing_keys_after_loading.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#L126"}}),kt=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#L70"}}),Lt=new b({props:{name:"update_tp_plan",anchor:"transformers.quantizers.HfQuantizer.update_tp_plan",parameters:[{name:"config",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L205"}}),Dt=new b({props:{name:"update_unexpected_keys",anchor:"transformers.quantizers.HfQuantizer.update_unexpected_keys",parameters:[{name:"model",val:""},{name:"unexpected_keys",val:": typing.List[str]"},{name:"prefix",val:": str"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.update_unexpected_keys.unexpected_keys",description:`<strong>unexpected_keys</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
The list of unexpected keys in the checkpoint compared to the state dict of the model`,name:"unexpected_keys"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L116"}}),Pt=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#L197"}}),Qt=new x({props:{title:"HiggsConfig",local:"transformers.HiggsConfig",headingTag:"h2"}}),At=new b({props:{name:"class transformers.HiggsConfig",anchor:"transformers.HiggsConfig",parameters:[{name:"bits",val:": int = 4"},{name:"p",val:": int = 2"},{name:"modules_to_not_convert",val:": typing.Optional[typing.List[str]] = None"},{name:"hadamard_size",val:": int = 512"},{name:"group_size",val:": int = 256"},{name:"tune_metadata",val:": typing.Optional[typing.Dict[str, typing.Any]] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.HiggsConfig.bits",description:`<strong>bits</strong> (int, <em>optional</em>, defaults to 4) &#x2014;
Number of bits to use for quantization. Can be 2, 3 or 4. Default is 4.`,name:"bits"},{anchor:"transformers.HiggsConfig.p",description:`<strong>p</strong> (int, <em>optional</em>, defaults to 2) &#x2014;
Quantization grid dimension. 1 and 2 are supported. 2 is always better in practice. Default is 2.`,name:"p"},{anchor:"transformers.HiggsConfig.modules_to_not_convert",description:`<strong>modules_to_not_convert</strong> (<code>list</code>, <em>optional</em>, default to [&#x201C;lm_head&#x201D;]) &#x2014;
List of linear layers that should not be quantized.`,name:"modules_to_not_convert"},{anchor:"transformers.HiggsConfig.hadamard_size",description:`<strong>hadamard_size</strong> (int, <em>optional</em>, defaults to 512) &#x2014;
Hadamard size for the HIGGS method. Default is 512. Input dimension of matrices is padded to this value. Decreasing this below 512 will reduce the quality of the quantization.`,name:"hadamard_size"},{anchor:"transformers.HiggsConfig.group_size",description:`<strong>group_size</strong> (int, <em>optional</em>, defaults to 256) &#x2014;
Group size for the HIGGS method. Can be 64, 128 or 256. Decreasing it barely affects the performance. Default is 256. Must be a divisor of hadamard_size.`,name:"group_size"},{anchor:"transformers.HiggsConfig.tune_metadata",description:`<strong>tune_metadata</strong> (&#x2018;dict&#x2019;, <em>optional</em>, defaults to {}) &#x2014;
Module-wise metadata (gemm block shapes, GPU metadata, etc.) for saving the kernel tuning results. Default is an empty dictionary. Is set automatically during tuning.`,name:"tune_metadata"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1497"}}),Ht=new b({props:{name:"post_init",anchor:"transformers.HiggsConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1539"}}),Mt=new x({props:{title:"HqqConfig",local:"transformers.HqqConfig",headingTag:"h2"}}),Nt=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 divisible 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#L277"}}),Et=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#L355"}}),Ft=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#L349"}}),It=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#L380",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>
`}}),Vt=new x({props:{title:"FbgemmFp8Config",local:"transformers.FbgemmFp8Config",headingTag:"h2"}}),Bt=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#L1466"}}),Gt=new x({props:{title:"CompressedTensorsConfig",local:"transformers.CompressedTensorsConfig",headingTag:"h2"}}),Ot=new b({props:{name:"class transformers.CompressedTensorsConfig",anchor:"transformers.CompressedTensorsConfig",parameters:[{name:"config_groups",val:": typing.Optional[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.Optional[typing.Dict[str, typing.Any]] = None"},{name:"quant_method",val:": str = 'compressed-tensors'"},{name:"run_compressed",val:": bool = True"},{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. Set <code>run_compressed</code> True to execute model as the
compressed format if not <code>dense</code>`,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"},{anchor:"transformers.CompressedTensorsConfig.run_compressed",description:`<strong>run_compressed</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014; alter submodules (usually linear) in order to
emulate compressed model execution if True, otherwise use default submodule`,name:"run_compressed"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1283"}}),St=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#L1371",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>
`}}),Rt=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#L1399"}}),jt=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#L1419",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>
`}}),Wt=new x({props:{title:"TorchAoConfig",local:"transformers.TorchAoConfig",headingTag:"h2"}}),Ut=new b({props:{name:"class transformers.TorchAoConfig",anchor:"transformers.TorchAoConfig",parameters:[{name:"quant_type",val:": typing.Union[str, ForwardRef('AOBaseConfig')]"},{name:"modules_to_not_convert",val:": typing.Optional[typing.List] = None"},{name:"include_input_output_embeddings",val:": bool = False"},{name:"untie_embedding_weights",val:": bool = False"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1553"}}),Yt=new b({props:{name:"from_dict",anchor:"transformers.TorchAoConfig.from_dict",parameters:[{name:"config_dict",val:""},{name:"return_unused_kwargs",val:" = False"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1752"}}),Jt=new b({props:{name:"get_apply_tensor_subclass",anchor:"transformers.TorchAoConfig.get_apply_tensor_subclass",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1704"}}),Kt=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#L1642"}}),Xt=new b({props:{name:"to_dict",anchor:"transformers.TorchAoConfig.to_dict",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1724"}}),Zt=new x({props:{title:"BitNetQuantConfig",local:"transformers.BitNetQuantConfig",headingTag:"h2"}}),en=new b({props:{name:"class transformers.BitNetQuantConfig",anchor:"transformers.BitNetQuantConfig",parameters:[{name:"modules_to_not_convert",val:": typing.Optional[typing.List] = None"},{name:"linear_class",val:": typing.Optional[str] = 'bitlinear'"},{name:"quantization_mode",val:": typing.Optional[str] = 'offline'"},{name:"use_rms_norm",val:": typing.Optional[bool] = False"},{name:"rms_norm_eps",val:": typing.Optional[float] = 1e-06"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.BitNetQuantConfig.modules_to_not_convert",description:`<strong>modules_to_not_convert</strong> (<code>Optional[List]</code>, <em>optional</em>) &#x2014;
Optionally, provides a list of full paths of <code>nn.Linear</code> weight parameters
that shall not be quantized. Defaults to None.`,name:"modules_to_not_convert"},{anchor:"transformers.BitNetQuantConfig.linear_class",description:`<strong>linear_class</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;bitlinear&quot;</code>) &#x2014;
The type of linear class to use. Can be either <code>bitlinear</code> or <code>autobitlinear</code>.`,name:"linear_class"},{anchor:"transformers.BitNetQuantConfig.quantization_mode",description:`<strong>quantization_mode</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;offline&quot;</code>) &#x2014;
The quantization mode to use. Can be either <code>online</code> or <code>offline</code>.
In <code>online</code> mode, the weight quantization parameters are calculated dynamically
during each forward pass (e.g., based on the current weight values). This can
adapt to weight changes during training (Quantization-Aware Training - QAT).
In <code>offline</code> mode, quantization parameters are pre-calculated <em>before</em> inference.
These parameters are then fixed and loaded into the quantized model. This
generally results in lower runtime overhead compared to online quantization.`,name:"quantization_mode"},{anchor:"transformers.BitNetQuantConfig.use_rms_norm",description:`<strong>use_rms_norm</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to apply RMSNorm on the activations before quantization. This matches the original BitNet paper&#x2019;s approach
of normalizing activations before quantization/packing.`,name:"use_rms_norm"},{anchor:"transformers.BitNetQuantConfig.rms_norm_eps",description:`<strong>rms_norm_eps</strong> (<code>float</code>, <em>optional</em>, defaults to 1e-06) &#x2014;
The epsilon value used in the RMSNorm layer for numerical stability.`,name:"rms_norm_eps"},{anchor:"transformers.BitNetQuantConfig.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
Additional keyword arguments that may be used by specific quantization
backends or future versions.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1777"}}),tn=new b({props:{name:"post_init",anchor:"transformers.BitNetQuantConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1827"}}),nn=new x({props:{title:"SpQRConfig",local:"transformers.SpQRConfig",headingTag:"h2"}}),on=new b({props:{name:"class transformers.SpQRConfig",anchor:"transformers.SpQRConfig",parameters:[{name:"bits",val:": int = 3"},{name:"beta1",val:": int = 16"},{name:"beta2",val:": int = 16"},{name:"shapes",val:": typing.Optional[typing.Dict[str, int]] = None"},{name:"modules_to_not_convert",val:": typing.Optional[typing.List[str]] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.SpQRConfig.bits",description:`<strong>bits</strong> (<code>int</code>, <em>optional</em>, defaults to 3) &#x2014;
Specifies the bit count for the weights and first order zero-points and scales.
Currently only bits = 3 is supported.`,name:"bits"},{anchor:"transformers.SpQRConfig.beta1",description:`<strong>beta1</strong> (<code>int</code>, <em>optional</em>, defaults to 16) &#x2014;
SpQR tile width. Currently only beta1 = 16 is supported.`,name:"beta1"},{anchor:"transformers.SpQRConfig.beta2",description:`<strong>beta2</strong> (<code>int</code>, <em>optional</em>, defaults to 16) &#x2014;
SpQR tile height. Currently only beta2 = 16 is supported.`,name:"beta2"},{anchor:"transformers.SpQRConfig.shapes",description:`<strong>shapes</strong> (<code>Optional</code>, <em>optional</em>) &#x2014;
A dictionary holding the shape of each object. We need this because it&#x2019;s impossible
to deduce the exact size of the parameters just from bits, beta1, beta2.`,name:"shapes"},{anchor:"transformers.SpQRConfig.modules_to_not_convert",description:`<strong>modules_to_not_convert</strong> (<code>Optional[List[str]]</code>, <em>optional</em>) &#x2014;
Optionally, provides a list of full paths of <code>nn.Linear</code> weight parameters that shall not be quantized.
Defaults to None.`,name:"modules_to_not_convert"},{anchor:"transformers.SpQRConfig.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#L1834"}}),rn=new b({props:{name:"post_init",anchor:"transformers.SpQRConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1876"}}),an=new x({props:{title:"FineGrainedFP8Config",local:"transformers.FineGrainedFP8Config",headingTag:"h2"}}),sn=new b({props:{name:"class transformers.FineGrainedFP8Config",anchor:"transformers.FineGrainedFP8Config",parameters:[{name:"activation_scheme",val:": str = 'dynamic'"},{name:"weight_block_size",val:": typing.Tuple[int, int] = (128, 128)"},{name:"modules_to_not_convert",val:": typing.Optional[typing.List] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.FineGrainedFP8Config.activation_scheme",description:`<strong>activation_scheme</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;dynamic&quot;</code>) &#x2014;
The scheme used for activation, the defaults and only support scheme for now is &#x201C;dynamic&#x201D;.`,name:"activation_scheme"},{anchor:"transformers.FineGrainedFP8Config.weight_block_size",description:`<strong>weight_block_size</strong> (<code>typing.Tuple[int, int]</code>, <em>optional</em>, defaults to <code>(128, 128)</code>) &#x2014;
The size of the weight blocks for quantization, default is (128, 128).`,name:"weight_block_size"},{anchor:"transformers.FineGrainedFP8Config.modules_to_not_convert",description:`<strong>modules_to_not_convert</strong> (<code>list</code>, <em>optional</em>) &#x2014;
A list of module names that should not be converted during quantization.`,name:"modules_to_not_convert"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1897"}}),dn=new b({props:{name:"post_init",anchor:"transformers.FineGrainedFP8Config.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1924"}}),ln=new x({props:{title:"QuarkConfig",local:"transformers.QuarkConfig",headingTag:"h2"}}),cn=new b({props:{name:"class transformers.QuarkConfig",anchor:"transformers.QuarkConfig",parameters:[{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1937"}}),pn=new x({props:{title:"AutoRoundConfig",local:"transformers.AutoRoundConfig",headingTag:"h2"}}),fn=new b({props:{name:"class transformers.AutoRoundConfig",anchor:"transformers.AutoRoundConfig",parameters:[{name:"bits",val:": int = 4"},{name:"group_size",val:": int = 128"},{name:"sym",val:": bool = True"},{name:"backend",val:": str = 'auto'"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.AutoRoundConfig.bits",description:`<strong>bits</strong> (<code>int</code>, <em>optional</em>, defaults to 4) &#x2014;
The number of bits to quantize to, supported numbers are (2, 3, 4, 8).`,name:"bits"},{anchor:"transformers.AutoRoundConfig.group_size",description:"<strong>group_size</strong> (<code>int</code>, <em>optional</em>, defaults to 128) &#x2014; Group-size value",name:"group_size"},{anchor:"transformers.AutoRoundConfig.sym",description:"<strong>sym</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014; Symmetric quantization or not",name:"sym"},{anchor:"transformers.AutoRoundConfig.backend",description:'<strong>backend</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;auto&quot;</code>) &#x2014; The kernel to use, e.g., ipex,marlin, exllamav2, triton, etc. Ref. <a href="https://github.com/intel/auto-round?tab=readme-ov-file#specify-backend" rel="nofollow">https://github.com/intel/auto-round?tab=readme-ov-file#specify-backend</a>',name:"backend"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L208"}}),gn=new b({props:{name:"post_init",anchor:"transformers.AutoRoundConfig.post_init",parameters:[],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L240"}}),un=new Fd({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/en/main_classes/quantization.md"}}),{c(){q=r("meta"),Ee=n(),L=r("p"),hn=n(),d(Fe.$$.fragment),Vo=n(),Ie=r("p"),Ie.textContent=bi,Bo=n(),Ve=r("p"),Ve.innerHTML=vi,Go=n(),d(W.$$.fragment),Oo=n(),d(Be.$$.fragment),So=n(),D=r("div"),d(Ge.$$.fragment),ba=n(),_n=r("p"),_n.innerHTML=$i,va=n(),U=r("div"),d(Oe.$$.fragment),$a=n(),bn=r("p"),bn.textContent=yi,Ro=n(),d(Se.$$.fragment),jo=n(),P=r("div"),d(Re.$$.fragment),ya=n(),vn=r("p"),vn.innerHTML=xi,xa=n(),Y=r("div"),d(je.$$.fragment),qa=n(),$n=r("p"),$n.textContent=qi,Wo=n(),d(We.$$.fragment),Uo=n(),Q=r("div"),d(Ue.$$.fragment),Ca=n(),yn=r("p"),yn.innerHTML=Ci,za=n(),J=r("div"),d(Ye.$$.fragment),wa=n(),xn=r("p"),xn.textContent=zi,Yo=n(),d(Je.$$.fragment),Jo=n(),A=r("div"),d(Ke.$$.fragment),Ta=n(),qn=r("p"),qn.innerHTML=wi,ka=n(),K=r("div"),d(Xe.$$.fragment),La=n(),Cn=r("p"),Cn.textContent=Ti,Ko=n(),d(Ze.$$.fragment),Xo=n(),H=r("div"),d(et.$$.fragment),Da=n(),zn=r("p"),zn.innerHTML=ki,Pa=n(),X=r("div"),d(tt.$$.fragment),Qa=n(),wn=r("p"),wn.textContent=Li,Zo=n(),d(nt.$$.fragment),er=n(),z=r("div"),d(ot.$$.fragment),Aa=n(),Tn=r("p"),Tn.innerHTML=Di,Ha=n(),Z=r("div"),d(rt.$$.fragment),Ma=n(),kn=r("p"),kn.textContent=Pi,Na=n(),ee=r("div"),d(at.$$.fragment),Ea=n(),Ln=r("p"),Ln.textContent=Qi,Fa=n(),te=r("div"),d(st.$$.fragment),Ia=n(),Dn=r("p"),Dn.textContent=Ai,tr=n(),d(it.$$.fragment),nr=n(),y=r("div"),d(dt.$$.fragment),Va=n(),Pn=r("p"),Pn.innerHTML=Hi,Ba=n(),Qn=r("p"),Qn.innerHTML=Mi,Ga=n(),An=r("p"),An.innerHTML=Ni,Oa=n(),ne=r("div"),d(lt.$$.fragment),Sa=n(),Hn=r("p"),Hn.innerHTML=Ei,Ra=n(),oe=r("div"),d(mt.$$.fragment),ja=n(),Mn=r("p"),Mn.textContent=Fi,Wa=n(),re=r("div"),d(ct.$$.fragment),Ua=n(),Nn=r("p"),Nn.innerHTML=Ii,Ya=n(),ae=r("div"),d(pt.$$.fragment),Ja=n(),En=r("p"),En.textContent=Vi,or=n(),d(ft.$$.fragment),rr=n(),v=r("div"),d(gt.$$.fragment),Ka=n(),Fn=r("p"),Fn.textContent=Bi,Xa=n(),In=r("p"),In.innerHTML=Gi,Za=n(),se=r("div"),d(ut.$$.fragment),es=n(),Vn=r("p"),Vn.textContent=Oi,ts=n(),ie=r("div"),d(ht.$$.fragment),ns=n(),Bn=r("p"),Bn.innerHTML=Si,os=n(),de=r("div"),d(_t.$$.fragment),rs=n(),Gn=r("p"),Gn.textContent=Ri,as=n(),le=r("div"),d(bt.$$.fragment),ss=n(),On=r("p"),On.textContent=ji,is=n(),me=r("div"),d(vt.$$.fragment),ds=n(),Sn=r("p"),Sn.textContent=Wi,ls=n(),ce=r("div"),d($t.$$.fragment),ms=n(),Rn=r("p"),Rn.innerHTML=Ui,cs=n(),pe=r("div"),d(yt.$$.fragment),ps=n(),jn=r("p"),jn.innerHTML=Yi,fs=n(),fe=r("div"),d(xt.$$.fragment),gs=n(),Wn=r("p"),Wn.innerHTML=Ji,us=n(),ge=r("div"),d(qt.$$.fragment),hs=n(),Un=r("p"),Un.innerHTML=Ki,_s=n(),ue=r("div"),d(Ct.$$.fragment),bs=n(),Yn=r("p"),Yn.innerHTML=Xi,vs=n(),he=r("div"),d(zt.$$.fragment),$s=n(),Jn=r("p"),Jn.innerHTML=Zi,ys=n(),_e=r("div"),d(wt.$$.fragment),xs=n(),Kn=r("p"),Kn.innerHTML=ed,qs=n(),be=r("div"),d(Tt.$$.fragment),Cs=n(),Xn=r("p"),Xn.innerHTML=td,zs=n(),ve=r("div"),d(kt.$$.fragment),ws=n(),Zn=r("p"),Zn.textContent=nd,Ts=n(),$e=r("div"),d(Lt.$$.fragment),ks=n(),eo=r("p"),eo.textContent=od,Ls=n(),ye=r("div"),d(Dt.$$.fragment),Ds=n(),to=r("p"),to.innerHTML=rd,Ps=n(),xe=r("div"),d(Pt.$$.fragment),Qs=n(),no=r("p"),no.innerHTML=ad,ar=n(),d(Qt.$$.fragment),sr=n(),M=r("div"),d(At.$$.fragment),As=n(),oo=r("p"),oo.textContent=sd,Hs=n(),qe=r("div"),d(Ht.$$.fragment),Ms=n(),ro=r("p"),ro.textContent=id,ir=n(),d(Mt.$$.fragment),dr=n(),w=r("div"),d(Nt.$$.fragment),Ns=n(),ao=r("p"),ao.textContent=dd,Es=n(),Ce=r("div"),d(Et.$$.fragment),Fs=n(),so=r("p"),so.textContent=ld,Is=n(),ze=r("div"),d(Ft.$$.fragment),Vs=n(),io=r("p"),io.textContent=md,Bs=n(),we=r("div"),d(It.$$.fragment),Gs=n(),lo=r("p"),lo.textContent=cd,lr=n(),d(Vt.$$.fragment),mr=n(),R=r("div"),d(Bt.$$.fragment),Os=n(),mo=r("p"),mo.textContent=pd,cr=n(),d(Gt.$$.fragment),pr=n(),T=r("div"),d(Ot.$$.fragment),Ss=n(),co=r("p"),co.innerHTML=fd,Rs=n(),Te=r("div"),d(St.$$.fragment),js=n(),po=r("p"),po.innerHTML=gd,Ws=n(),V=r("div"),d(Rt.$$.fragment),Us=n(),fo=r("p"),fo.textContent=ud,Ys=n(),go=r("p"),go.innerHTML=hd,Js=n(),ke=r("div"),d(jt.$$.fragment),Ks=n(),uo=r("p"),uo.textContent=_d,fr=n(),d(Wt.$$.fragment),gr=n(),k=r("div"),d(Ut.$$.fragment),Xs=n(),Le=r("div"),d(Yt.$$.fragment),Zs=n(),ho=r("p"),ho.textContent=bd,ei=n(),De=r("div"),d(Jt.$$.fragment),ti=n(),_o=r("p"),_o.textContent=vd,ni=n(),Pe=r("div"),d(Kt.$$.fragment),oi=n(),bo=r("p"),bo.textContent=$d,ri=n(),Qe=r("div"),d(Xt.$$.fragment),ai=n(),vo=r("p"),vo.textContent=yd,ur=n(),d(Zt.$$.fragment),hr=n(),N=r("div"),d(en.$$.fragment),si=n(),$o=r("p"),$o.textContent=xd,ii=n(),Ae=r("div"),d(tn.$$.fragment),di=n(),yo=r("p"),yo.textContent=qd,_r=n(),d(nn.$$.fragment),br=n(),E=r("div"),d(on.$$.fragment),li=n(),xo=r("p"),xo.innerHTML=Cd,mi=n(),He=r("div"),d(rn.$$.fragment),ci=n(),qo=r("p"),qo.textContent=zd,vr=n(),d(an.$$.fragment),$r=n(),F=r("div"),d(sn.$$.fragment),pi=n(),Co=r("p"),Co.textContent=wd,fi=n(),Me=r("div"),d(dn.$$.fragment),gi=n(),zo=r("p"),zo.textContent=Td,yr=n(),d(ln.$$.fragment),xr=n(),mn=r("div"),d(cn.$$.fragment),qr=n(),d(pn.$$.fragment),Cr=n(),I=r("div"),d(fn.$$.fragment),ui=n(),wo=r("p"),wo.textContent=kd,hi=n(),Ne=r("div"),d(gn.$$.fragment),_i=n(),To=r("p"),To.textContent=Ld,zr=n(),d(un.$$.fragment),wr=n(),Fo=r("p"),this.h()},l(e){const i=Nd("svelte-u9bgzb",document.head);q=a(i,"META",{name:!0,content:!0}),i.forEach(s),Ee=o(e),L=a(e,"P",{}),h(L).forEach(s),hn=o(e),l(Fe.$$.fragment,e),Vo=o(e),Ie=a(e,"P",{"data-svelte-h":!0}),g(Ie)!=="svelte-1hsjm7z"&&(Ie.textContent=bi),Bo=o(e),Ve=a(e,"P",{"data-svelte-h":!0}),g(Ve)!=="svelte-bnel0f"&&(Ve.innerHTML=vi),Go=o(e),l(W.$$.fragment,e),Oo=o(e),l(Be.$$.fragment,e),So=o(e),D=a(e,"DIV",{class:!0});var j=h(D);l(Ge.$$.fragment,j),ba=o(j),_n=a(j,"P",{"data-svelte-h":!0}),g(_n)!=="svelte-b8v0f"&&(_n.innerHTML=$i),va=o(j),U=a(j,"DIV",{class:!0});var kr=h(U);l(Oe.$$.fragment,kr),$a=o(kr),bn=a(kr,"P",{"data-svelte-h":!0}),g(bn)!=="svelte-1ozftb6"&&(bn.textContent=yi),kr.forEach(s),j.forEach(s),Ro=o(e),l(Se.$$.fragment,e),jo=o(e),P=a(e,"DIV",{class:!0});var ko=h(P);l(Re.$$.fragment,ko),ya=o(ko),vn=a(ko,"P",{"data-svelte-h":!0}),g(vn)!=="svelte-1s7ccdx"&&(vn.innerHTML=xi),xa=o(ko),Y=a(ko,"DIV",{class:!0});var Lr=h(Y);l(je.$$.fragment,Lr),qa=o(Lr),$n=a(Lr,"P",{"data-svelte-h":!0}),g($n)!=="svelte-gy26u4"&&($n.textContent=qi),Lr.forEach(s),ko.forEach(s),Wo=o(e),l(We.$$.fragment,e),Uo=o(e),Q=a(e,"DIV",{class:!0});var Lo=h(Q);l(Ue.$$.fragment,Lo),Ca=o(Lo),yn=a(Lo,"P",{"data-svelte-h":!0}),g(yn)!=="svelte-w1pax1"&&(yn.innerHTML=Ci),za=o(Lo),J=a(Lo,"DIV",{class:!0});var Dr=h(J);l(Ye.$$.fragment,Dr),wa=o(Dr),xn=a(Dr,"P",{"data-svelte-h":!0}),g(xn)!=="svelte-1ozftb6"&&(xn.textContent=zi),Dr.forEach(s),Lo.forEach(s),Yo=o(e),l(Je.$$.fragment,e),Jo=o(e),A=a(e,"DIV",{class:!0});var Do=h(A);l(Ke.$$.fragment,Do),Ta=o(Do),qn=a(Do,"P",{"data-svelte-h":!0}),g(qn)!=="svelte-1i667it"&&(qn.innerHTML=wi),ka=o(Do),K=a(Do,"DIV",{class:!0});var Pr=h(K);l(Xe.$$.fragment,Pr),La=o(Pr),Cn=a(Pr,"P",{"data-svelte-h":!0}),g(Cn)!=="svelte-1ozftb6"&&(Cn.textContent=Ti),Pr.forEach(s),Do.forEach(s),Ko=o(e),l(Ze.$$.fragment,e),Xo=o(e),H=a(e,"DIV",{class:!0});var Po=h(H);l(et.$$.fragment,Po),Da=o(Po),zn=a(Po,"P",{"data-svelte-h":!0}),g(zn)!=="svelte-438k9a"&&(zn.innerHTML=ki),Pa=o(Po),X=a(Po,"DIV",{class:!0});var Qr=h(X);l(tt.$$.fragment,Qr),Qa=o(Qr),wn=a(Qr,"P",{"data-svelte-h":!0}),g(wn)!=="svelte-1ozftb6"&&(wn.textContent=Li),Qr.forEach(s),Po.forEach(s),Zo=o(e),l(nt.$$.fragment,e),er=o(e),z=a(e,"DIV",{class:!0});var B=h(z);l(ot.$$.fragment,B),Aa=o(B),Tn=a(B,"P",{"data-svelte-h":!0}),g(Tn)!=="svelte-i3efvr"&&(Tn.innerHTML=Di),Ha=o(B),Z=a(B,"DIV",{class:!0});var Ar=h(Z);l(rt.$$.fragment,Ar),Ma=o(Ar),kn=a(Ar,"P",{"data-svelte-h":!0}),g(kn)!=="svelte-4jdj2l"&&(kn.textContent=Pi),Ar.forEach(s),Na=o(B),ee=a(B,"DIV",{class:!0});var Hr=h(ee);l(at.$$.fragment,Hr),Ea=o(Hr),Ln=a(Hr,"P",{"data-svelte-h":!0}),g(Ln)!=="svelte-1ozftb6"&&(Ln.textContent=Qi),Hr.forEach(s),Fa=o(B),te=a(B,"DIV",{class:!0});var Mr=h(te);l(st.$$.fragment,Mr),Ia=o(Mr),Dn=a(Mr,"P",{"data-svelte-h":!0}),g(Dn)!=="svelte-pjgtd6"&&(Dn.textContent=Ai),Mr.forEach(s),B.forEach(s),tr=o(e),l(it.$$.fragment,e),nr=o(e),y=a(e,"DIV",{class:!0});var C=h(y);l(dt.$$.fragment,C),Va=o(C),Pn=a(C,"P",{"data-svelte-h":!0}),g(Pn)!=="svelte-woamwr"&&(Pn.innerHTML=Hi),Ba=o(C),Qn=a(C,"P",{"data-svelte-h":!0}),g(Qn)!=="svelte-ki5gis"&&(Qn.innerHTML=Mi),Ga=o(C),An=a(C,"P",{"data-svelte-h":!0}),g(An)!=="svelte-8qsk2q"&&(An.innerHTML=Ni),Oa=o(C),ne=a(C,"DIV",{class:!0});var Nr=h(ne);l(lt.$$.fragment,Nr),Sa=o(Nr),Hn=a(Nr,"P",{"data-svelte-h":!0}),g(Hn)!=="svelte-10tvzyv"&&(Hn.innerHTML=Ei),Nr.forEach(s),Ra=o(C),oe=a(C,"DIV",{class:!0});var Er=h(oe);l(mt.$$.fragment,Er),ja=o(Er),Mn=a(Er,"P",{"data-svelte-h":!0}),g(Mn)!=="svelte-gy26u4"&&(Mn.textContent=Fi),Er.forEach(s),Wa=o(C),re=a(C,"DIV",{class:!0});var Fr=h(re);l(ct.$$.fragment,Fr),Ua=o(Fr),Nn=a(Fr,"P",{"data-svelte-h":!0}),g(Nn)!=="svelte-19bn0da"&&(Nn.innerHTML=Ii),Fr.forEach(s),Ya=o(C),ae=a(C,"DIV",{class:!0});var Ir=h(ae);l(pt.$$.fragment,Ir),Ja=o(Ir),En=a(Ir,"P",{"data-svelte-h":!0}),g(En)!=="svelte-1p6bdas"&&(En.textContent=Vi),Ir.forEach(s),C.forEach(s),or=o(e),l(ft.$$.fragment,e),rr=o(e),v=a(e,"DIV",{class:!0});var $=h(v);l(gt.$$.fragment,$),Ka=o($),Fn=a($,"P",{"data-svelte-h":!0}),g(Fn)!=="svelte-1xvcahi"&&(Fn.textContent=Bi),Xa=o($),In=a($,"P",{"data-svelte-h":!0}),g(In)!=="svelte-twdedh"&&(In.innerHTML=Gi),Za=o($),se=a($,"DIV",{class:!0});var Vr=h(se);l(ut.$$.fragment,Vr),es=o(Vr),Vn=a(Vr,"P",{"data-svelte-h":!0}),g(Vn)!=="svelte-1d4i4z7"&&(Vn.textContent=Oi),Vr.forEach(s),ts=o($),ie=a($,"DIV",{class:!0});var Br=h(ie);l(ht.$$.fragment,Br),ns=o(Br),Bn=a(Br,"P",{"data-svelte-h":!0}),g(Bn)!=="svelte-4t526i"&&(Bn.innerHTML=Si),Br.forEach(s),os=o($),de=a($,"DIV",{class:!0});var Gr=h(de);l(_t.$$.fragment,Gr),rs=o(Gr),Gn=a(Gr,"P",{"data-svelte-h":!0}),g(Gn)!=="svelte-1meey31"&&(Gn.textContent=Ri),Gr.forEach(s),as=o($),le=a($,"DIV",{class:!0});var Or=h(le);l(bt.$$.fragment,Or),ss=o(Or),On=a(Or,"P",{"data-svelte-h":!0}),g(On)!=="svelte-1j1vsi1"&&(On.textContent=ji),Or.forEach(s),is=o($),me=a($,"DIV",{class:!0});var Sr=h(me);l(vt.$$.fragment,Sr),ds=o(Sr),Sn=a(Sr,"P",{"data-svelte-h":!0}),g(Sn)!=="svelte-xh29gb"&&(Sn.textContent=Wi),Sr.forEach(s),ls=o($),ce=a($,"DIV",{class:!0});var Rr=h(ce);l($t.$$.fragment,Rr),ms=o(Rr),Rn=a(Rr,"P",{"data-svelte-h":!0}),g(Rn)!=="svelte-72nwdx"&&(Rn.innerHTML=Ui),Rr.forEach(s),cs=o($),pe=a($,"DIV",{class:!0});var jr=h(pe);l(yt.$$.fragment,jr),ps=o(jr),jn=a(jr,"P",{"data-svelte-h":!0}),g(jn)!=="svelte-i8h8td"&&(jn.innerHTML=Yi),jr.forEach(s),fs=o($),fe=a($,"DIV",{class:!0});var Wr=h(fe);l(xt.$$.fragment,Wr),gs=o(Wr),Wn=a(Wr,"P",{"data-svelte-h":!0}),g(Wn)!=="svelte-1uznum5"&&(Wn.innerHTML=Ji),Wr.forEach(s),us=o($),ge=a($,"DIV",{class:!0});var Ur=h(ge);l(qt.$$.fragment,Ur),hs=o(Ur),Un=a(Ur,"P",{"data-svelte-h":!0}),g(Un)!=="svelte-mjhdcv"&&(Un.innerHTML=Ki),Ur.forEach(s),_s=o($),ue=a($,"DIV",{class:!0});var Yr=h(ue);l(Ct.$$.fragment,Yr),bs=o(Yr),Yn=a(Yr,"P",{"data-svelte-h":!0}),g(Yn)!=="svelte-1e5epn5"&&(Yn.innerHTML=Xi),Yr.forEach(s),vs=o($),he=a($,"DIV",{class:!0});var Jr=h(he);l(zt.$$.fragment,Jr),$s=o(Jr),Jn=a(Jr,"P",{"data-svelte-h":!0}),g(Jn)!=="svelte-1idnt2e"&&(Jn.innerHTML=Zi),Jr.forEach(s),ys=o($),_e=a($,"DIV",{class:!0});var Kr=h(_e);l(wt.$$.fragment,Kr),xs=o(Kr),Kn=a(Kr,"P",{"data-svelte-h":!0}),g(Kn)!=="svelte-13hqoy0"&&(Kn.innerHTML=ed),Kr.forEach(s),qs=o($),be=a($,"DIV",{class:!0});var Xr=h(be);l(Tt.$$.fragment,Xr),Cs=o(Xr),Xn=a(Xr,"P",{"data-svelte-h":!0}),g(Xn)!=="svelte-jj28f7"&&(Xn.innerHTML=td),Xr.forEach(s),zs=o($),ve=a($,"DIV",{class:!0});var Zr=h(ve);l(kt.$$.fragment,Zr),ws=o(Zr),Zn=a(Zr,"P",{"data-svelte-h":!0}),g(Zn)!=="svelte-1kpdm09"&&(Zn.textContent=nd),Zr.forEach(s),Ts=o($),$e=a($,"DIV",{class:!0});var ea=h($e);l(Lt.$$.fragment,ea),ks=o(ea),eo=a(ea,"P",{"data-svelte-h":!0}),g(eo)!=="svelte-114nk8f"&&(eo.textContent=od),ea.forEach(s),Ls=o($),ye=a($,"DIV",{class:!0});var ta=h(ye);l(Dt.$$.fragment,ta),Ds=o(ta),to=a(ta,"P",{"data-svelte-h":!0}),g(to)!=="svelte-o8fcb9"&&(to.innerHTML=rd),ta.forEach(s),Ps=o($),xe=a($,"DIV",{class:!0});var na=h(xe);l(Pt.$$.fragment,na),Qs=o(na),no=a(na,"P",{"data-svelte-h":!0}),g(no)!=="svelte-1lxocan"&&(no.innerHTML=ad),na.forEach(s),$.forEach(s),ar=o(e),l(Qt.$$.fragment,e),sr=o(e),M=a(e,"DIV",{class:!0});var Qo=h(M);l(At.$$.fragment,Qo),As=o(Qo),oo=a(Qo,"P",{"data-svelte-h":!0}),g(oo)!=="svelte-i9o5pz"&&(oo.textContent=sd),Hs=o(Qo),qe=a(Qo,"DIV",{class:!0});var oa=h(qe);l(Ht.$$.fragment,oa),Ms=o(oa),ro=a(oa,"P",{"data-svelte-h":!0}),g(ro)!=="svelte-gy26u4"&&(ro.textContent=id),oa.forEach(s),Qo.forEach(s),ir=o(e),l(Mt.$$.fragment,e),dr=o(e),w=a(e,"DIV",{class:!0});var G=h(w);l(Nt.$$.fragment,G),Ns=o(G),ao=a(G,"P",{"data-svelte-h":!0}),g(ao)!=="svelte-h0fjpw"&&(ao.textContent=dd),Es=o(G),Ce=a(G,"DIV",{class:!0});var ra=h(Ce);l(Et.$$.fragment,ra),Fs=o(ra),so=a(ra,"P",{"data-svelte-h":!0}),g(so)!=="svelte-6lcv9o"&&(so.textContent=ld),ra.forEach(s),Is=o(G),ze=a(G,"DIV",{class:!0});var aa=h(ze);l(Ft.$$.fragment,aa),Vs=o(aa),io=a(aa,"P",{"data-svelte-h":!0}),g(io)!=="svelte-gy26u4"&&(io.textContent=md),aa.forEach(s),Bs=o(G),we=a(G,"DIV",{class:!0});var sa=h(we);l(It.$$.fragment,sa),Gs=o(sa),lo=a(sa,"P",{"data-svelte-h":!0}),g(lo)!=="svelte-1p6bdas"&&(lo.textContent=cd),sa.forEach(s),G.forEach(s),lr=o(e),l(Vt.$$.fragment,e),mr=o(e),R=a(e,"DIV",{class:!0});var ia=h(R);l(Bt.$$.fragment,ia),Os=o(ia),mo=a(ia,"P",{"data-svelte-h":!0}),g(mo)!=="svelte-1a51md3"&&(mo.textContent=pd),ia.forEach(s),cr=o(e),l(Gt.$$.fragment,e),pr=o(e),T=a(e,"DIV",{class:!0});var O=h(T);l(Ot.$$.fragment,O),Ss=o(O),co=a(O,"P",{"data-svelte-h":!0}),g(co)!=="svelte-3h2fkj"&&(co.innerHTML=fd),Rs=o(O),Te=a(O,"DIV",{class:!0});var da=h(Te);l(St.$$.fragment,da),js=o(da),po=a(da,"P",{"data-svelte-h":!0}),g(po)!=="svelte-1sqc0ks"&&(po.innerHTML=gd),da.forEach(s),Ws=o(O),V=a(O,"DIV",{class:!0});var Ao=h(V);l(Rt.$$.fragment,Ao),Us=o(Ao),fo=a(Ao,"P",{"data-svelte-h":!0}),g(fo)!=="svelte-1h5q4kg"&&(fo.textContent=ud),Ys=o(Ao),go=a(Ao,"P",{"data-svelte-h":!0}),g(go)!=="svelte-4kfdpu"&&(go.innerHTML=hd),Ao.forEach(s),Js=o(O),ke=a(O,"DIV",{class:!0});var la=h(ke);l(jt.$$.fragment,la),Ks=o(la),uo=a(la,"P",{"data-svelte-h":!0}),g(uo)!=="svelte-1p6bdas"&&(uo.textContent=_d),la.forEach(s),O.forEach(s),fr=o(e),l(Wt.$$.fragment,e),gr=o(e),k=a(e,"DIV",{class:!0});var S=h(k);l(Ut.$$.fragment,S),Xs=o(S),Le=a(S,"DIV",{class:!0});var ma=h(Le);l(Yt.$$.fragment,ma),Zs=o(ma),ho=a(ma,"P",{"data-svelte-h":!0}),g(ho)!=="svelte-x30fz7"&&(ho.textContent=bd),ma.forEach(s),ei=o(S),De=a(S,"DIV",{class:!0});var ca=h(De);l(Jt.$$.fragment,ca),ti=o(ca),_o=a(ca,"P",{"data-svelte-h":!0}),g(_o)!=="svelte-1gkr97u"&&(_o.textContent=vd),ca.forEach(s),ni=o(S),Pe=a(S,"DIV",{class:!0});var pa=h(Pe);l(Kt.$$.fragment,pa),oi=o(pa),bo=a(pa,"P",{"data-svelte-h":!0}),g(bo)!=="svelte-ewtypr"&&(bo.textContent=$d),pa.forEach(s),ri=o(S),Qe=a(S,"DIV",{class:!0});var fa=h(Qe);l(Xt.$$.fragment,fa),ai=o(fa),vo=a(fa,"P",{"data-svelte-h":!0}),g(vo)!=="svelte-11q54ot"&&(vo.textContent=yd),fa.forEach(s),S.forEach(s),ur=o(e),l(Zt.$$.fragment,e),hr=o(e),N=a(e,"DIV",{class:!0});var Ho=h(N);l(en.$$.fragment,Ho),si=o(Ho),$o=a(Ho,"P",{"data-svelte-h":!0}),g($o)!=="svelte-tlgice"&&($o.textContent=xd),ii=o(Ho),Ae=a(Ho,"DIV",{class:!0});var ga=h(Ae);l(tn.$$.fragment,ga),di=o(ga),yo=a(ga,"P",{"data-svelte-h":!0}),g(yo)!=="svelte-1ozftb6"&&(yo.textContent=qd),ga.forEach(s),Ho.forEach(s),_r=o(e),l(nn.$$.fragment,e),br=o(e),E=a(e,"DIV",{class:!0});var Mo=h(E);l(on.$$.fragment,Mo),li=o(Mo),xo=a(Mo,"P",{"data-svelte-h":!0}),g(xo)!=="svelte-1sf4vkr"&&(xo.innerHTML=Cd),mi=o(Mo),He=a(Mo,"DIV",{class:!0});var ua=h(He);l(rn.$$.fragment,ua),ci=o(ua),qo=a(ua,"P",{"data-svelte-h":!0}),g(qo)!=="svelte-gy26u4"&&(qo.textContent=zd),ua.forEach(s),Mo.forEach(s),vr=o(e),l(an.$$.fragment,e),$r=o(e),F=a(e,"DIV",{class:!0});var No=h(F);l(sn.$$.fragment,No),pi=o(No),Co=a(No,"P",{"data-svelte-h":!0}),g(Co)!=="svelte-1inuoy"&&(Co.textContent=wd),fi=o(No),Me=a(No,"DIV",{class:!0});var ha=h(Me);l(dn.$$.fragment,ha),gi=o(ha),zo=a(ha,"P",{"data-svelte-h":!0}),g(zo)!=="svelte-1ozftb6"&&(zo.textContent=Td),ha.forEach(s),No.forEach(s),yr=o(e),l(ln.$$.fragment,e),xr=o(e),mn=a(e,"DIV",{class:!0});var Dd=h(mn);l(cn.$$.fragment,Dd),Dd.forEach(s),qr=o(e),l(pn.$$.fragment,e),Cr=o(e),I=a(e,"DIV",{class:!0});var Eo=h(I);l(fn.$$.fragment,Eo),ui=o(Eo),wo=a(Eo,"P",{"data-svelte-h":!0}),g(wo)!=="svelte-g63l5u"&&(wo.textContent=kd),hi=o(Eo),Ne=a(Eo,"DIV",{class:!0});var _a=h(Ne);l(gn.$$.fragment,_a),_i=o(_a),To=a(_a,"P",{"data-svelte-h":!0}),g(To)!=="svelte-prp48c"&&(To.textContent=Ld),_a.forEach(s),Eo.forEach(s),zr=o(e),l(un.$$.fragment,e),wr=o(e),Fo=a(e,"P",{}),h(Fo).forEach(s),this.h()},h(){_(q,"name","hf:doc:metadata"),_(q,"content",Bd),_(U,"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"),_(Y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(P,"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"),_(Q,"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"),_(A,"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"),_(H,"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"),_(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"),_(z,"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"),_(y,"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"),_(ge,"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"),_(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"),_(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"),_($e,"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"),_(xe,"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"),_(qe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(M,"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"),_(ze,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(we,"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"),_(R,"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"),_(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ke,"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"),_(Le,"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"),_(Pe,"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"),_(k,"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"),_(N,"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"),_(Me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(mn,"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"),_(I,"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,q),u(e,Ee,i),u(e,L,i),u(e,hn,i),m(Fe,e,i),u(e,Vo,i),u(e,Ie,i),u(e,Bo,i),u(e,Ve,i),u(e,Go,i),m(W,e,i),u(e,Oo,i),m(Be,e,i),u(e,So,i),u(e,D,i),m(Ge,D,null),t(D,ba),t(D,_n),t(D,va),t(D,U),m(Oe,U,null),t(U,$a),t(U,bn),u(e,Ro,i),m(Se,e,i),u(e,jo,i),u(e,P,i),m(Re,P,null),t(P,ya),t(P,vn),t(P,xa),t(P,Y),m(je,Y,null),t(Y,qa),t(Y,$n),u(e,Wo,i),m(We,e,i),u(e,Uo,i),u(e,Q,i),m(Ue,Q,null),t(Q,Ca),t(Q,yn),t(Q,za),t(Q,J),m(Ye,J,null),t(J,wa),t(J,xn),u(e,Yo,i),m(Je,e,i),u(e,Jo,i),u(e,A,i),m(Ke,A,null),t(A,Ta),t(A,qn),t(A,ka),t(A,K),m(Xe,K,null),t(K,La),t(K,Cn),u(e,Ko,i),m(Ze,e,i),u(e,Xo,i),u(e,H,i),m(et,H,null),t(H,Da),t(H,zn),t(H,Pa),t(H,X),m(tt,X,null),t(X,Qa),t(X,wn),u(e,Zo,i),m(nt,e,i),u(e,er,i),u(e,z,i),m(ot,z,null),t(z,Aa),t(z,Tn),t(z,Ha),t(z,Z),m(rt,Z,null),t(Z,Ma),t(Z,kn),t(z,Na),t(z,ee),m(at,ee,null),t(ee,Ea),t(ee,Ln),t(z,Fa),t(z,te),m(st,te,null),t(te,Ia),t(te,Dn),u(e,tr,i),m(it,e,i),u(e,nr,i),u(e,y,i),m(dt,y,null),t(y,Va),t(y,Pn),t(y,Ba),t(y,Qn),t(y,Ga),t(y,An),t(y,Oa),t(y,ne),m(lt,ne,null),t(ne,Sa),t(ne,Hn),t(y,Ra),t(y,oe),m(mt,oe,null),t(oe,ja),t(oe,Mn),t(y,Wa),t(y,re),m(ct,re,null),t(re,Ua),t(re,Nn),t(y,Ya),t(y,ae),m(pt,ae,null),t(ae,Ja),t(ae,En),u(e,or,i),m(ft,e,i),u(e,rr,i),u(e,v,i),m(gt,v,null),t(v,Ka),t(v,Fn),t(v,Xa),t(v,In),t(v,Za),t(v,se),m(ut,se,null),t(se,es),t(se,Vn),t(v,ts),t(v,ie),m(ht,ie,null),t(ie,ns),t(ie,Bn),t(v,os),t(v,de),m(_t,de,null),t(de,rs),t(de,Gn),t(v,as),t(v,le),m(bt,le,null),t(le,ss),t(le,On),t(v,is),t(v,me),m(vt,me,null),t(me,ds),t(me,Sn),t(v,ls),t(v,ce),m($t,ce,null),t(ce,ms),t(ce,Rn),t(v,cs),t(v,pe),m(yt,pe,null),t(pe,ps),t(pe,jn),t(v,fs),t(v,fe),m(xt,fe,null),t(fe,gs),t(fe,Wn),t(v,us),t(v,ge),m(qt,ge,null),t(ge,hs),t(ge,Un),t(v,_s),t(v,ue),m(Ct,ue,null),t(ue,bs),t(ue,Yn),t(v,vs),t(v,he),m(zt,he,null),t(he,$s),t(he,Jn),t(v,ys),t(v,_e),m(wt,_e,null),t(_e,xs),t(_e,Kn),t(v,qs),t(v,be),m(Tt,be,null),t(be,Cs),t(be,Xn),t(v,zs),t(v,ve),m(kt,ve,null),t(ve,ws),t(ve,Zn),t(v,Ts),t(v,$e),m(Lt,$e,null),t($e,ks),t($e,eo),t(v,Ls),t(v,ye),m(Dt,ye,null),t(ye,Ds),t(ye,to),t(v,Ps),t(v,xe),m(Pt,xe,null),t(xe,Qs),t(xe,no),u(e,ar,i),m(Qt,e,i),u(e,sr,i),u(e,M,i),m(At,M,null),t(M,As),t(M,oo),t(M,Hs),t(M,qe),m(Ht,qe,null),t(qe,Ms),t(qe,ro),u(e,ir,i),m(Mt,e,i),u(e,dr,i),u(e,w,i),m(Nt,w,null),t(w,Ns),t(w,ao),t(w,Es),t(w,Ce),m(Et,Ce,null),t(Ce,Fs),t(Ce,so),t(w,Is),t(w,ze),m(Ft,ze,null),t(ze,Vs),t(ze,io),t(w,Bs),t(w,we),m(It,we,null),t(we,Gs),t(we,lo),u(e,lr,i),m(Vt,e,i),u(e,mr,i),u(e,R,i),m(Bt,R,null),t(R,Os),t(R,mo),u(e,cr,i),m(Gt,e,i),u(e,pr,i),u(e,T,i),m(Ot,T,null),t(T,Ss),t(T,co),t(T,Rs),t(T,Te),m(St,Te,null),t(Te,js),t(Te,po),t(T,Ws),t(T,V),m(Rt,V,null),t(V,Us),t(V,fo),t(V,Ys),t(V,go),t(T,Js),t(T,ke),m(jt,ke,null),t(ke,Ks),t(ke,uo),u(e,fr,i),m(Wt,e,i),u(e,gr,i),u(e,k,i),m(Ut,k,null),t(k,Xs),t(k,Le),m(Yt,Le,null),t(Le,Zs),t(Le,ho),t(k,ei),t(k,De),m(Jt,De,null),t(De,ti),t(De,_o),t(k,ni),t(k,Pe),m(Kt,Pe,null),t(Pe,oi),t(Pe,bo),t(k,ri),t(k,Qe),m(Xt,Qe,null),t(Qe,ai),t(Qe,vo),u(e,ur,i),m(Zt,e,i),u(e,hr,i),u(e,N,i),m(en,N,null),t(N,si),t(N,$o),t(N,ii),t(N,Ae),m(tn,Ae,null),t(Ae,di),t(Ae,yo),u(e,_r,i),m(nn,e,i),u(e,br,i),u(e,E,i),m(on,E,null),t(E,li),t(E,xo),t(E,mi),t(E,He),m(rn,He,null),t(He,ci),t(He,qo),u(e,vr,i),m(an,e,i),u(e,$r,i),u(e,F,i),m(sn,F,null),t(F,pi),t(F,Co),t(F,fi),t(F,Me),m(dn,Me,null),t(Me,gi),t(Me,zo),u(e,yr,i),m(ln,e,i),u(e,xr,i),u(e,mn,i),m(cn,mn,null),u(e,qr,i),m(pn,e,i),u(e,Cr,i),u(e,I,i),m(fn,I,null),t(I,ui),t(I,wo),t(I,hi),t(I,Ne),m(gn,Ne,null),t(Ne,_i),t(Ne,To),u(e,zr,i),m(un,e,i),u(e,wr,i),u(e,Fo,i),Tr=!0},p(e,[i]){const j={};i&2&&(j.$$scope={dirty:i,ctx:e}),W.$set(j)},i(e){Tr||(c(Fe.$$.fragment,e),c(W.$$.fragment,e),c(Be.$$.fragment,e),c(Ge.$$.fragment,e),c(Oe.$$.fragment,e),c(Se.$$.fragment,e),c(Re.$$.fragment,e),c(je.$$.fragment,e),c(We.$$.fragment,e),c(Ue.$$.fragment,e),c(Ye.$$.fragment,e),c(Je.$$.fragment,e),c(Ke.$$.fragment,e),c(Xe.$$.fragment,e),c(Ze.$$.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(gt.$$.fragment,e),c(ut.$$.fragment,e),c(ht.$$.fragment,e),c(_t.$$.fragment,e),c(bt.$$.fragment,e),c(vt.$$.fragment,e),c($t.$$.fragment,e),c(yt.$$.fragment,e),c(xt.$$.fragment,e),c(qt.$$.fragment,e),c(Ct.$$.fragment,e),c(zt.$$.fragment,e),c(wt.$$.fragment,e),c(Tt.$$.fragment,e),c(kt.$$.fragment,e),c(Lt.$$.fragment,e),c(Dt.$$.fragment,e),c(Pt.$$.fragment,e),c(Qt.$$.fragment,e),c(At.$$.fragment,e),c(Ht.$$.fragment,e),c(Mt.$$.fragment,e),c(Nt.$$.fragment,e),c(Et.$$.fragment,e),c(Ft.$$.fragment,e),c(It.$$.fragment,e),c(Vt.$$.fragment,e),c(Bt.$$.fragment,e),c(Gt.$$.fragment,e),c(Ot.$$.fragment,e),c(St.$$.fragment,e),c(Rt.$$.fragment,e),c(jt.$$.fragment,e),c(Wt.$$.fragment,e),c(Ut.$$.fragment,e),c(Yt.$$.fragment,e),c(Jt.$$.fragment,e),c(Kt.$$.fragment,e),c(Xt.$$.fragment,e),c(Zt.$$.fragment,e),c(en.$$.fragment,e),c(tn.$$.fragment,e),c(nn.$$.fragment,e),c(on.$$.fragment,e),c(rn.$$.fragment,e),c(an.$$.fragment,e),c(sn.$$.fragment,e),c(dn.$$.fragment,e),c(ln.$$.fragment,e),c(cn.$$.fragment,e),c(pn.$$.fragment,e),c(fn.$$.fragment,e),c(gn.$$.fragment,e),c(un.$$.fragment,e),Tr=!0)},o(e){p(Fe.$$.fragment,e),p(W.$$.fragment,e),p(Be.$$.fragment,e),p(Ge.$$.fragment,e),p(Oe.$$.fragment,e),p(Se.$$.fragment,e),p(Re.$$.fragment,e),p(je.$$.fragment,e),p(We.$$.fragment,e),p(Ue.$$.fragment,e),p(Ye.$$.fragment,e),p(Je.$$.fragment,e),p(Ke.$$.fragment,e),p(Xe.$$.fragment,e),p(Ze.$$.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(gt.$$.fragment,e),p(ut.$$.fragment,e),p(ht.$$.fragment,e),p(_t.$$.fragment,e),p(bt.$$.fragment,e),p(vt.$$.fragment,e),p($t.$$.fragment,e),p(yt.$$.fragment,e),p(xt.$$.fragment,e),p(qt.$$.fragment,e),p(Ct.$$.fragment,e),p(zt.$$.fragment,e),p(wt.$$.fragment,e),p(Tt.$$.fragment,e),p(kt.$$.fragment,e),p(Lt.$$.fragment,e),p(Dt.$$.fragment,e),p(Pt.$$.fragment,e),p(Qt.$$.fragment,e),p(At.$$.fragment,e),p(Ht.$$.fragment,e),p(Mt.$$.fragment,e),p(Nt.$$.fragment,e),p(Et.$$.fragment,e),p(Ft.$$.fragment,e),p(It.$$.fragment,e),p(Vt.$$.fragment,e),p(Bt.$$.fragment,e),p(Gt.$$.fragment,e),p(Ot.$$.fragment,e),p(St.$$.fragment,e),p(Rt.$$.fragment,e),p(jt.$$.fragment,e),p(Wt.$$.fragment,e),p(Ut.$$.fragment,e),p(Yt.$$.fragment,e),p(Jt.$$.fragment,e),p(Kt.$$.fragment,e),p(Xt.$$.fragment,e),p(Zt.$$.fragment,e),p(en.$$.fragment,e),p(tn.$$.fragment,e),p(nn.$$.fragment,e),p(on.$$.fragment,e),p(rn.$$.fragment,e),p(an.$$.fragment,e),p(sn.$$.fragment,e),p(dn.$$.fragment,e),p(ln.$$.fragment,e),p(cn.$$.fragment,e),p(pn.$$.fragment,e),p(fn.$$.fragment,e),p(gn.$$.fragment,e),p(un.$$.fragment,e),Tr=!1},d(e){e&&(s(Ee),s(L),s(hn),s(Vo),s(Ie),s(Bo),s(Ve),s(Go),s(Oo),s(So),s(D),s(Ro),s(jo),s(P),s(Wo),s(Uo),s(Q),s(Yo),s(Jo),s(A),s(Ko),s(Xo),s(H),s(Zo),s(er),s(z),s(tr),s(nr),s(y),s(or),s(rr),s(v),s(ar),s(sr),s(M),s(ir),s(dr),s(w),s(lr),s(mr),s(R),s(cr),s(pr),s(T),s(fr),s(gr),s(k),s(ur),s(hr),s(N),s(_r),s(br),s(E),s(vr),s($r),s(F),s(yr),s(xr),s(mn),s(qr),s(Cr),s(I),s(zr),s(wr),s(Fo)),s(q),f(Fe,e),f(W,e),f(Be,e),f(Ge),f(Oe),f(Se,e),f(Re),f(je),f(We,e),f(Ue),f(Ye),f(Je,e),f(Ke),f(Xe),f(Ze,e),f(et),f(tt),f(nt,e),f(ot),f(rt),f(at),f(st),f(it,e),f(dt),f(lt),f(mt),f(ct),f(pt),f(ft,e),f(gt),f(ut),f(ht),f(_t),f(bt),f(vt),f($t),f(yt),f(xt),f(qt),f(Ct),f(zt),f(wt),f(Tt),f(kt),f(Lt),f(Dt),f(Pt),f(Qt,e),f(At),f(Ht),f(Mt,e),f(Nt),f(Et),f(Ft),f(It),f(Vt,e),f(Bt),f(Gt,e),f(Ot),f(St),f(Rt),f(jt),f(Wt,e),f(Ut),f(Yt),f(Jt),f(Kt),f(Xt),f(Zt,e),f(en),f(tn),f(nn,e),f(on),f(rn),f(an,e),f(sn),f(dn),f(ln,e),f(cn),f(pn,e),f(fn),f(gn),f(un,e)}}}const Bd='{"title":"Quantization","local":"quantization","sections":[{"title":"QuantoConfig","local":"transformers.QuantoConfig","sections":[],"depth":2},{"title":"AqlmConfig","local":"transformers.AqlmConfig","sections":[],"depth":2},{"title":"VptqConfig","local":"transformers.VptqConfig","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":"HiggsConfig","local":"transformers.HiggsConfig","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":"BitNetQuantConfig","local":"transformers.BitNetQuantConfig","sections":[],"depth":2},{"title":"SpQRConfig","local":"transformers.SpQRConfig","sections":[],"depth":2},{"title":"FineGrainedFP8Config","local":"transformers.FineGrainedFP8Config","sections":[],"depth":2},{"title":"QuarkConfig","local":"transformers.QuarkConfig","sections":[],"depth":2},{"title":"AutoRoundConfig","local":"transformers.AutoRoundConfig","sections":[],"depth":2}],"depth":1}';function Gd(Io){return Qd(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Yd extends Hd{constructor(q){super(),Md(this,q,Gd,Vd,Pd,{})}}export{Yd as component};
