import{s as Bt,o as Pt,n as Ut}from"../chunks/scheduler.bdbef820.js";import{S as Lt,i as Ht,g as m,s as n,r as i,A as zt,h as r,f as l,c as o,j as Ft,u as f,x as J,k as xt,y as Nt,a as s,v as u,d,t as c,w as M}from"../chunks/index.33f81d56.js";import{T as wt}from"../chunks/Tip.34194030.js";import{C as $}from"../chunks/CodeBlock.362b34a4.js";import{H as Qt,E as Yt}from"../chunks/EditOnGithub.a9246e21.js";function Dt(g){let a,T='PEFT를 활용한 GPTQ 양자화를 사용해보시려면 이 <a href="https://colab.research.google.com/drive/1_TIrmuKOFhuRRiTWN94iLKUFu6ZX4ceb" rel="nofollow">노트북</a>을 참고하시고, 자세한 내용은 이 <a href="https://huggingface.co/blog/gptq-integration" rel="nofollow">블로그 게시물</a>에서 확인하세요!';return{c(){a=m("p"),a.innerHTML=T},l(p){a=r(p,"P",{"data-svelte-h":!0}),J(a)!=="svelte-1da9pno"&&(a.innerHTML=T)},m(p,b){s(p,a,b)},p:Ut,d(p){p&&l(a)}}}function At(g){let a,T='하드웨어와 모델 매개변수량에 따라 모델을 처음부터 양자화하는 데 드는 시간이 서로 다를 수 있습니다. 예를 들어, 무료 등급의 Google Colab GPU로 비교적 가벼운 <a href="https://huggingface.co/facebook/opt-350m" rel="nofollow">facebook/opt-350m</a> 모델을 양자화하는 데 약 5분이 걸리지만, NVIDIA A100으로 175B에 달하는 매개변수를 가진 모델을 양자화하는 데는 약 4시간에 달하는 시간이 걸릴 수 있습니다. 모델을 양자화하기 전에, Hub에서 해당 모델의 GPTQ 양자화 버전이 이미 존재하는지 확인하는 것이 좋습니다.';return{c(){a=m("p"),a.innerHTML=T},l(p){a=r(p,"P",{"data-svelte-h":!0}),J(a)!=="svelte-1yg57hz"&&(a.innerHTML=T)},m(p,b){s(p,a,b)},p:Ut,d(p){p&&l(a)}}}function St(g){let a,T="4비트 모델만 지원되며, 양자화된 모델을 PEFT로 미세 조정하는 경우 ExLlama 커널을 비활성화할 것을 권장합니다.";return{c(){a=m("p"),a.textContent=T},l(p){a=r(p,"P",{"data-svelte-h":!0}),J(a)!=="svelte-rq1jxq"&&(a.textContent=T)},m(p,b){s(p,a,b)},p:Ut,d(p){p&&l(a)}}}function Kt(g){let a,T,p,b,U,D,h,A,_,_t='<a href="https://github.com/PanQiWei/AutoGPTQ" rel="nofollow">AutoGPTQ</a> 라이브러리는 GPTQ 알고리즘을 구현합니다. 이는 훈련 후 양자화 기법으로, 가중치 행렬의 각 행을 독립적으로 양자화하여 오차를 최소화하는 가중치 버전을 찾습니다. 이 가중치는 int4로 양자화되지만, 추론 중에는 실시간으로 fp16으로 복원됩니다. 이는 int4 가중치가 GPU의 전역 메모리 대신 결합된 커널에서 역양자화되기 때문에 메모리 사용량을 4배 절약할 수 있으며, 더 낮은 비트 너비를 사용함으로써 통신 시간이 줄어들어 추론 속도가 빨라질 것으로 기대할 수 있습니다.',S,C,Ct="시작하기 전에 다음 라이브러리들이 설치되어 있는지 확인하세요:",K,G,O,V,Gt='모델을 양자화하려면(현재 텍스트 모델만 지원됨) <a href="/docs/transformers/main/ko/main_classes/quantization#transformers.GPTQConfig">GPTQConfig</a> 클래스를 생성하고 양자화할 비트 수, 양자화를 위한 가중치 교정 데이터셋, 그리고 데이터셋을 준비하기 위한 토크나이저를 설정해야 합니다.',tt,j,et,Z,Vt="자신의 데이터셋을 문자열 리스트 형태로 전달할 수도 있지만, GPTQ 논문에서 사용한 동일한 데이터셋을 사용하는 것을 강력히 권장합니다.",lt,k,st,q,jt='양자화할 모델을 로드하고 <code>gptq_config</code>을 <a href="/docs/transformers/main/ko/model_doc/auto#transformers.AutoModel.from_pretrained">from_pretrained()</a> 메소드에 전달하세요. 모델을 메모리에 맞추기 위해 <code>device_map=&quot;auto&quot;</code>를 설정하여 모델을 자동으로 CPU로 오프로드하고, 양자화를 위해 모델 모듈이 CPU와 GPU 간에 이동할 수 있도록 합니다.',at,v,nt,E,Zt="데이터셋이 너무 커서 메모리가 부족한 경우를 대비한 디스크 오프로드는 현재 지원하지 않고 있습니다. 이럴 때는 <code>max_memory</code> 매개변수를 사용하여 디바이스(GPU 및 CPU)에서 사용할 메모리 양을 할당해 보세요:",ot,R,pt,y,mt,X,kt='모델이 양자화되면, 모델과 토크나이저를 Hub에 푸시하여 쉽게 공유하고 접근할 수 있습니다. <a href="/docs/transformers/main/ko/main_classes/quantization#transformers.GPTQConfig">GPTQConfig</a>를 저장하기 위해 <a href="/docs/transformers/main/ko/main_classes/model#transformers.utils.PushToHubMixin.push_to_hub">push_to_hub()</a> 메소드를 사용하세요:',rt,I,it,W,qt='양자화된 모델을 로컬에 저장하려면 <a href="/docs/transformers/main/ko/main_classes/model#transformers.PreTrainedModel.save_pretrained">save_pretrained()</a> 메소드를 사용할 수 있습니다. 모델이 <code>device_map</code> 매개변수로 양자화되었을 경우, 저장하기 전에 전체 모델을 GPU나 CPU로 이동해야 합니다. 예를 들어, 모델을 CPU에 저장하려면 다음과 같이 합니다:',ft,F,ut,x,vt='양자화된 모델을 다시 로드하려면 <a href="/docs/transformers/main/ko/main_classes/model#transformers.PreTrainedModel.from_pretrained">from_pretrained()</a> 메소드를 사용하고, <code>device_map=&quot;auto&quot;</code>를 설정하여 모든 사용 가능한 GPU에 모델을 자동으로 분산시켜 더 많은 메모리를 사용하지 않으면서 모델을 더 빠르게 로드할 수 있습니다.',dt,Q,ct,B,Mt,P,Et='<a href="https://github.com/turboderp/exllama" rel="nofollow">ExLlama</a>은 <a href="model_doc/llama">Llama</a> 모델의 Python/C++/CUDA 구현체로, 4비트 GPTQ 가중치를 사용하여 더 빠른 추론을 위해 설계되었습니다(이 <a href="https://github.com/huggingface/optimum/tree/main/tests/benchmark#gptq-benchmark" rel="nofollow">벤치마크</a>를 참고하세요). [‘GPTQConfig’] 객체를 생성할 때 ExLlama 커널이 기본적으로 활성화됩니다. 추론 속도를 더욱 높이기 위해, <code>exllama_config</code> 매개변수를 구성하여 <a href="https://github.com/turboderp/exllamav2" rel="nofollow">ExLlamaV2</a> 커널을 사용할 수 있습니다:',Jt,L,Tt,w,bt,H,Rt="ExLlama 커널은 전체 모델이 GPU에 있을 때만 지원됩니다. AutoGPTQ(버전 0.4.2 이상)로 CPU에서 추론을 수행하는 경우 ExLlama 커널을 비활성화해야 합니다. 이를 위해 config.json 파일의 양자화 설정에서 ExLlama 커널과 관련된 속성을 덮어써야 합니다.",$t,z,gt,N,ht,Y,yt;return U=new Qt({props:{title:"GPTQ",local:"gptq",headingTag:"h1"}}),h=new wt({props:{$$slots:{default:[Dt]},$$scope:{ctx:g}}}),G=new $({props:{code:"cGlwJTIwaW5zdGFsbCUyMGF1dG8tZ3B0cSUwQXBpcCUyMGluc3RhbGwlMjAtLXVwZ3JhZGUlMjBhY2NlbGVyYXRlJTIwb3B0aW11bSUyMHRyYW5zZm9ybWVycw==",highlighted:`pip install auto-gptq
pip install --upgrade accelerate optimum transformers`,wrap:!1}}),j=new $({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Nb2RlbEZvckNhdXNhbExNJTJDJTIwQXV0b1Rva2VuaXplciUyQyUyMEdQVFFDb25maWclMEElMEFtb2RlbF9pZCUyMCUzRCUyMCUyMmZhY2Vib29rJTJGb3B0LTEyNW0lMjIlMEF0b2tlbml6ZXIlMjAlM0QlMjBBdXRvVG9rZW5pemVyLmZyb21fcHJldHJhaW5lZChtb2RlbF9pZCklMEFncHRxX2NvbmZpZyUyMCUzRCUyMEdQVFFDb25maWcoYml0cyUzRDQlMkMlMjBkYXRhc2V0JTNEJTIyYzQlMjIlMkMlMjB0b2tlbml6ZXIlM0R0b2tlbml6ZXIp",highlighted:`<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoModelForCausalLM, AutoTokenizer, GPTQConfig

model_id = <span class="hljs-string">&quot;facebook/opt-125m&quot;</span>
tokenizer = AutoTokenizer.from_pretrained(model_id)
gptq_config = GPTQConfig(bits=<span class="hljs-number">4</span>, dataset=<span class="hljs-string">&quot;c4&quot;</span>, tokenizer=tokenizer)`,wrap:!1}}),k=new $({props:{code:"ZGF0YXNldCUyMCUzRCUyMCU1QiUyMmF1dG8tZ3B0cSUyMGlzJTIwYW4lMjBlYXN5LXRvLXVzZSUyMG1vZGVsJTIwcXVhbnRpemF0aW9uJTIwbGlicmFyeSUyMHdpdGglMjB1c2VyLWZyaWVuZGx5JTIwYXBpcyUyQyUyMGJhc2VkJTIwb24lMjBHUFRRJTIwYWxnb3JpdGhtLiUyMiU1RCUwQWdwdHFfY29uZmlnJTIwJTNEJTIwR1BUUUNvbmZpZyhiaXRzJTNENCUyQyUyMGRhdGFzZXQlM0RkYXRhc2V0JTJDJTIwdG9rZW5pemVyJTNEdG9rZW5pemVyKQ==",highlighted:`dataset = [<span class="hljs-string">&quot;auto-gptq is an easy-to-use model quantization library with user-friendly apis, based on GPTQ algorithm.&quot;</span>]
gptq_config = GPTQConfig(bits=<span class="hljs-number">4</span>, dataset=dataset, tokenizer=tokenizer)`,wrap:!1}}),v=new $({props:{code:"cXVhbnRpemVkX21vZGVsJTIwJTNEJTIwQXV0b01vZGVsRm9yQ2F1c2FsTE0uZnJvbV9wcmV0cmFpbmVkKG1vZGVsX2lkJTJDJTIwZGV2aWNlX21hcCUzRCUyMmF1dG8lMjIlMkMlMjBxdWFudGl6YXRpb25fY29uZmlnJTNEZ3B0cV9jb25maWcp",highlighted:'quantized_model = AutoModelForCausalLM.from_pretrained(model_id, device_map=<span class="hljs-string">&quot;auto&quot;</span>, quantization_config=gptq_config)',wrap:!1}}),R=new $({props:{code:"cXVhbnRpemVkX21vZGVsJTIwJTNEJTIwQXV0b01vZGVsRm9yQ2F1c2FsTE0uZnJvbV9wcmV0cmFpbmVkKG1vZGVsX2lkJTJDJTIwZGV2aWNlX21hcCUzRCUyMmF1dG8lMjIlMkMlMjBtYXhfbWVtb3J5JTNEJTdCMCUzQSUyMCUyMjMwR2lCJTIyJTJDJTIwMSUzQSUyMCUyMjQ2R2lCJTIyJTJDJTIwJTIyY3B1JTIyJTNBJTIwJTIyMzBHaUIlMjIlN0QlMkMlMjBxdWFudGl6YXRpb25fY29uZmlnJTNEZ3B0cV9jb25maWcp",highlighted:'quantized_model = AutoModelForCausalLM.from_pretrained(model_id, device_map=<span class="hljs-string">&quot;auto&quot;</span>, max_memory={<span class="hljs-number">0</span>: <span class="hljs-string">&quot;30GiB&quot;</span>, <span class="hljs-number">1</span>: <span class="hljs-string">&quot;46GiB&quot;</span>, <span class="hljs-string">&quot;cpu&quot;</span>: <span class="hljs-string">&quot;30GiB&quot;</span>}, quantization_config=gptq_config)',wrap:!1}}),y=new wt({props:{warning:!0,$$slots:{default:[At]},$$scope:{ctx:g}}}),I=new $({props:{code:"cXVhbnRpemVkX21vZGVsLnB1c2hfdG9faHViKCUyMm9wdC0xMjVtLWdwdHElMjIpJTBBdG9rZW5pemVyLnB1c2hfdG9faHViKCUyMm9wdC0xMjVtLWdwdHElMjIp",highlighted:`quantized_model.push_to_hub(<span class="hljs-string">&quot;opt-125m-gptq&quot;</span>)
tokenizer.push_to_hub(<span class="hljs-string">&quot;opt-125m-gptq&quot;</span>)`,wrap:!1}}),F=new $({props:{code:"cXVhbnRpemVkX21vZGVsLnNhdmVfcHJldHJhaW5lZCglMjJvcHQtMTI1bS1ncHRxJTIyKSUwQXRva2VuaXplci5zYXZlX3ByZXRyYWluZWQoJTIyb3B0LTEyNW0tZ3B0cSUyMiklMEElMEElMjMlMjBkZXZpY2VfbWFwJUVDJTlEJUI0JTIwJUVDJTg0JUE0JUVDJUEwJTk1JUVCJTkwJTlDJTIwJUVDJTgzJTgxJUVEJTgzJTlDJUVDJTk3JTkwJUVDJTg0JTlDJTIwJUVDJTk2JTkxJUVDJTlFJTkwJUVEJTk5JTk0JUVCJTkwJTlDJTIwJUVBJUIyJUJEJUVDJTlBJUIwJTBBcXVhbnRpemVkX21vZGVsLnRvKCUyMmNwdSUyMiklMEFxdWFudGl6ZWRfbW9kZWwuc2F2ZV9wcmV0cmFpbmVkKCUyMm9wdC0xMjVtLWdwdHElMjIp",highlighted:`quantized_model.save_pretrained(<span class="hljs-string">&quot;opt-125m-gptq&quot;</span>)
tokenizer.save_pretrained(<span class="hljs-string">&quot;opt-125m-gptq&quot;</span>)

<span class="hljs-comment"># device_map이 설정된 상태에서 양자화된 경우</span>
quantized_model.to(<span class="hljs-string">&quot;cpu&quot;</span>)
quantized_model.save_pretrained(<span class="hljs-string">&quot;opt-125m-gptq&quot;</span>)`,wrap:!1}}),Q=new $({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Nb2RlbEZvckNhdXNhbExNJTBBJTBBbW9kZWwlMjAlM0QlMjBBdXRvTW9kZWxGb3JDYXVzYWxMTS5mcm9tX3ByZXRyYWluZWQoJTIyJTdCeW91cl91c2VybmFtZSU3RCUyRm9wdC0xMjVtLWdwdHElMjIlMkMlMjBkZXZpY2VfbWFwJTNEJTIyYXV0byUyMik=",highlighted:`<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoModelForCausalLM

model = AutoModelForCausalLM.from_pretrained(<span class="hljs-string">&quot;{your_username}/opt-125m-gptq&quot;</span>, device_map=<span class="hljs-string">&quot;auto&quot;</span>)`,wrap:!1}}),B=new Qt({props:{title:"ExLlama",local:"exllama",headingTag:"h2"}}),L=new $({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwdHJhbnNmb3JtZXJzJTIwaW1wb3J0JTIwQXV0b01vZGVsRm9yQ2F1c2FsTE0lMkMlMjBHUFRRQ29uZmlnJTBBJTBBZ3B0cV9jb25maWclMjAlM0QlMjBHUFRRQ29uZmlnKGJpdHMlM0Q0JTJDJTIwZXhsbGFtYV9jb25maWclM0QlN0IlMjJ2ZXJzaW9uJTIyJTNBMiU3RCklMEFtb2RlbCUyMCUzRCUyMEF1dG9Nb2RlbEZvckNhdXNhbExNLmZyb21fcHJldHJhaW5lZCglMjIlN0J5b3VyX3VzZXJuYW1lJTdEJTJGb3B0LTEyNW0tZ3B0cSUyMiUyQyUyMGRldmljZV9tYXAlM0QlMjJhdXRvJTIyJTJDJTIwcXVhbnRpemF0aW9uX2NvbmZpZyUzRGdwdHFfY29uZmlnKQ==",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoModelForCausalLM, GPTQConfig

gptq_config = GPTQConfig(bits=<span class="hljs-number">4</span>, exllama_config={<span class="hljs-string">&quot;version&quot;</span>:<span class="hljs-number">2</span>})
model = AutoModelForCausalLM.from_pretrained(<span class="hljs-string">&quot;{your_username}/opt-125m-gptq&quot;</span>, device_map=<span class="hljs-string">&quot;auto&quot;</span>, quantization_config=gptq_config)`,wrap:!1}}),w=new wt({props:{warning:!0,$$slots:{default:[St]},$$scope:{ctx:g}}}),z=new $({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwdHJhbnNmb3JtZXJzJTIwaW1wb3J0JTIwQXV0b01vZGVsRm9yQ2F1c2FsTE0lMkMlMjBHUFRRQ29uZmlnJTBBZ3B0cV9jb25maWclMjAlM0QlMjBHUFRRQ29uZmlnKGJpdHMlM0Q0JTJDJTIwdXNlX2V4bGxhbWElM0RGYWxzZSklMEFtb2RlbCUyMCUzRCUyMEF1dG9Nb2RlbEZvckNhdXNhbExNLmZyb21fcHJldHJhaW5lZCglMjIlN0J5b3VyX3VzZXJuYW1lJTdEJTJGb3B0LTEyNW0tZ3B0cSUyMiUyQyUyMGRldmljZV9tYXAlM0QlMjJjcHUlMjIlMkMlMjBxdWFudGl6YXRpb25fY29uZmlnJTNEZ3B0cV9jb25maWcp",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoModelForCausalLM, GPTQConfig
gptq_config = GPTQConfig(bits=<span class="hljs-number">4</span>, use_exllama=<span class="hljs-literal">False</span>)
model = AutoModelForCausalLM.from_pretrained(<span class="hljs-string">&quot;{your_username}/opt-125m-gptq&quot;</span>, device_map=<span class="hljs-string">&quot;cpu&quot;</span>, quantization_config=gptq_config)`,wrap:!1}}),N=new Yt({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/ko/quantization/gptq.md"}}),{c(){a=m("meta"),T=n(),p=m("p"),b=n(),i(U.$$.fragment),D=n(),i(h.$$.fragment),A=n(),_=m("p"),_.innerHTML=_t,S=n(),C=m("p"),C.textContent=Ct,K=n(),i(G.$$.fragment),O=n(),V=m("p"),V.innerHTML=Gt,tt=n(),i(j.$$.fragment),et=n(),Z=m("p"),Z.textContent=Vt,lt=n(),i(k.$$.fragment),st=n(),q=m("p"),q.innerHTML=jt,at=n(),i(v.$$.fragment),nt=n(),E=m("p"),E.innerHTML=Zt,ot=n(),i(R.$$.fragment),pt=n(),i(y.$$.fragment),mt=n(),X=m("p"),X.innerHTML=kt,rt=n(),i(I.$$.fragment),it=n(),W=m("p"),W.innerHTML=qt,ft=n(),i(F.$$.fragment),ut=n(),x=m("p"),x.innerHTML=vt,dt=n(),i(Q.$$.fragment),ct=n(),i(B.$$.fragment),Mt=n(),P=m("p"),P.innerHTML=Et,Jt=n(),i(L.$$.fragment),Tt=n(),i(w.$$.fragment),bt=n(),H=m("p"),H.textContent=Rt,$t=n(),i(z.$$.fragment),gt=n(),i(N.$$.fragment),ht=n(),Y=m("p"),this.h()},l(t){const e=zt("svelte-u9bgzb",document.head);a=r(e,"META",{name:!0,content:!0}),e.forEach(l),T=o(t),p=r(t,"P",{}),Ft(p).forEach(l),b=o(t),f(U.$$.fragment,t),D=o(t),f(h.$$.fragment,t),A=o(t),_=r(t,"P",{"data-svelte-h":!0}),J(_)!=="svelte-1vdg1r0"&&(_.innerHTML=_t),S=o(t),C=r(t,"P",{"data-svelte-h":!0}),J(C)!=="svelte-1lpb91s"&&(C.textContent=Ct),K=o(t),f(G.$$.fragment,t),O=o(t),V=r(t,"P",{"data-svelte-h":!0}),J(V)!=="svelte-h8r0xk"&&(V.innerHTML=Gt),tt=o(t),f(j.$$.fragment,t),et=o(t),Z=r(t,"P",{"data-svelte-h":!0}),J(Z)!=="svelte-16sjond"&&(Z.textContent=Vt),lt=o(t),f(k.$$.fragment,t),st=o(t),q=r(t,"P",{"data-svelte-h":!0}),J(q)!=="svelte-1ohnq2z"&&(q.innerHTML=jt),at=o(t),f(v.$$.fragment,t),nt=o(t),E=r(t,"P",{"data-svelte-h":!0}),J(E)!=="svelte-lj3tj5"&&(E.innerHTML=Zt),ot=o(t),f(R.$$.fragment,t),pt=o(t),f(y.$$.fragment,t),mt=o(t),X=r(t,"P",{"data-svelte-h":!0}),J(X)!=="svelte-z2aoq7"&&(X.innerHTML=kt),rt=o(t),f(I.$$.fragment,t),it=o(t),W=r(t,"P",{"data-svelte-h":!0}),J(W)!=="svelte-1s17101"&&(W.innerHTML=qt),ft=o(t),f(F.$$.fragment,t),ut=o(t),x=r(t,"P",{"data-svelte-h":!0}),J(x)!=="svelte-dxybn9"&&(x.innerHTML=vt),dt=o(t),f(Q.$$.fragment,t),ct=o(t),f(B.$$.fragment,t),Mt=o(t),P=r(t,"P",{"data-svelte-h":!0}),J(P)!=="svelte-1s3k1d1"&&(P.innerHTML=Et),Jt=o(t),f(L.$$.fragment,t),Tt=o(t),f(w.$$.fragment,t),bt=o(t),H=r(t,"P",{"data-svelte-h":!0}),J(H)!=="svelte-wx4irt"&&(H.textContent=Rt),$t=o(t),f(z.$$.fragment,t),gt=o(t),f(N.$$.fragment,t),ht=o(t),Y=r(t,"P",{}),Ft(Y).forEach(l),this.h()},h(){xt(a,"name","hf:doc:metadata"),xt(a,"content",Ot)},m(t,e){Nt(document.head,a),s(t,T,e),s(t,p,e),s(t,b,e),u(U,t,e),s(t,D,e),u(h,t,e),s(t,A,e),s(t,_,e),s(t,S,e),s(t,C,e),s(t,K,e),u(G,t,e),s(t,O,e),s(t,V,e),s(t,tt,e),u(j,t,e),s(t,et,e),s(t,Z,e),s(t,lt,e),u(k,t,e),s(t,st,e),s(t,q,e),s(t,at,e),u(v,t,e),s(t,nt,e),s(t,E,e),s(t,ot,e),u(R,t,e),s(t,pt,e),u(y,t,e),s(t,mt,e),s(t,X,e),s(t,rt,e),u(I,t,e),s(t,it,e),s(t,W,e),s(t,ft,e),u(F,t,e),s(t,ut,e),s(t,x,e),s(t,dt,e),u(Q,t,e),s(t,ct,e),u(B,t,e),s(t,Mt,e),s(t,P,e),s(t,Jt,e),u(L,t,e),s(t,Tt,e),u(w,t,e),s(t,bt,e),s(t,H,e),s(t,$t,e),u(z,t,e),s(t,gt,e),u(N,t,e),s(t,ht,e),s(t,Y,e),yt=!0},p(t,[e]){const Xt={};e&2&&(Xt.$$scope={dirty:e,ctx:t}),h.$set(Xt);const It={};e&2&&(It.$$scope={dirty:e,ctx:t}),y.$set(It);const Wt={};e&2&&(Wt.$$scope={dirty:e,ctx:t}),w.$set(Wt)},i(t){yt||(d(U.$$.fragment,t),d(h.$$.fragment,t),d(G.$$.fragment,t),d(j.$$.fragment,t),d(k.$$.fragment,t),d(v.$$.fragment,t),d(R.$$.fragment,t),d(y.$$.fragment,t),d(I.$$.fragment,t),d(F.$$.fragment,t),d(Q.$$.fragment,t),d(B.$$.fragment,t),d(L.$$.fragment,t),d(w.$$.fragment,t),d(z.$$.fragment,t),d(N.$$.fragment,t),yt=!0)},o(t){c(U.$$.fragment,t),c(h.$$.fragment,t),c(G.$$.fragment,t),c(j.$$.fragment,t),c(k.$$.fragment,t),c(v.$$.fragment,t),c(R.$$.fragment,t),c(y.$$.fragment,t),c(I.$$.fragment,t),c(F.$$.fragment,t),c(Q.$$.fragment,t),c(B.$$.fragment,t),c(L.$$.fragment,t),c(w.$$.fragment,t),c(z.$$.fragment,t),c(N.$$.fragment,t),yt=!1},d(t){t&&(l(T),l(p),l(b),l(D),l(A),l(_),l(S),l(C),l(K),l(O),l(V),l(tt),l(et),l(Z),l(lt),l(st),l(q),l(at),l(nt),l(E),l(ot),l(pt),l(mt),l(X),l(rt),l(it),l(W),l(ft),l(ut),l(x),l(dt),l(ct),l(Mt),l(P),l(Jt),l(Tt),l(bt),l(H),l($t),l(gt),l(ht),l(Y)),l(a),M(U,t),M(h,t),M(G,t),M(j,t),M(k,t),M(v,t),M(R,t),M(y,t),M(I,t),M(F,t),M(Q,t),M(B,t),M(L,t),M(w,t),M(z,t),M(N,t)}}}const Ot='{"title":"GPTQ","local":"gptq","sections":[{"title":"ExLlama","local":"exllama","sections":[],"depth":2}],"depth":1}';function te(g){return Pt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class oe extends Lt{constructor(a){super(),Ht(this,a,te,Kt,Bt,{})}}export{oe as component};
