import{s as is,o as ds,n as ss}from"../chunks/scheduler.bdbef820.js";import{S as ls,i as ms,g as r,s as n,r as d,A as cs,h as a,f as s,c as o,j as h,u as l,x as u,k as _,y as t,a as g,v as m,d as c,t as p,w as f}from"../chunks/index.33f81d56.js";import{T as ps}from"../chunks/Tip.34194030.js";import{D as b}from"../chunks/Docstring.64554317.js";import{C as fs}from"../chunks/CodeBlock.362b34a4.js";import{E as us}from"../chunks/ExampleCodeBlock.4f2252c6.js";import{H as M,E as gs}from"../chunks/EditOnGithub.a9246e21.js";function hs(At){let $,B='모델을 양자화하는 방법은 이 <a href="../quantization">양자화</a> 가이드를 통해 배울 수 있습니다.';return{c(){$=r("p"),$.innerHTML=B},l(z){$=a(z,"P",{"data-svelte-h":!0}),u($)!=="svelte-15225cr"&&($.innerHTML=B)},m(z,L){g(z,$,L)},p:ss,d(z){z&&s($)}}}function _s(At){let $,B="Example:",z,L,P;return L=new fs({props:{code:"cXVhbnRpemF0aW9uX2NvbmZpZyUyMCUzRCUyMFRvcmNoQW9Db25maWcoJTIyaW50NF93ZWlnaHRfb25seSUyMiUyQyUyMGdyb3VwX3NpemUlM0QzMiklMEElMjMlMjBpbnQ0X3dlaWdodF9vbmx5JTIwcXVhbnQlMjBpcyUyMG9ubHklMjB3b3JraW5nJTIwd2l0aCUyMCp0b3JjaC5iZmxvYXQxNiolMjBkdHlwZSUyMHJpZ2h0JTIwbm93JTBBbW9kZWwlMjAlM0QlMjBBdXRvTW9kZWxGb3JDYXVzYWxMTS5mcm9tX3ByZXRyYWluZWQobW9kZWxfaWQlMkMlMjBkZXZpY2VfbWFwJTNEJTIyY3VkYSUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guYmZsb2F0MTYlMkMlMjBxdWFudGl6YXRpb25fY29uZmlnJTNEcXVhbnRpemF0aW9uX2NvbmZpZyk=",highlighted:`quantization_config = TorchAoConfig(<span class="hljs-string">&quot;int4_weight_only&quot;</span>, group_size=<span class="hljs-number">32</span>)
<span class="hljs-comment"># int4_weight_only quant is only working with *torch.bfloat16* dtype right now</span>
model = AutoModelForCausalLM.from_pretrained(model_id, device_map=<span class="hljs-string">&quot;cuda&quot;</span>, torch_dtype=torch.bfloat16, quantization_config=quantization_config)`,wrap:!1}}),{c(){$=r("p"),$.textContent=B,z=n(),d(L.$$.fragment)},l(x){$=a(x,"P",{"data-svelte-h":!0}),u($)!=="svelte-11lpom8"&&($.textContent=B),z=o(x),l(L.$$.fragment,x)},m(x,D){g(x,$,D),g(x,z,D),m(L,x,D),P=!0},p:ss,i(x){P||(c(L.$$.fragment,x),P=!0)},o(x){p(L.$$.fragment,x),P=!1},d(x){x&&(s($),s(z)),f(L,x)}}}function bs(At){let $,B,z,L,P,x,D,ca=`양자화 기법은 가중치와 활성화를 8비트 정수(int8)와 같은 더 낮은 정밀도의 데이터 타입으로 표현함으로써 메모리와 계산 비용을 줄입니다. 이를 통해 일반적으로는 메모리에 올릴 수 없는 더 큰 모델을 로드할 수 있고, 추론 속도를 높일 수 있습니다. Transformers는 AWQ와 GPTQ 양자화 알고리즘을 지원하며, bitsandbytes를 통해 8비트와 4비트 양자화를 지원합니다.
Transformers에서 지원되지 않는 양자화 기법들은 <code>HfQuantizer</code> 클래스를 통해 추가될 수 있습니다.`,Pn,S,Dn,we,Hn,H,Te,Vo,Mt,pa=`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>.`,Bo,U,ke,Fo,Pt,fa="Safety checker that arguments are correct",Qn,Le,En,Q,Ae,Io,Dt,ua="This is a wrapper class about <code>aqlm</code> parameters.",jo,R,Me,Go,Ht,ga="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",Nn,Pe,Vn,E,De,Wo,Qt,ha="This is a wrapper class about <code>vptq</code> parameters.",Oo,Y,He,So,Et,_a="Safety checker that arguments are correct",Bn,Qe,Fn,N,Ee,Uo,Nt,ba=`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.`,Ro,Z,Ne,Yo,Vt,va="Safety checker that arguments are correct",In,Ve,jn,V,Be,Zo,Bt,ya=`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>.`,Xo,X,Fe,Jo,Ft,$a="Safety checker that arguments are correct",Gn,Ie,Wn,w,je,Ko,It,qa=`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.`,er,J,Ge,tr,jt,xa="Get compatible class with optimum gptq config dict",nr,K,We,or,Gt,za="Safety checker that arguments are correct",rr,ee,Oe,ar,Wt,Ca="Get compatible dict for optimum gptq config",On,Se,Sn,q,Ue,sr,Ot,wa=`This is a wrapper class about all possible attributes and features that you can play with a model that has been
loaded using <code>bitsandbytes</code>.`,ir,St,Ta="This replaces <code>load_in_8bit</code> or <code>load_in_4bit</code>therefore both options are mutually exclusive.",dr,Ut,ka=`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.`,lr,te,Re,mr,Rt,La="Returns <code>True</code> if the model is quantizable, <code>False</code> otherwise.",cr,ne,Ye,pr,Yt,Aa="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",fr,oe,Ze,ur,Zt,Ma=`This method returns the quantization method used for the model. If the model is not quantizable, it returns
<code>None</code>.`,gr,re,Xe,hr,Xt,Pa=`Removes all attributes from config which correspond to the default config attributes for better readability and
serializes to a Python dictionary.`,Un,Je,Rn,v,Ke,_r,Jt,Da=`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.`,br,Kt,Ha=`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.`,vr,ae,et,yr,en,Qa="adjust max_memory argument for infer_auto_device_map() if extra memory is needed for quantization",$r,se,tt,qr,tn,Ea=`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>.`,xr,ie,nt,zr,nn,Na=`checks if a loaded state_dict component is part of quantized param + some validation; only defined if
requires_parameters_quantization == True for quantization methods that require to create a new parameters
for quantization.`,Cr,de,ot,wr,on,Va=`takes needed components from state_dict and creates quantized param; only applicable if
requires_parameters_quantization == True`,Tr,le,rt,kr,rn,Ba=`Potentially dequantize the model to retrive the original model, with some loss in accuracy / performance.
Note not all quantization schemes support this.`,Lr,me,at,Ar,an,Fa=`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>.`,Mr,ce,st,Pr,sn,Ia=`Post-process the model post weights loading.
Make sure to override the abstract method <code>_process_model_after_weight_loading</code>.`,Dr,pe,it,Hr,dn,ja=`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>.`,Qr,fe,dt,Er,ln,Ga=`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”“`,Nr,ue,lt,Vr,mn,Wa="Override this method if you want to adjust the <code>update_expected_keys</code>.",Br,ge,mt,Fr,cn,Oa="Override this method if you want to adjust the <code>missing_keys</code>.",Ir,he,ct,jr,pn,Sa=`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`,Gr,_e,pt,Wr,fn,Ua=`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.`,Yn,ft,Zn,T,ut,Or,un,Ra="This is wrapper around hqq’s BaseQuantizeConfig.",Sr,be,gt,Ur,gn,Ya="Override from_dict, used in AutoQuantizationConfig.from_dict in quantizers/auto.py",Rr,ve,ht,Yr,hn,Za="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",Zr,ye,_t,Xr,_n,Xa=`Removes all attributes from config which correspond to the default config attributes for better readability and
serializes to a Python dictionary.`,Xn,bt,Jn,W,vt,Jr,bn,Ja=`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.`,Kn,yt,eo,k,$t,Kr,vn,Ka=`This is a wrapper class that handles compressed-tensors quantization config options.
It is a wrapper around <code>compressed_tensors.QuantizationConfig</code>`,ea,$e,qt,ta,yn,es=`Instantiates a <a href="/docs/transformers/main/ko/main_classes/quantization#transformers.CompressedTensorsConfig">CompressedTensorsConfig</a> from a Python dictionary of parameters.
Optionally unwraps any args from the nested quantization_config`,na,F,xt,oa,$n,ts="Quantization config to be added to config.json",ra,qn,ns=`Serializes this instance to a Python dictionary. Returns:
<code>Dict[str, Any]</code>: Dictionary of all the attributes that make up this configuration instance.`,aa,qe,zt,sa,xn,os=`Removes all attributes from config which correspond to the default config attributes for better readability and
serializes to a Python dictionary.`,to,Ct,no,A,wt,ia,zn,rs="This is a config class for torchao quantization/sparsity techniques.",da,xe,la,ze,Tt,ma,Cn,as="Safety checker that arguments are correct - also replaces some NoneType arguments with their default values.",oo,kt,ro,Mn,ao;return P=new M({props:{title:"양자화",local:"quantization",headingTag:"h1"}}),S=new ps({props:{$$slots:{default:[hs]},$$scope:{ctx:At}}}),we=new M({props:{title:"QuantoConfig",local:"transformers.QuantoConfig ][ transformers.QuantoConfig",headingTag:"h2"}}),Te=new b({props:{name:"class transformers.QuantoConfig",anchor:"transformers.QuantoConfig",parameters:[{name:"weights",val:" = 'int8'"},{name:"activations",val:" = None"},{name:"modules_to_not_convert",val:": typing.Optional[typing.List] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.QuantoConfig.weights",description:`<strong>weights</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;int8&quot;</code>) &#x2014;
The target dtype for the weights after quantization. Supported values are (&#x201C;float8&#x201D;,&#x201C;int8&#x201D;,&#x201C;int4&#x201D;,&#x201C;int2&#x201D;)`,name:"weights"},{anchor:"transformers.QuantoConfig.activations",description:`<strong>activations</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The target dtype for the activations after quantization. Supported values are (None,&#x201C;int8&#x201D;,&#x201C;float8&#x201D;)`,name:"activations"},{anchor:"transformers.QuantoConfig.modules_to_not_convert",description:`<strong>modules_to_not_convert</strong> (<code>list</code>, <em>optional</em>, default to <code>None</code>) &#x2014;
The list of modules to not quantize, useful for quantizing models that explicitly require to have
some modules left in their original precision (e.g. Whisper encoder, Llava encoder, Mixtral gate layers).`,name:"modules_to_not_convert"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1095"}}),ke=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#L1124"}}),Le=new M({props:{title:"AqlmConfig",local:"transformers.AqlmConfig ][ transformers.AqlmConfig",headingTag:"h2"}}),Ae=new b({props:{name:"class transformers.AqlmConfig",anchor:"transformers.AqlmConfig",parameters:[{name:"in_group_size",val:": int = 8"},{name:"out_group_size",val:": int = 1"},{name:"num_codebooks",val:": int = 1"},{name:"nbits_per_codebook",val:": int = 16"},{name:"linear_weights_not_to_quantize",val:": typing.Optional[typing.List[str]] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.AqlmConfig.in_group_size",description:`<strong>in_group_size</strong> (<code>int</code>, <em>optional</em>, defaults to 8) &#x2014;
The group size along the input dimension.`,name:"in_group_size"},{anchor:"transformers.AqlmConfig.out_group_size",description:`<strong>out_group_size</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The group size along the output dimension. It&#x2019;s recommended to always use 1.`,name:"out_group_size"},{anchor:"transformers.AqlmConfig.num_codebooks",description:`<strong>num_codebooks</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
Number of codebooks for the Additive Quantization procedure.`,name:"num_codebooks"},{anchor:"transformers.AqlmConfig.nbits_per_codebook",description:`<strong>nbits_per_codebook</strong> (<code>int</code>, <em>optional</em>, defaults to 16) &#x2014;
Number of bits encoding a single codebook vector. Codebooks size is 2**nbits_per_codebook.`,name:"nbits_per_codebook"},{anchor:"transformers.AqlmConfig.linear_weights_not_to_quantize",description:`<strong>linear_weights_not_to_quantize</strong> (<code>Optional[List[str]]</code>, <em>optional</em>) &#x2014;
List of full paths of <code>nn.Linear</code> weight parameters that shall not be quantized.`,name:"linear_weights_not_to_quantize"},{anchor:"transformers.AqlmConfig.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
Additional parameters from which to initialize the configuration object.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L939"}}),Me=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#L977"}}),Pe=new M({props:{title:"VptqConfig",local:"transformers.VptqConfig ][ transformers.VptqConfig",headingTag:"h2"}}),De=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#L1054"}}),He=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#L1085"}}),Qe=new M({props:{title:"AwqConfig",local:"transformers.AwqConfig ][ transformers.AwqConfig",headingTag:"h2"}}),Ee=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#L766"}}),Ne=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#L835"}}),Ve=new M({props:{title:"EetqConfig",local:"transformers.EetqConfig ][ transformers.EetqConfig",headingTag:"h2"}}),Be=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#L1136"}}),Fe=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#L1161"}}),Ie=new M({props:{title:"GPTQConfig",local:"transformers.GPTQConfig ][ transformers.GPTQConfig",headingTag:"h2"}}),je=new b({props:{name:"class transformers.GPTQConfig",anchor:"transformers.GPTQConfig",parameters:[{name:"bits",val:": int"},{name:"tokenizer",val:": typing.Any = None"},{name:"dataset",val:": typing.Union[typing.List[str], str, NoneType] = None"},{name:"group_size",val:": int = 128"},{name:"damp_percent",val:": float = 0.1"},{name:"desc_act",val:": bool = False"},{name:"sym",val:": bool = True"},{name:"true_sequential",val:": bool = True"},{name:"use_cuda_fp16",val:": bool = False"},{name:"model_seqlen",val:": typing.Optional[int] = None"},{name:"block_name_to_quantize",val:": typing.Optional[str] = None"},{name:"module_name_preceding_first_block",val:": typing.Optional[typing.List[str]] = None"},{name:"batch_size",val:": int = 1"},{name:"pad_token_id",val:": typing.Optional[int] = None"},{name:"use_exllama",val:": typing.Optional[bool] = None"},{name:"max_input_length",val:": typing.Optional[int] = None"},{name:"exllama_config",val:": typing.Optional[typing.Dict[str, typing.Any]] = None"},{name:"cache_block_outputs",val:": bool = True"},{name:"modules_in_block_to_quantize",val:": typing.Optional[typing.List[typing.List[str]]] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.GPTQConfig.bits",description:`<strong>bits</strong> (<code>int</code>) &#x2014;
The number of bits to quantize to, supported numbers are (2, 3, 4, 8).`,name:"bits"},{anchor:"transformers.GPTQConfig.tokenizer",description:`<strong>tokenizer</strong> (<code>str</code> or <code>PreTrainedTokenizerBase</code>, <em>optional</em>) &#x2014;
The tokenizer used to process the dataset. You can pass either:<ul>
<li>A custom tokenizer object.</li>
<li>A string, the <em>model id</em> of a predefined tokenizer hosted inside a model repo on huggingface.co.</li>
<li>A path to a <em>directory</em> containing vocabulary files required by the tokenizer, for instance saved
using the <a href="/docs/transformers/main/ko/internal/tokenization_utils#transformers.PreTrainedTokenizerBase.save_pretrained">save_pretrained()</a> method, e.g., <code>./my_model_directory/</code>.</li>
</ul>`,name:"tokenizer"},{anchor:"transformers.GPTQConfig.dataset",description:`<strong>dataset</strong> (<code>Union[List[str]]</code>, <em>optional</em>) &#x2014;
The dataset used for quantization. You can provide your own dataset in a list of string or just use the
original datasets used in GPTQ paper [&#x2018;wikitext2&#x2019;,&#x2018;c4&#x2019;,&#x2018;c4-new&#x2019;]`,name:"dataset"},{anchor:"transformers.GPTQConfig.group_size",description:`<strong>group_size</strong> (<code>int</code>, <em>optional</em>, defaults to 128) &#x2014;
The group size to use for quantization. Recommended value is 128 and -1 uses per-column quantization.`,name:"group_size"},{anchor:"transformers.GPTQConfig.damp_percent",description:`<strong>damp_percent</strong> (<code>float</code>, <em>optional</em>, defaults to 0.1) &#x2014;
The percent of the average Hessian diagonal to use for dampening. Recommended value is 0.1.`,name:"damp_percent"},{anchor:"transformers.GPTQConfig.desc_act",description:`<strong>desc_act</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to quantize columns in order of decreasing activation size. Setting it to False can significantly
speed up inference but the perplexity may become slightly worse. Also known as act-order.`,name:"desc_act"},{anchor:"transformers.GPTQConfig.sym",description:`<strong>sym</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to use symetric quantization.`,name:"sym"},{anchor:"transformers.GPTQConfig.true_sequential",description:`<strong>true_sequential</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to perform sequential quantization even within a single Transformer block. Instead of quantizing
the entire block at once, we perform layer-wise quantization. As a result, each layer undergoes
quantization using inputs that have passed through the previously quantized layers.`,name:"true_sequential"},{anchor:"transformers.GPTQConfig.use_cuda_fp16",description:`<strong>use_cuda_fp16</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to use optimized cuda kernel for fp16 model. Need to have model in fp16.`,name:"use_cuda_fp16"},{anchor:"transformers.GPTQConfig.model_seqlen",description:`<strong>model_seqlen</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The maximum sequence length that the model can take.`,name:"model_seqlen"},{anchor:"transformers.GPTQConfig.block_name_to_quantize",description:`<strong>block_name_to_quantize</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The transformers block name to quantize. If None, we will infer the block name using common patterns (e.g. model.layers)`,name:"block_name_to_quantize"},{anchor:"transformers.GPTQConfig.module_name_preceding_first_block",description:`<strong>module_name_preceding_first_block</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
The layers that are preceding the first Transformer block.`,name:"module_name_preceding_first_block"},{anchor:"transformers.GPTQConfig.batch_size",description:`<strong>batch_size</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The batch size used when processing the dataset`,name:"batch_size"},{anchor:"transformers.GPTQConfig.pad_token_id",description:`<strong>pad_token_id</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The pad token id. Needed to prepare the dataset when <code>batch_size</code> &gt; 1.`,name:"pad_token_id"},{anchor:"transformers.GPTQConfig.use_exllama",description:`<strong>use_exllama</strong> (<code>bool</code>, <em>optional</em>) &#x2014;
Whether to use exllama backend. Defaults to <code>True</code> if unset. Only works with <code>bits</code> = 4.`,name:"use_exllama"},{anchor:"transformers.GPTQConfig.max_input_length",description:`<strong>max_input_length</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The maximum input length. This is needed to initialize a buffer that depends on the maximum expected input
length. It is specific to the exllama backend with act-order.`,name:"max_input_length"},{anchor:"transformers.GPTQConfig.exllama_config",description:`<strong>exllama_config</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
The exllama config. You can specify the version of the exllama kernel through the <code>version</code> key. Defaults
to <code>{&quot;version&quot;: 1}</code> if unset.`,name:"exllama_config"},{anchor:"transformers.GPTQConfig.cache_block_outputs",description:`<strong>cache_block_outputs</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether to cache block outputs to reuse as inputs for the succeeding block.`,name:"cache_block_outputs"},{anchor:"transformers.GPTQConfig.modules_in_block_to_quantize",description:`<strong>modules_in_block_to_quantize</strong> (<code>List[List[str]]</code>, <em>optional</em>) &#x2014;
List of list of module names to quantize in the specified block. This argument is useful to exclude certain linear modules from being quantized.
The block to quantize can be specified by setting <code>block_name_to_quantize</code>. We will quantize each list sequentially. If not set, we will quantize all linear layers.
Example: <code>modules_in_block_to_quantize =[[&quot;self_attn.k_proj&quot;, &quot;self_attn.v_proj&quot;, &quot;self_attn.q_proj&quot;], [&quot;self_attn.o_proj&quot;]]</code>.
In this example, we will first quantize the q,k,v layers simultaneously since they are independent.
Then, we will quantize <code>self_attn.o_proj</code> layer with the q,k,v layers quantized. This way, we will get
better results since it reflects the real input <code>self_attn.o_proj</code> will get when the model is quantized.`,name:"modules_in_block_to_quantize"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L549"}}),Ge=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#L751"}}),We=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#L663"}}),Oe=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#L742"}}),Se=new M({props:{title:"BitsAndBytesConfig",local:"#transformers.BitsAndBytesConfig ][ transformers.BitsAndBytesConfig",headingTag:"h2"}}),Ue=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#L313"}}),Re=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#L484"}}),Ye=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#L447"}}),Ze=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#L490"}}),Xe=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#L521",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>
`}}),Je=new M({props:{title:"HfQuantizer",local:"transformers.quantizers.HfQuantizer ][ transformers.quantizers.HfQuantizer",headingTag:"h2"}}),Ke=new b({props:{name:"class transformers.quantizers.HfQuantizer",anchor:"transformers.quantizers.HfQuantizer",parameters:[{name:"quantization_config",val:": QuantizationConfigMixin"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L28"}}),et=new b({props:{name:"adjust_max_memory",anchor:"transformers.quantizers.HfQuantizer.adjust_max_memory",parameters:[{name:"max_memory",val:": typing.Dict[str, typing.Union[int, str]]"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L143"}}),tt=new b({props:{name:"adjust_target_dtype",anchor:"transformers.quantizers.HfQuantizer.adjust_target_dtype",parameters:[{name:"torch_dtype",val:": torch.dtype"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.adjust_target_dtype.torch_dtype",description:`<strong>torch_dtype</strong> (<code>torch.dtype</code>, <em>optional</em>) &#x2014;
The torch_dtype that is used to compute the device_map.`,name:"torch_dtype"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L90"}}),nt=new b({props:{name:"check_quantized_param",anchor:"transformers.quantizers.HfQuantizer.check_quantized_param",parameters:[{name:"model",val:": PreTrainedModel"},{name:"param_value",val:": torch.Tensor"},{name:"param_name",val:": str"},{name:"state_dict",val:": typing.Dict[str, typing.Any]"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L147"}}),ot=new b({props:{name:"create_quantized_param",anchor:"transformers.quantizers.HfQuantizer.create_quantized_param",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L162"}}),rt=new b({props:{name:"dequantize",anchor:"transformers.quantizers.HfQuantizer.dequantize",parameters:[{name:"model",val:""}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L209"}}),at=new b({props:{name:"get_special_dtypes_update",anchor:"transformers.quantizers.HfQuantizer.get_special_dtypes_update",parameters:[{name:"model",val:""},{name:"torch_dtype",val:": torch.dtype"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.get_special_dtypes_update.model",description:`<strong>model</strong> (<code>~transformers.PreTrainedModel</code>) &#x2014;
The model to quantize`,name:"model"},{anchor:"transformers.quantizers.HfQuantizer.get_special_dtypes_update.torch_dtype",description:`<strong>torch_dtype</strong> (<code>torch.dtype</code>) &#x2014;
The dtype passed in <code>from_pretrained</code> method.`,name:"torch_dtype"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L124"}}),st=new b({props:{name:"postprocess_model",anchor:"transformers.quantizers.HfQuantizer.postprocess_model",parameters:[{name:"model",val:": PreTrainedModel"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.postprocess_model.model",description:`<strong>model</strong> (<code>~transformers.PreTrainedModel</code>) &#x2014;
The model to quantize`,name:"model"},{anchor:"transformers.quantizers.HfQuantizer.postprocess_model.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
The keyword arguments that are passed along <code>_process_model_after_weight_loading</code>.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L196"}}),it=new b({props:{name:"preprocess_model",anchor:"transformers.quantizers.HfQuantizer.preprocess_model",parameters:[{name:"model",val:": PreTrainedModel"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.preprocess_model.model",description:`<strong>model</strong> (<code>~transformers.PreTrainedModel</code>) &#x2014;
The model to quantize`,name:"model"},{anchor:"transformers.quantizers.HfQuantizer.preprocess_model.kwargs",description:`<strong>kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
The keyword arguments that are passed along <code>_process_model_before_weight_loading</code>.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L180"}}),dt=new b({props:{name:"update_device_map",anchor:"transformers.quantizers.HfQuantizer.update_device_map",parameters:[{name:"device_map",val:": typing.Optional[typing.Dict[str, typing.Any]]"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.update_device_map.device_map",description:`<strong>device_map</strong> (<code>Union[dict, str]</code>, <em>optional</em>) &#x2014;
The device_map that is passed through the <code>from_pretrained</code> method.`,name:"device_map"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L78"}}),lt=new b({props:{name:"update_expected_keys",anchor:"transformers.quantizers.HfQuantizer.update_expected_keys",parameters:[{name:"model",val:""},{name:"expected_keys",val:": typing.List[str]"},{name:"loaded_keys",val:": typing.List[str]"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.update_expected_keys.expected_keys",description:`<strong>expected_keys</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
The list of the expected keys in the initialized model.`,name:"expected_keys"},{anchor:"transformers.quantizers.HfQuantizer.update_expected_keys.loaded_keys",description:`<strong>loaded_keys</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
The list of the loaded keys in the checkpoint.`,name:"loaded_keys"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L112"}}),mt=new b({props:{name:"update_missing_keys",anchor:"transformers.quantizers.HfQuantizer.update_missing_keys",parameters:[{name:"model",val:""},{name:"missing_keys",val:": typing.List[str]"},{name:"prefix",val:": str"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.update_missing_keys.missing_keys",description:`<strong>missing_keys</strong> (<code>List[str]</code>, <em>optional</em>) &#x2014;
The list of missing keys in the checkpoint compared to the state dict of the model`,name:"missing_keys"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L102"}}),ct=new b({props:{name:"update_torch_dtype",anchor:"transformers.quantizers.HfQuantizer.update_torch_dtype",parameters:[{name:"torch_dtype",val:": torch.dtype"}],parametersDescription:[{anchor:"transformers.quantizers.HfQuantizer.update_torch_dtype.torch_dtype",description:`<strong>torch_dtype</strong> (<code>torch.dtype</code>) &#x2014;
The input dtype that is passed in <code>from_pretrained</code>`,name:"torch_dtype"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/quantizers/base.py#L66"}}),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#L172"}}),ft=new M({props:{title:"HqqConfig",local:"transformers.HqqConfig ][ transformers.HqqConfig",headingTag:"h2"}}),ut=new b({props:{name:"class transformers.HqqConfig",anchor:"transformers.HqqConfig",parameters:[{name:"nbits",val:": int = 4"},{name:"group_size",val:": int = 64"},{name:"view_as_float",val:": bool = False"},{name:"axis",val:": typing.Optional[int] = None"},{name:"dynamic_config",val:": typing.Optional[dict] = None"},{name:"skip_modules",val:": typing.List[str] = ['lm_head']"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.HqqConfig.nbits",description:`<strong>nbits</strong> (<code>int</code>, <em>optional</em>, defaults to 4) &#x2014;
Number of bits. Supported values are (8, 4, 3, 2, 1).`,name:"nbits"},{anchor:"transformers.HqqConfig.group_size",description:`<strong>group_size</strong> (<code>int</code>, <em>optional</em>, defaults to 64) &#x2014;
Group-size value. Supported values are any value that is divisble by weight.shape[axis]).`,name:"group_size"},{anchor:"transformers.HqqConfig.view_as_float",description:`<strong>view_as_float</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
View the quantized weight as float (used in distributed training) if set to <code>True</code>.`,name:"view_as_float"},{anchor:"transformers.HqqConfig.axis",description:`<strong>axis</strong> (<code>Optional[int]</code>, <em>optional</em>) &#x2014;
Axis along which grouping is performed. Supported values are 0 or 1.`,name:"axis"},{anchor:"transformers.HqqConfig.dynamic_config",description:`<strong>dynamic_config</strong> (dict, <em>optional</em>) &#x2014;
Parameters for dynamic configuration. The key is the name tag of the layer and the value is a quantization config.
If set, each layer specified by its id will use its dedicated quantization configuration.`,name:"dynamic_config"},{anchor:"transformers.HqqConfig.skip_modules",description:`<strong>skip_modules</strong> (<code>List[str]</code>, <em>optional</em>, defaults to <code>[&apos;lm_head&apos;]</code>) &#x2014;
List of <code>nn.Linear</code> layers to skip.`,name:"skip_modules"},{anchor:"transformers.HqqConfig.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
Additional parameters from which to initialize the configuration object.`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L192"}}),gt=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#L266"}}),ht=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#L260"}}),_t=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#L291",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>
`}}),bt=new M({props:{title:"FbgemmFp8Config",local:"transformers.FbgemmFp8Config ][ transformers.FbgemmFp8Config",headingTag:"h2"}}),vt=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#L1313"}}),yt=new M({props:{title:"CompressedTensorsConfig",local:"transformers.CompressedTensorsConfig ][ transformers.CompressedTensorsConfig",headingTag:"h2"}}),$t=new b({props:{name:"class transformers.CompressedTensorsConfig",anchor:"transformers.CompressedTensorsConfig",parameters:[{name:"config_groups",val:": typing.Dict[str, typing.Union[ForwardRef('QuantizationScheme'), typing.List[str]]] = None"},{name:"format",val:": str = 'dense'"},{name:"quantization_status",val:": QuantizationStatus = 'initialized'"},{name:"kv_cache_scheme",val:": typing.Optional[ForwardRef('QuantizationArgs')] = None"},{name:"global_compression_ratio",val:": typing.Optional[float] = None"},{name:"ignore",val:": typing.Optional[typing.List[str]] = None"},{name:"sparsity_config",val:": typing.Dict[str, typing.Any] = None"},{name:"quant_method",val:": str = 'compressed-tensors'"},{name:"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#L1170"}}),qt=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#L1240",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>
`}}),xt=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#L1268"}}),zt=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#L1288",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>
`}}),Ct=new M({props:{title:"TorchAoConfig",local:"transformers.TorchAoConfig ][ transformers.TorchAoConfig",headingTag:"h2"}}),wt=new b({props:{name:"class transformers.TorchAoConfig",anchor:"transformers.TorchAoConfig",parameters:[{name:"quant_type",val:": str"},{name:"modules_to_not_convert",val:": typing.Optional[typing.List] = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"transformers.TorchAoConfig.quant_type",description:`<strong>quant_type</strong> (<code>str</code>) &#x2014;
The type of quantization we want to use, currently supporting: <code>int4_weight_only</code>, <code>int8_weight_only</code> and <code>int8_dynamic_activation_int8_weight</code>.`,name:"quant_type"},{anchor:"transformers.TorchAoConfig.modules_to_not_convert",description:`<strong>modules_to_not_convert</strong> (<code>list</code>, <em>optional</em>, default to <code>None</code>) &#x2014;
The list of modules to not quantize, useful for quantizing models that explicitly require to have
some modules left in their original precision.`,name:"modules_to_not_convert"},{anchor:"transformers.TorchAoConfig.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
The keyword arguments for the chosen type of quantization, for example, int4_weight_only quantization supports two keyword arguments
<code>group_size</code> and <code>inner_k_tiles</code> currently. More API examples and documentation of arguments can be found in
<a href="https://github.com/pytorch/ao/tree/main/torchao/quantization#other-available-quantization-techniques" rel="nofollow">https://github.com/pytorch/ao/tree/main/torchao/quantization#other-available-quantization-techniques</a>`,name:"kwargs"}],source:"https://github.com/huggingface/transformers/blob/main/src/transformers/utils/quantization_config.py#L1396"}}),xe=new us({props:{anchor:"transformers.TorchAoConfig.example",$$slots:{default:[_s]},$$scope:{ctx:At}}}),Tt=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#L1432"}}),kt=new gs({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/ko/main_classes/quantization.md"}}),{c(){$=r("meta"),B=n(),z=r("p"),L=n(),d(P.$$.fragment),x=n(),D=r("p"),D.innerHTML=ca,Pn=n(),d(S.$$.fragment),Dn=n(),d(we.$$.fragment),Hn=n(),H=r("div"),d(Te.$$.fragment),Vo=n(),Mt=r("p"),Mt.innerHTML=pa,Bo=n(),U=r("div"),d(ke.$$.fragment),Fo=n(),Pt=r("p"),Pt.textContent=fa,Qn=n(),d(Le.$$.fragment),En=n(),Q=r("div"),d(Ae.$$.fragment),Io=n(),Dt=r("p"),Dt.innerHTML=ua,jo=n(),R=r("div"),d(Me.$$.fragment),Go=n(),Ht=r("p"),Ht.textContent=ga,Nn=n(),d(Pe.$$.fragment),Vn=n(),E=r("div"),d(De.$$.fragment),Wo=n(),Qt=r("p"),Qt.innerHTML=ha,Oo=n(),Y=r("div"),d(He.$$.fragment),So=n(),Et=r("p"),Et.textContent=_a,Bn=n(),d(Qe.$$.fragment),Fn=n(),N=r("div"),d(Ee.$$.fragment),Uo=n(),Nt=r("p"),Nt.innerHTML=ba,Ro=n(),Z=r("div"),d(Ne.$$.fragment),Yo=n(),Vt=r("p"),Vt.textContent=va,In=n(),d(Ve.$$.fragment),jn=n(),V=r("div"),d(Be.$$.fragment),Zo=n(),Bt=r("p"),Bt.innerHTML=ya,Xo=n(),X=r("div"),d(Fe.$$.fragment),Jo=n(),Ft=r("p"),Ft.textContent=$a,Gn=n(),d(Ie.$$.fragment),Wn=n(),w=r("div"),d(je.$$.fragment),Ko=n(),It=r("p"),It.innerHTML=qa,er=n(),J=r("div"),d(Ge.$$.fragment),tr=n(),jt=r("p"),jt.textContent=xa,nr=n(),K=r("div"),d(We.$$.fragment),or=n(),Gt=r("p"),Gt.textContent=za,rr=n(),ee=r("div"),d(Oe.$$.fragment),ar=n(),Wt=r("p"),Wt.textContent=Ca,On=n(),d(Se.$$.fragment),Sn=n(),q=r("div"),d(Ue.$$.fragment),sr=n(),Ot=r("p"),Ot.innerHTML=wa,ir=n(),St=r("p"),St.innerHTML=Ta,dr=n(),Ut=r("p"),Ut.innerHTML=ka,lr=n(),te=r("div"),d(Re.$$.fragment),mr=n(),Rt=r("p"),Rt.innerHTML=La,cr=n(),ne=r("div"),d(Ye.$$.fragment),pr=n(),Yt=r("p"),Yt.textContent=Aa,fr=n(),oe=r("div"),d(Ze.$$.fragment),ur=n(),Zt=r("p"),Zt.innerHTML=Ma,gr=n(),re=r("div"),d(Xe.$$.fragment),hr=n(),Xt=r("p"),Xt.textContent=Pa,Un=n(),d(Je.$$.fragment),Rn=n(),v=r("div"),d(Ke.$$.fragment),_r=n(),Jt=r("p"),Jt.textContent=Da,br=n(),Kt=r("p"),Kt.innerHTML=Ha,vr=n(),ae=r("div"),d(et.$$.fragment),yr=n(),en=r("p"),en.textContent=Qa,$r=n(),se=r("div"),d(tt.$$.fragment),qr=n(),tn=r("p"),tn.innerHTML=Ea,xr=n(),ie=r("div"),d(nt.$$.fragment),zr=n(),nn=r("p"),nn.textContent=Na,Cr=n(),de=r("div"),d(ot.$$.fragment),wr=n(),on=r("p"),on.textContent=Va,Tr=n(),le=r("div"),d(rt.$$.fragment),kr=n(),rn=r("p"),rn.textContent=Ba,Lr=n(),me=r("div"),d(at.$$.fragment),Ar=n(),an=r("p"),an.innerHTML=Fa,Mr=n(),ce=r("div"),d(st.$$.fragment),Pr=n(),sn=r("p"),sn.innerHTML=Ia,Dr=n(),pe=r("div"),d(it.$$.fragment),Hr=n(),dn=r("p"),dn.innerHTML=ja,Qr=n(),fe=r("div"),d(dt.$$.fragment),Er=n(),ln=r("p"),ln.innerHTML=Ga,Nr=n(),ue=r("div"),d(lt.$$.fragment),Vr=n(),mn=r("p"),mn.innerHTML=Wa,Br=n(),ge=r("div"),d(mt.$$.fragment),Fr=n(),cn=r("p"),cn.innerHTML=Oa,Ir=n(),he=r("div"),d(ct.$$.fragment),jr=n(),pn=r("p"),pn.textContent=Sa,Gr=n(),_e=r("div"),d(pt.$$.fragment),Wr=n(),fn=r("p"),fn.innerHTML=Ua,Yn=n(),d(ft.$$.fragment),Zn=n(),T=r("div"),d(ut.$$.fragment),Or=n(),un=r("p"),un.textContent=Ra,Sr=n(),be=r("div"),d(gt.$$.fragment),Ur=n(),gn=r("p"),gn.textContent=Ya,Rr=n(),ve=r("div"),d(ht.$$.fragment),Yr=n(),hn=r("p"),hn.textContent=Za,Zr=n(),ye=r("div"),d(_t.$$.fragment),Xr=n(),_n=r("p"),_n.textContent=Xa,Xn=n(),d(bt.$$.fragment),Jn=n(),W=r("div"),d(vt.$$.fragment),Jr=n(),bn=r("p"),bn.textContent=Ja,Kn=n(),d(yt.$$.fragment),eo=n(),k=r("div"),d($t.$$.fragment),Kr=n(),vn=r("p"),vn.innerHTML=Ka,ea=n(),$e=r("div"),d(qt.$$.fragment),ta=n(),yn=r("p"),yn.innerHTML=es,na=n(),F=r("div"),d(xt.$$.fragment),oa=n(),$n=r("p"),$n.textContent=ts,ra=n(),qn=r("p"),qn.innerHTML=ns,aa=n(),qe=r("div"),d(zt.$$.fragment),sa=n(),xn=r("p"),xn.textContent=os,to=n(),d(Ct.$$.fragment),no=n(),A=r("div"),d(wt.$$.fragment),ia=n(),zn=r("p"),zn.textContent=rs,da=n(),d(xe.$$.fragment),la=n(),ze=r("div"),d(Tt.$$.fragment),ma=n(),Cn=r("p"),Cn.textContent=as,oo=n(),d(kt.$$.fragment),ro=n(),Mn=r("p"),this.h()},l(e){const i=cs("svelte-u9bgzb",document.head);$=a(i,"META",{name:!0,content:!0}),i.forEach(s),B=o(e),z=a(e,"P",{}),h(z).forEach(s),L=o(e),l(P.$$.fragment,e),x=o(e),D=a(e,"P",{"data-svelte-h":!0}),u(D)!=="svelte-xnp2qz"&&(D.innerHTML=ca),Pn=o(e),l(S.$$.fragment,e),Dn=o(e),l(we.$$.fragment,e),Hn=o(e),H=a(e,"DIV",{class:!0});var O=h(H);l(Te.$$.fragment,O),Vo=o(O),Mt=a(O,"P",{"data-svelte-h":!0}),u(Mt)!=="svelte-b8v0f"&&(Mt.innerHTML=pa),Bo=o(O),U=a(O,"DIV",{class:!0});var Lt=h(U);l(ke.$$.fragment,Lt),Fo=o(Lt),Pt=a(Lt,"P",{"data-svelte-h":!0}),u(Pt)!=="svelte-1ozftb6"&&(Pt.textContent=fa),Lt.forEach(s),O.forEach(s),Qn=o(e),l(Le.$$.fragment,e),En=o(e),Q=a(e,"DIV",{class:!0});var wn=h(Q);l(Ae.$$.fragment,wn),Io=o(wn),Dt=a(wn,"P",{"data-svelte-h":!0}),u(Dt)!=="svelte-1s7ccdx"&&(Dt.innerHTML=ua),jo=o(wn),R=a(wn,"DIV",{class:!0});var so=h(R);l(Me.$$.fragment,so),Go=o(so),Ht=a(so,"P",{"data-svelte-h":!0}),u(Ht)!=="svelte-gy26u4"&&(Ht.textContent=ga),so.forEach(s),wn.forEach(s),Nn=o(e),l(Pe.$$.fragment,e),Vn=o(e),E=a(e,"DIV",{class:!0});var Tn=h(E);l(De.$$.fragment,Tn),Wo=o(Tn),Qt=a(Tn,"P",{"data-svelte-h":!0}),u(Qt)!=="svelte-w1pax1"&&(Qt.innerHTML=ha),Oo=o(Tn),Y=a(Tn,"DIV",{class:!0});var io=h(Y);l(He.$$.fragment,io),So=o(io),Et=a(io,"P",{"data-svelte-h":!0}),u(Et)!=="svelte-1ozftb6"&&(Et.textContent=_a),io.forEach(s),Tn.forEach(s),Bn=o(e),l(Qe.$$.fragment,e),Fn=o(e),N=a(e,"DIV",{class:!0});var kn=h(N);l(Ee.$$.fragment,kn),Uo=o(kn),Nt=a(kn,"P",{"data-svelte-h":!0}),u(Nt)!=="svelte-1i667it"&&(Nt.innerHTML=ba),Ro=o(kn),Z=a(kn,"DIV",{class:!0});var lo=h(Z);l(Ne.$$.fragment,lo),Yo=o(lo),Vt=a(lo,"P",{"data-svelte-h":!0}),u(Vt)!=="svelte-1ozftb6"&&(Vt.textContent=va),lo.forEach(s),kn.forEach(s),In=o(e),l(Ve.$$.fragment,e),jn=o(e),V=a(e,"DIV",{class:!0});var Ln=h(V);l(Be.$$.fragment,Ln),Zo=o(Ln),Bt=a(Ln,"P",{"data-svelte-h":!0}),u(Bt)!=="svelte-438k9a"&&(Bt.innerHTML=ya),Xo=o(Ln),X=a(Ln,"DIV",{class:!0});var mo=h(X);l(Fe.$$.fragment,mo),Jo=o(mo),Ft=a(mo,"P",{"data-svelte-h":!0}),u(Ft)!=="svelte-1ozftb6"&&(Ft.textContent=$a),mo.forEach(s),Ln.forEach(s),Gn=o(e),l(Ie.$$.fragment,e),Wn=o(e),w=a(e,"DIV",{class:!0});var I=h(w);l(je.$$.fragment,I),Ko=o(I),It=a(I,"P",{"data-svelte-h":!0}),u(It)!=="svelte-i3efvr"&&(It.innerHTML=qa),er=o(I),J=a(I,"DIV",{class:!0});var co=h(J);l(Ge.$$.fragment,co),tr=o(co),jt=a(co,"P",{"data-svelte-h":!0}),u(jt)!=="svelte-4jdj2l"&&(jt.textContent=xa),co.forEach(s),nr=o(I),K=a(I,"DIV",{class:!0});var po=h(K);l(We.$$.fragment,po),or=o(po),Gt=a(po,"P",{"data-svelte-h":!0}),u(Gt)!=="svelte-1ozftb6"&&(Gt.textContent=za),po.forEach(s),rr=o(I),ee=a(I,"DIV",{class:!0});var fo=h(ee);l(Oe.$$.fragment,fo),ar=o(fo),Wt=a(fo,"P",{"data-svelte-h":!0}),u(Wt)!=="svelte-pjgtd6"&&(Wt.textContent=Ca),fo.forEach(s),I.forEach(s),On=o(e),l(Se.$$.fragment,e),Sn=o(e),q=a(e,"DIV",{class:!0});var C=h(q);l(Ue.$$.fragment,C),sr=o(C),Ot=a(C,"P",{"data-svelte-h":!0}),u(Ot)!=="svelte-woamwr"&&(Ot.innerHTML=wa),ir=o(C),St=a(C,"P",{"data-svelte-h":!0}),u(St)!=="svelte-ki5gis"&&(St.innerHTML=Ta),dr=o(C),Ut=a(C,"P",{"data-svelte-h":!0}),u(Ut)!=="svelte-8qsk2q"&&(Ut.innerHTML=ka),lr=o(C),te=a(C,"DIV",{class:!0});var uo=h(te);l(Re.$$.fragment,uo),mr=o(uo),Rt=a(uo,"P",{"data-svelte-h":!0}),u(Rt)!=="svelte-10tvzyv"&&(Rt.innerHTML=La),uo.forEach(s),cr=o(C),ne=a(C,"DIV",{class:!0});var go=h(ne);l(Ye.$$.fragment,go),pr=o(go),Yt=a(go,"P",{"data-svelte-h":!0}),u(Yt)!=="svelte-gy26u4"&&(Yt.textContent=Aa),go.forEach(s),fr=o(C),oe=a(C,"DIV",{class:!0});var ho=h(oe);l(Ze.$$.fragment,ho),ur=o(ho),Zt=a(ho,"P",{"data-svelte-h":!0}),u(Zt)!=="svelte-19bn0da"&&(Zt.innerHTML=Ma),ho.forEach(s),gr=o(C),re=a(C,"DIV",{class:!0});var _o=h(re);l(Xe.$$.fragment,_o),hr=o(_o),Xt=a(_o,"P",{"data-svelte-h":!0}),u(Xt)!=="svelte-1p6bdas"&&(Xt.textContent=Pa),_o.forEach(s),C.forEach(s),Un=o(e),l(Je.$$.fragment,e),Rn=o(e),v=a(e,"DIV",{class:!0});var y=h(v);l(Ke.$$.fragment,y),_r=o(y),Jt=a(y,"P",{"data-svelte-h":!0}),u(Jt)!=="svelte-1xvcahi"&&(Jt.textContent=Da),br=o(y),Kt=a(y,"P",{"data-svelte-h":!0}),u(Kt)!=="svelte-twdedh"&&(Kt.innerHTML=Ha),vr=o(y),ae=a(y,"DIV",{class:!0});var bo=h(ae);l(et.$$.fragment,bo),yr=o(bo),en=a(bo,"P",{"data-svelte-h":!0}),u(en)!=="svelte-1d4i4z7"&&(en.textContent=Qa),bo.forEach(s),$r=o(y),se=a(y,"DIV",{class:!0});var vo=h(se);l(tt.$$.fragment,vo),qr=o(vo),tn=a(vo,"P",{"data-svelte-h":!0}),u(tn)!=="svelte-4t526i"&&(tn.innerHTML=Ea),vo.forEach(s),xr=o(y),ie=a(y,"DIV",{class:!0});var yo=h(ie);l(nt.$$.fragment,yo),zr=o(yo),nn=a(yo,"P",{"data-svelte-h":!0}),u(nn)!=="svelte-1meey31"&&(nn.textContent=Na),yo.forEach(s),Cr=o(y),de=a(y,"DIV",{class:!0});var $o=h(de);l(ot.$$.fragment,$o),wr=o($o),on=a($o,"P",{"data-svelte-h":!0}),u(on)!=="svelte-1j1vsi1"&&(on.textContent=Va),$o.forEach(s),Tr=o(y),le=a(y,"DIV",{class:!0});var qo=h(le);l(rt.$$.fragment,qo),kr=o(qo),rn=a(qo,"P",{"data-svelte-h":!0}),u(rn)!=="svelte-1qo65te"&&(rn.textContent=Ba),qo.forEach(s),Lr=o(y),me=a(y,"DIV",{class:!0});var xo=h(me);l(at.$$.fragment,xo),Ar=o(xo),an=a(xo,"P",{"data-svelte-h":!0}),u(an)!=="svelte-i8h8td"&&(an.innerHTML=Fa),xo.forEach(s),Mr=o(y),ce=a(y,"DIV",{class:!0});var zo=h(ce);l(st.$$.fragment,zo),Pr=o(zo),sn=a(zo,"P",{"data-svelte-h":!0}),u(sn)!=="svelte-1uznum5"&&(sn.innerHTML=Ia),zo.forEach(s),Dr=o(y),pe=a(y,"DIV",{class:!0});var Co=h(pe);l(it.$$.fragment,Co),Hr=o(Co),dn=a(Co,"P",{"data-svelte-h":!0}),u(dn)!=="svelte-mjhdcv"&&(dn.innerHTML=ja),Co.forEach(s),Qr=o(y),fe=a(y,"DIV",{class:!0});var wo=h(fe);l(dt.$$.fragment,wo),Er=o(wo),ln=a(wo,"P",{"data-svelte-h":!0}),u(ln)!=="svelte-1e5epn5"&&(ln.innerHTML=Ga),wo.forEach(s),Nr=o(y),ue=a(y,"DIV",{class:!0});var To=h(ue);l(lt.$$.fragment,To),Vr=o(To),mn=a(To,"P",{"data-svelte-h":!0}),u(mn)!=="svelte-1idnt2e"&&(mn.innerHTML=Wa),To.forEach(s),Br=o(y),ge=a(y,"DIV",{class:!0});var ko=h(ge);l(mt.$$.fragment,ko),Fr=o(ko),cn=a(ko,"P",{"data-svelte-h":!0}),u(cn)!=="svelte-13hqoy0"&&(cn.innerHTML=Oa),ko.forEach(s),Ir=o(y),he=a(y,"DIV",{class:!0});var Lo=h(he);l(ct.$$.fragment,Lo),jr=o(Lo),pn=a(Lo,"P",{"data-svelte-h":!0}),u(pn)!=="svelte-1kpdm09"&&(pn.textContent=Sa),Lo.forEach(s),Gr=o(y),_e=a(y,"DIV",{class:!0});var Ao=h(_e);l(pt.$$.fragment,Ao),Wr=o(Ao),fn=a(Ao,"P",{"data-svelte-h":!0}),u(fn)!=="svelte-1lxocan"&&(fn.innerHTML=Ua),Ao.forEach(s),y.forEach(s),Yn=o(e),l(ft.$$.fragment,e),Zn=o(e),T=a(e,"DIV",{class:!0});var j=h(T);l(ut.$$.fragment,j),Or=o(j),un=a(j,"P",{"data-svelte-h":!0}),u(un)!=="svelte-h0fjpw"&&(un.textContent=Ra),Sr=o(j),be=a(j,"DIV",{class:!0});var Mo=h(be);l(gt.$$.fragment,Mo),Ur=o(Mo),gn=a(Mo,"P",{"data-svelte-h":!0}),u(gn)!=="svelte-6lcv9o"&&(gn.textContent=Ya),Mo.forEach(s),Rr=o(j),ve=a(j,"DIV",{class:!0});var Po=h(ve);l(ht.$$.fragment,Po),Yr=o(Po),hn=a(Po,"P",{"data-svelte-h":!0}),u(hn)!=="svelte-gy26u4"&&(hn.textContent=Za),Po.forEach(s),Zr=o(j),ye=a(j,"DIV",{class:!0});var Do=h(ye);l(_t.$$.fragment,Do),Xr=o(Do),_n=a(Do,"P",{"data-svelte-h":!0}),u(_n)!=="svelte-1p6bdas"&&(_n.textContent=Xa),Do.forEach(s),j.forEach(s),Xn=o(e),l(bt.$$.fragment,e),Jn=o(e),W=a(e,"DIV",{class:!0});var Ho=h(W);l(vt.$$.fragment,Ho),Jr=o(Ho),bn=a(Ho,"P",{"data-svelte-h":!0}),u(bn)!=="svelte-1a51md3"&&(bn.textContent=Ja),Ho.forEach(s),Kn=o(e),l(yt.$$.fragment,e),eo=o(e),k=a(e,"DIV",{class:!0});var G=h(k);l($t.$$.fragment,G),Kr=o(G),vn=a(G,"P",{"data-svelte-h":!0}),u(vn)!=="svelte-3h2fkj"&&(vn.innerHTML=Ka),ea=o(G),$e=a(G,"DIV",{class:!0});var Qo=h($e);l(qt.$$.fragment,Qo),ta=o(Qo),yn=a(Qo,"P",{"data-svelte-h":!0}),u(yn)!=="svelte-1j4f3dz"&&(yn.innerHTML=es),Qo.forEach(s),na=o(G),F=a(G,"DIV",{class:!0});var An=h(F);l(xt.$$.fragment,An),oa=o(An),$n=a(An,"P",{"data-svelte-h":!0}),u($n)!=="svelte-1h5q4kg"&&($n.textContent=ts),ra=o(An),qn=a(An,"P",{"data-svelte-h":!0}),u(qn)!=="svelte-4kfdpu"&&(qn.innerHTML=ns),An.forEach(s),aa=o(G),qe=a(G,"DIV",{class:!0});var Eo=h(qe);l(zt.$$.fragment,Eo),sa=o(Eo),xn=a(Eo,"P",{"data-svelte-h":!0}),u(xn)!=="svelte-1p6bdas"&&(xn.textContent=os),Eo.forEach(s),G.forEach(s),to=o(e),l(Ct.$$.fragment,e),no=o(e),A=a(e,"DIV",{class:!0});var Ce=h(A);l(wt.$$.fragment,Ce),ia=o(Ce),zn=a(Ce,"P",{"data-svelte-h":!0}),u(zn)!=="svelte-1pwo8e0"&&(zn.textContent=rs),da=o(Ce),l(xe.$$.fragment,Ce),la=o(Ce),ze=a(Ce,"DIV",{class:!0});var No=h(ze);l(Tt.$$.fragment,No),ma=o(No),Cn=a(No,"P",{"data-svelte-h":!0}),u(Cn)!=="svelte-gy26u4"&&(Cn.textContent=as),No.forEach(s),Ce.forEach(s),oo=o(e),l(kt.$$.fragment,e),ro=o(e),Mn=a(e,"P",{}),h(Mn).forEach(s),this.h()},h(){_($,"name","hf:doc:metadata"),_($,"content",vs),_(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(H,"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"),_(Q,"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"),_(E,"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"),_(N,"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"),_(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(K,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(te,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(oe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(re,"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"),_(ae,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(se,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(de,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(fe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ue,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(he,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(_e,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(v,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(be,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ve,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ye,"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"),_(W,"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"),_(F,"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"),_(ze,"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")},m(e,i){t(document.head,$),g(e,B,i),g(e,z,i),g(e,L,i),m(P,e,i),g(e,x,i),g(e,D,i),g(e,Pn,i),m(S,e,i),g(e,Dn,i),m(we,e,i),g(e,Hn,i),g(e,H,i),m(Te,H,null),t(H,Vo),t(H,Mt),t(H,Bo),t(H,U),m(ke,U,null),t(U,Fo),t(U,Pt),g(e,Qn,i),m(Le,e,i),g(e,En,i),g(e,Q,i),m(Ae,Q,null),t(Q,Io),t(Q,Dt),t(Q,jo),t(Q,R),m(Me,R,null),t(R,Go),t(R,Ht),g(e,Nn,i),m(Pe,e,i),g(e,Vn,i),g(e,E,i),m(De,E,null),t(E,Wo),t(E,Qt),t(E,Oo),t(E,Y),m(He,Y,null),t(Y,So),t(Y,Et),g(e,Bn,i),m(Qe,e,i),g(e,Fn,i),g(e,N,i),m(Ee,N,null),t(N,Uo),t(N,Nt),t(N,Ro),t(N,Z),m(Ne,Z,null),t(Z,Yo),t(Z,Vt),g(e,In,i),m(Ve,e,i),g(e,jn,i),g(e,V,i),m(Be,V,null),t(V,Zo),t(V,Bt),t(V,Xo),t(V,X),m(Fe,X,null),t(X,Jo),t(X,Ft),g(e,Gn,i),m(Ie,e,i),g(e,Wn,i),g(e,w,i),m(je,w,null),t(w,Ko),t(w,It),t(w,er),t(w,J),m(Ge,J,null),t(J,tr),t(J,jt),t(w,nr),t(w,K),m(We,K,null),t(K,or),t(K,Gt),t(w,rr),t(w,ee),m(Oe,ee,null),t(ee,ar),t(ee,Wt),g(e,On,i),m(Se,e,i),g(e,Sn,i),g(e,q,i),m(Ue,q,null),t(q,sr),t(q,Ot),t(q,ir),t(q,St),t(q,dr),t(q,Ut),t(q,lr),t(q,te),m(Re,te,null),t(te,mr),t(te,Rt),t(q,cr),t(q,ne),m(Ye,ne,null),t(ne,pr),t(ne,Yt),t(q,fr),t(q,oe),m(Ze,oe,null),t(oe,ur),t(oe,Zt),t(q,gr),t(q,re),m(Xe,re,null),t(re,hr),t(re,Xt),g(e,Un,i),m(Je,e,i),g(e,Rn,i),g(e,v,i),m(Ke,v,null),t(v,_r),t(v,Jt),t(v,br),t(v,Kt),t(v,vr),t(v,ae),m(et,ae,null),t(ae,yr),t(ae,en),t(v,$r),t(v,se),m(tt,se,null),t(se,qr),t(se,tn),t(v,xr),t(v,ie),m(nt,ie,null),t(ie,zr),t(ie,nn),t(v,Cr),t(v,de),m(ot,de,null),t(de,wr),t(de,on),t(v,Tr),t(v,le),m(rt,le,null),t(le,kr),t(le,rn),t(v,Lr),t(v,me),m(at,me,null),t(me,Ar),t(me,an),t(v,Mr),t(v,ce),m(st,ce,null),t(ce,Pr),t(ce,sn),t(v,Dr),t(v,pe),m(it,pe,null),t(pe,Hr),t(pe,dn),t(v,Qr),t(v,fe),m(dt,fe,null),t(fe,Er),t(fe,ln),t(v,Nr),t(v,ue),m(lt,ue,null),t(ue,Vr),t(ue,mn),t(v,Br),t(v,ge),m(mt,ge,null),t(ge,Fr),t(ge,cn),t(v,Ir),t(v,he),m(ct,he,null),t(he,jr),t(he,pn),t(v,Gr),t(v,_e),m(pt,_e,null),t(_e,Wr),t(_e,fn),g(e,Yn,i),m(ft,e,i),g(e,Zn,i),g(e,T,i),m(ut,T,null),t(T,Or),t(T,un),t(T,Sr),t(T,be),m(gt,be,null),t(be,Ur),t(be,gn),t(T,Rr),t(T,ve),m(ht,ve,null),t(ve,Yr),t(ve,hn),t(T,Zr),t(T,ye),m(_t,ye,null),t(ye,Xr),t(ye,_n),g(e,Xn,i),m(bt,e,i),g(e,Jn,i),g(e,W,i),m(vt,W,null),t(W,Jr),t(W,bn),g(e,Kn,i),m(yt,e,i),g(e,eo,i),g(e,k,i),m($t,k,null),t(k,Kr),t(k,vn),t(k,ea),t(k,$e),m(qt,$e,null),t($e,ta),t($e,yn),t(k,na),t(k,F),m(xt,F,null),t(F,oa),t(F,$n),t(F,ra),t(F,qn),t(k,aa),t(k,qe),m(zt,qe,null),t(qe,sa),t(qe,xn),g(e,to,i),m(Ct,e,i),g(e,no,i),g(e,A,i),m(wt,A,null),t(A,ia),t(A,zn),t(A,da),m(xe,A,null),t(A,la),t(A,ze),m(Tt,ze,null),t(ze,ma),t(ze,Cn),g(e,oo,i),m(kt,e,i),g(e,ro,i),g(e,Mn,i),ao=!0},p(e,[i]){const O={};i&2&&(O.$$scope={dirty:i,ctx:e}),S.$set(O);const Lt={};i&2&&(Lt.$$scope={dirty:i,ctx:e}),xe.$set(Lt)},i(e){ao||(c(P.$$.fragment,e),c(S.$$.fragment,e),c(we.$$.fragment,e),c(Te.$$.fragment,e),c(ke.$$.fragment,e),c(Le.$$.fragment,e),c(Ae.$$.fragment,e),c(Me.$$.fragment,e),c(Pe.$$.fragment,e),c(De.$$.fragment,e),c(He.$$.fragment,e),c(Qe.$$.fragment,e),c(Ee.$$.fragment,e),c(Ne.$$.fragment,e),c(Ve.$$.fragment,e),c(Be.$$.fragment,e),c(Fe.$$.fragment,e),c(Ie.$$.fragment,e),c(je.$$.fragment,e),c(Ge.$$.fragment,e),c(We.$$.fragment,e),c(Oe.$$.fragment,e),c(Se.$$.fragment,e),c(Ue.$$.fragment,e),c(Re.$$.fragment,e),c(Ye.$$.fragment,e),c(Ze.$$.fragment,e),c(Xe.$$.fragment,e),c(Je.$$.fragment,e),c(Ke.$$.fragment,e),c(et.$$.fragment,e),c(tt.$$.fragment,e),c(nt.$$.fragment,e),c(ot.$$.fragment,e),c(rt.$$.fragment,e),c(at.$$.fragment,e),c(st.$$.fragment,e),c(it.$$.fragment,e),c(dt.$$.fragment,e),c(lt.$$.fragment,e),c(mt.$$.fragment,e),c(ct.$$.fragment,e),c(pt.$$.fragment,e),c(ft.$$.fragment,e),c(ut.$$.fragment,e),c(gt.$$.fragment,e),c(ht.$$.fragment,e),c(_t.$$.fragment,e),c(bt.$$.fragment,e),c(vt.$$.fragment,e),c(yt.$$.fragment,e),c($t.$$.fragment,e),c(qt.$$.fragment,e),c(xt.$$.fragment,e),c(zt.$$.fragment,e),c(Ct.$$.fragment,e),c(wt.$$.fragment,e),c(xe.$$.fragment,e),c(Tt.$$.fragment,e),c(kt.$$.fragment,e),ao=!0)},o(e){p(P.$$.fragment,e),p(S.$$.fragment,e),p(we.$$.fragment,e),p(Te.$$.fragment,e),p(ke.$$.fragment,e),p(Le.$$.fragment,e),p(Ae.$$.fragment,e),p(Me.$$.fragment,e),p(Pe.$$.fragment,e),p(De.$$.fragment,e),p(He.$$.fragment,e),p(Qe.$$.fragment,e),p(Ee.$$.fragment,e),p(Ne.$$.fragment,e),p(Ve.$$.fragment,e),p(Be.$$.fragment,e),p(Fe.$$.fragment,e),p(Ie.$$.fragment,e),p(je.$$.fragment,e),p(Ge.$$.fragment,e),p(We.$$.fragment,e),p(Oe.$$.fragment,e),p(Se.$$.fragment,e),p(Ue.$$.fragment,e),p(Re.$$.fragment,e),p(Ye.$$.fragment,e),p(Ze.$$.fragment,e),p(Xe.$$.fragment,e),p(Je.$$.fragment,e),p(Ke.$$.fragment,e),p(et.$$.fragment,e),p(tt.$$.fragment,e),p(nt.$$.fragment,e),p(ot.$$.fragment,e),p(rt.$$.fragment,e),p(at.$$.fragment,e),p(st.$$.fragment,e),p(it.$$.fragment,e),p(dt.$$.fragment,e),p(lt.$$.fragment,e),p(mt.$$.fragment,e),p(ct.$$.fragment,e),p(pt.$$.fragment,e),p(ft.$$.fragment,e),p(ut.$$.fragment,e),p(gt.$$.fragment,e),p(ht.$$.fragment,e),p(_t.$$.fragment,e),p(bt.$$.fragment,e),p(vt.$$.fragment,e),p(yt.$$.fragment,e),p($t.$$.fragment,e),p(qt.$$.fragment,e),p(xt.$$.fragment,e),p(zt.$$.fragment,e),p(Ct.$$.fragment,e),p(wt.$$.fragment,e),p(xe.$$.fragment,e),p(Tt.$$.fragment,e),p(kt.$$.fragment,e),ao=!1},d(e){e&&(s(B),s(z),s(L),s(x),s(D),s(Pn),s(Dn),s(Hn),s(H),s(Qn),s(En),s(Q),s(Nn),s(Vn),s(E),s(Bn),s(Fn),s(N),s(In),s(jn),s(V),s(Gn),s(Wn),s(w),s(On),s(Sn),s(q),s(Un),s(Rn),s(v),s(Yn),s(Zn),s(T),s(Xn),s(Jn),s(W),s(Kn),s(eo),s(k),s(to),s(no),s(A),s(oo),s(ro),s(Mn)),s($),f(P,e),f(S,e),f(we,e),f(Te),f(ke),f(Le,e),f(Ae),f(Me),f(Pe,e),f(De),f(He),f(Qe,e),f(Ee),f(Ne),f(Ve,e),f(Be),f(Fe),f(Ie,e),f(je),f(Ge),f(We),f(Oe),f(Se,e),f(Ue),f(Re),f(Ye),f(Ze),f(Xe),f(Je,e),f(Ke),f(et),f(tt),f(nt),f(ot),f(rt),f(at),f(st),f(it),f(dt),f(lt),f(mt),f(ct),f(pt),f(ft,e),f(ut),f(gt),f(ht),f(_t),f(bt,e),f(vt),f(yt,e),f($t),f(qt),f(xt),f(zt),f(Ct,e),f(wt),f(xe),f(Tt),f(kt,e)}}}const vs='{"title":"양자화","local":"quantization","sections":[{"title":"QuantoConfig","local":"transformers.QuantoConfig ][ transformers.QuantoConfig","sections":[],"depth":2},{"title":"AqlmConfig","local":"transformers.AqlmConfig ][ transformers.AqlmConfig","sections":[],"depth":2},{"title":"VptqConfig","local":"transformers.VptqConfig ][ transformers.VptqConfig","sections":[],"depth":2},{"title":"AwqConfig","local":"transformers.AwqConfig ][ transformers.AwqConfig","sections":[],"depth":2},{"title":"EetqConfig","local":"transformers.EetqConfig ][ transformers.EetqConfig","sections":[],"depth":2},{"title":"GPTQConfig","local":"transformers.GPTQConfig ][ transformers.GPTQConfig","sections":[],"depth":2},{"title":"BitsAndBytesConfig","local":"#transformers.BitsAndBytesConfig ][ transformers.BitsAndBytesConfig","sections":[],"depth":2},{"title":"HfQuantizer","local":"transformers.quantizers.HfQuantizer ][ transformers.quantizers.HfQuantizer","sections":[],"depth":2},{"title":"HqqConfig","local":"transformers.HqqConfig ][ transformers.HqqConfig","sections":[],"depth":2},{"title":"FbgemmFp8Config","local":"transformers.FbgemmFp8Config ][ transformers.FbgemmFp8Config","sections":[],"depth":2},{"title":"CompressedTensorsConfig","local":"transformers.CompressedTensorsConfig ][ transformers.CompressedTensorsConfig","sections":[],"depth":2},{"title":"TorchAoConfig","local":"transformers.TorchAoConfig ][ transformers.TorchAoConfig","sections":[],"depth":2}],"depth":1}';function ys(At){return ds(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ks extends ls{constructor($){super(),ms(this,$,ys,bs,is,{})}}export{ks as component};
