Buckets:
| import{s as vt,o as bt,n as Ae}from"../chunks/scheduler.7da89386.js";import{S as Ut,i as Tt,g as s,s as n,r as p,A as _t,h as r,f as l,c as a,j as yt,u as c,x as d,k as Mt,y as wt,a as o,v as u,d as f,t as h,w as g}from"../chunks/index.20910acc.js";import{T as Be}from"../chunks/Tip.53e22153.js";import{C as ie}from"../chunks/CodeBlock.143bd81e.js";import{H as M,E as Ct}from"../chunks/index.c9cd5e8b.js";function xt(v){let i,$=`We recommend using the <code>--help</code> flag to get more information about the | |
| available options for each command. | |
| <code>lighteval --help</code>`;return{c(){i=s("p"),i.innerHTML=$},l(m){i=r(m,"P",{"data-svelte-h":!0}),d(i)!=="svelte-1gm4bcl"&&(i.innerHTML=$)},m(m,y){o(m,i,y)},p:Ae,d(m){m&&l(i)}}}function kt(v){let i,$=`Both data and pipeline parallelism can be combined by setting | |
| <code>model_parallel=True</code> and using accelerate to distribute the data across the | |
| GPUs.`;return{c(){i=s("p"),i.innerHTML=$},l(m){i=r(m,"P",{"data-svelte-h":!0}),d(i)!=="svelte-2p0bbo"&&(i.innerHTML=$)},m(m,y){o(m,i,y)},p:Ae,d(m){m&&l(i)}}}function Jt(v){let i,$="Nanotron models cannot be evaluated without torchrun.";return{c(){i=s("p"),i.textContent=$},l(m){i=r(m,"P",{"data-svelte-h":!0}),d(i)!=="svelte-xg3kaz"&&(i.textContent=$)},m(m,y){o(m,i,y)},p:Ae,d(m){m&&l(i)}}}function Gt(v){let i,$,m,y,_,re,b,me,w,De="Lighteval can be used with a few different commands.",de,C,Ee=`<li><code>lighteval accelerate</code> : evaluate models on CPU or one or more GPUs using <a href="https://github.com/huggingface/accelerate" rel="nofollow">🤗 | |
| Accelerate</a></li> <li><code>lighteval nanotron</code>: evaluate models in distributed settings using <a href="https://github.com/huggingface/nanotron" rel="nofollow">⚡️ | |
| Nanotron</a></li> <li><code>lighteval vllm</code>: evaluate models on one or more GPUs using <a href="https://github.com/vllm-project/vllm" rel="nofollow">🚀 | |
| VLLM</a></li> <li><code>lighteval endpoint</code><ul><li><code>inference-endpoint</code>: evaluate models on one or more GPUs using <a href="https://huggingface.co/inference-endpoints/dedicated" rel="nofollow">🔗 | |
| Inference Endpoint</a></li> <li><code>tgi</code>: evaluate models on one or more GPUs using <a href="https://huggingface.co/docs/text-generation-inference/en/index" rel="nofollow">🔗 Text Generation Inference</a></li> <li><code>openai</code>: evaluate models on one or more GPUs using <a href="https://platform.openai.com/" rel="nofollow">🔗 OpenAI API</a></li></ul></li>`,pe,x,ce,k,Oe=`To evaluate <code>GPT-2</code> on the Truthful QA benchmark with <a href="https://github.com/huggingface/accelerate" rel="nofollow">🤗 | |
| Accelerate</a> , run:`,ue,J,fe,G,Ke="Here, we first choose a backend (either <code>accelerate</code>, <code>nanotron</code>, or <code>vllm</code>), and then specify the model and task(s) to run.",he,W,et=`The syntax for the model arguments is <code>key1=value1,key2=value2,etc</code>. | |
| Valid key-value pairs correspond with the backend configuration, and are detailed [below](#Model Arguments).`,ge,H,tt="The syntax for the task specification might be a bit hard to grasp at first. The format is as follows:",$e,L,ye,Z,lt=`If the fourth value is set to 1, lighteval will check if the prompt (including the few-shot examples) is too long for the context size of the task or the model. | |
| If so, the number of few shot examples is automatically reduced.`,Me,P,ot=`All officially supported tasks can be found at the <a href="available-tasks">tasks_list</a> and in the | |
| <a href="https://github.com/huggingface/lighteval/tree/main/src/lighteval/tasks/extended" rel="nofollow">extended folder</a>. | |
| Moreover, community-provided tasks can be found in the | |
| <a href="https://github.com/huggingface/lighteval/tree/main/community_tasks" rel="nofollow">community</a> folder. | |
| For more details on the implementation of the tasks, such as how prompts are constructed, or which metrics are used, you can have a look at the | |
| <a href="https://github.com/huggingface/lighteval/blob/main/src/lighteval/tasks/default_tasks.py" rel="nofollow">file</a> | |
| implementing them.`,ve,j,nt=`Running multiple tasks is supported, either with a comma-separated list, or by specifying a file path. | |
| The file should be structured like <a href="https://github.com/huggingface/lighteval/blob/main/examples/tasks/recommended_set.txt" rel="nofollow">examples/tasks/recommended_set.txt</a>. | |
| When specifying a path to file, it should start with <code>./</code>.`,be,Y,Ue,z,Te,N,_e,Q,at="To evaluate a model on one or more GPUs, first create a multi-gpu config by running.",we,R,Ce,q,it="You can then evaluate a model using data parallelism on 8 GPUs like follows:",xe,F,ke,I,st=`Here, <code>--override_batch_size</code> defines the batch size per device, so the effective | |
| batch size will be <code>override_batch_size * num_gpus</code>.`,Je,V,Ge,X,rt="To evaluate a model using pipeline parallelism on 2 or more GPUs, run:",We,S,He,B,mt="This will automatically use accelerate to distribute the model across the GPUs.",Le,U,Ze,A,Pe,D,dt=`The <code>model-args</code> argument takes a string representing a list of model | |
| argument. The arguments allowed vary depending on the backend you use (vllm or | |
| accelerate).`,je,E,Ye,O,pt=`<li><strong>pretrained</strong> (str): | |
| HuggingFace Hub model ID name or the path to a pre-trained | |
| model to load. This is effectively the <code>pretrained_model_name_or_path</code> | |
| argument of <code>from_pretrained</code> in the HuggingFace <code>transformers</code> API.</li> <li><strong>tokenizer</strong> (Optional[str]): HuggingFace Hub tokenizer ID that will be | |
| used for tokenization.</li> <li><strong>multichoice_continuations_start_space</strong> (Optional[bool]): Whether to add a | |
| space at the start of each continuation in multichoice generation. | |
| For example, context: “What is the capital of France?” and choices: “Paris”, “London”. | |
| Will be tokenized as: “What is the capital of France? Paris” and “What is the capital of France? London”. | |
| True adds a space, False strips a space, None does nothing</li> <li><strong>subfolder</strong> (Optional[str]): The subfolder within the model repository.</li> <li><strong>revision</strong> (str): The revision of the model.</li> <li><strong>max_gen_toks</strong> (Optional[int]): The maximum number of tokens to generate.</li> <li><strong>max_length</strong> (Optional[int]): The maximum length of the generated output.</li> <li><strong>add_special_tokens</strong> (bool, optional, defaults to True): Whether to add special tokens to the input sequences. | |
| If <code>None</code>, the default value will be set to <code>True</code> for seq2seq models (e.g. T5) and | |
| <code>False</code> for causal models.</li> <li><strong>model_parallel</strong> (bool, optional, defaults to None): | |
| True/False: force to use or not the <code>accelerate</code> library to load a large | |
| model across multiple devices. | |
| Default: None which corresponds to comparing the number of processes with | |
| the number of GPUs. If it’s smaller => model-parallelism, else not.</li> <li><strong>dtype</strong> (Union[str, torch.dtype], optional, defaults to None):): | |
| Converts the model weights to <code>dtype</code>, if specified. Strings get | |
| converted to <code>torch.dtype</code> objects (e.g. <code>float16</code> -> <code>torch.float16</code>). | |
| Use <code>dtype="auto"</code> to derive the type from the model’s weights.</li> <li><strong>device</strong> (Union[int, str]): device to use for model training.</li> <li><strong>quantization_config</strong> (Optional[BitsAndBytesConfig]): quantization | |
| configuration for the model, manually provided to load a normally floating point | |
| model at a quantized precision. Needed for 4-bit and 8-bit precision.</li> <li><strong>trust_remote_code</strong> (bool): Whether to trust remote code during model | |
| loading.</li>`,ze,K,Ne,ee,ct="<li><strong>pretrained</strong> (str): HuggingFace Hub model ID name or the path to a pre-trained model to load.</li> <li><strong>gpu_memory_utilization</strong> (float): The fraction of GPU memory to use.</li> <li><strong>batch_size</strong> (int): The batch size for model training.</li> <li><strong>revision</strong> (str): The revision of the model.</li> <li><strong>dtype</strong> (str, None): The data type to use for the model.</li> <li><strong>tensor_parallel_size</strong> (int): The number of tensor parallel units to use.</li> <li><strong>data_parallel_size</strong> (int): The number of data parallel units to use.</li> <li><strong>max_model_length</strong> (int): The maximum length of the model.</li> <li><strong>swap_space</strong> (int): The CPU swap space size (GiB) per GPU.</li> <li><strong>seed</strong> (int): The seed to use for the model.</li> <li><strong>trust_remote_code</strong> (bool): Whether to trust remote code during model loading.</li> <li><strong>use_chat_template</strong> (bool): Whether to use the chat template or not.</li> <li><strong>add_special_tokens</strong> (bool): Whether to add special tokens to the input sequences.</li> <li><strong>multichoice_continuations_start_space</strong> (bool): Whether to add a space at the start of each continuation in multichoice generation.</li> <li><strong>subfolder</strong> (Optional[str]): The subfolder within the model repository.</li>",Qe,te,Re,le,ut="To evaluate a model trained with nanotron on a single gpu.",qe,T,Fe,oe,Ie,ne,ft=`The <code>nproc-per-node</code> argument should match the data, tensor and pipeline | |
| parallelism confidured in the <code>lighteval_config_template.yaml</code> file. | |
| That is: <code>nproc-per-node = data_parallelism * tensor_parallelism * pipeline_parallelism</code>.`,Ve,ae,Xe,se,Se;return _=new M({props:{title:"Quicktour",local:"quicktour",headingTag:"h1"}}),b=new Be({props:{warning:!1,$$slots:{default:[xt]},$$scope:{ctx:v}}}),x=new M({props:{title:"Basic usage",local:"basic-usage",headingTag:"h2"}}),J=new ie({props:{code:"bGlnaHRldmFsJTIwYWNjZWxlcmF0ZSUyMCU1QyUwQSUyMCUyMCUyMCUyMCUyMCUyMm1vZGVsX25hbWUlM0RvcGVuYWktY29tbXVuaXR5JTJGZ3B0MiUyMiUyMCU1QyUwQSUyMCUyMCUyMCUyMCUyMCUyMmxlYWRlcmJvYXJkJTdDdHJ1dGhmdWxxYSUzQW1jJTdDMCU3QzAlMjI=",highlighted:`lighteval accelerate \\ | |
| <span class="hljs-string">"model_name=openai-community/gpt2"</span> \\ | |
| <span class="hljs-string">"leaderboard|truthfulqa:mc|0|0"</span>`,wrap:!1}}),L=new ie({props:{code:"JTdCc3VpdGUlN0QlN0MlN0J0YXNrJTdEJTdDJTdCbnVtX2Zld19zaG90JTdEJTdDJTdCMCUyMGZvciUyMHN0cmljdCUyMCU2MG51bV9mZXdfc2hvdHMlNjAlMkMlMjBvciUyMDElMjB0byUyMGFsbG93JTIwYSUyMHRydW5jYXRpb24lMjBpZiUyMGNvbnRleHQlMjBzaXplJTIwaXMlMjB0b28lMjBzbWFsbCU3RA==",highlighted:"{suite}|{task}|{num_few_shot}|{0 for strict `num_few_shots`, or 1 to allow a truncation if context size is too small}",wrap:!1}}),Y=new ie({props:{code:"bGlnaHRldmFsJTIwYWNjZWxlcmF0ZSUyMCU1QyUwQSUyMCUyMCUyMCUyMCUyMCUyMm1vZGVsX25hbWUlM0RvcGVuYWktY29tbXVuaXR5JTJGZ3B0MiUyMiUyMCU1QyUwQSUyMCUyMCUyMCUyMCUyMC4lMkZwYXRoJTJGdG8lMkZsaWdodGV2YWwlMkZleGFtcGxlcyUyRnRhc2tzJTJGcmVjb21tZW5kZWRfc2V0LnR4dCUwQSUyMyUyMG9yJTJDJTIwZS5nLiUyQyUyMCUyMmxlYWRlcmJvYXJkJTdDdHJ1dGhmdWxxYSUzQW1jJTdDMCU3QzAlN0MlMkNsZWFkZXJib2FyZCU3Q2dzbThrJTdDMyU3QzElMjI=",highlighted:`lighteval accelerate \\ | |
| <span class="hljs-string">"model_name=openai-community/gpt2"</span> \\ | |
| ./path/to/lighteval/examples/tasks/recommended_set.txt | |
| <span class="hljs-comment"># or, e.g., "leaderboard|truthfulqa:mc|0|0|,leaderboard|gsm8k|3|1"</span>`,wrap:!1}}),z=new M({props:{title:"Evaluate a model on one or more GPUs",local:"evaluate-a-model-on-one-or-more-gpus",headingTag:"h2"}}),N=new M({props:{title:"Data parallelism",local:"data-parallelism",headingTag:"h4"}}),R=new ie({props:{code:"YWNjZWxlcmF0ZSUyMGNvbmZpZw==",highlighted:"accelerate config",wrap:!1}}),F=new ie({props:{code:"YWNjZWxlcmF0ZSUyMGxhdW5jaCUyMC0tbXVsdGlfZ3B1JTIwLS1udW1fcHJvY2Vzc2VzJTNEOCUyMC1tJTIwJTVDJTBBJTIwJTIwJTIwJTIwbGlnaHRldmFsJTIwYWNjZWxlcmF0ZSUyMCU1QyUwQSUyMCUyMCUyMCUyMCUyMm1vZGVsX25hbWUlM0RvcGVuYWktY29tbXVuaXR5JTJGZ3B0MiUyMiUyMCU1QyUwQSUyMCUyMCUyMCUyMCUyMmxlYWRlcmJvYXJkJTdDdHJ1dGhmdWxxYSUzQW1jJTdDMCU3QzAlMjI=",highlighted:`accelerate launch --multi_gpu --num_processes=8 -m \\ | |
| lighteval accelerate \\ | |
| <span class="hljs-string">"model_name=openai-community/gpt2"</span> \\ | |
| <span class="hljs-string">"leaderboard|truthfulqa:mc|0|0"</span>`,wrap:!1}}),V=new M({props:{title:"Pipeline parallelism",local:"pipeline-parallelism",headingTag:"h4"}}),S=new ie({props:{code:"bGlnaHRldmFsJTIwYWNjZWxlcmF0ZSUyMCU1QyUwQSUyMCUyMCUyMCUyMCUyMm1vZGVsX25hbWUlM0RvcGVuYWktY29tbXVuaXR5JTJGZ3B0MiUyQ21vZGVsX3BhcmFsbGVsJTNEVHJ1ZSUyMiUyMCU1QyUwQSUyMCUyMCUyMCUyMCUyMmxlYWRlcmJvYXJkJTdDdHJ1dGhmdWxxYSUzQW1jJTdDMCU3QzAlMjI=",highlighted:`lighteval accelerate \\ | |
| <span class="hljs-string">"model_name=openai-community/gpt2,model_parallel=True"</span> \\ | |
| <span class="hljs-string">"leaderboard|truthfulqa:mc|0|0"</span>`,wrap:!1}}),U=new Be({props:{warning:!1,$$slots:{default:[kt]},$$scope:{ctx:v}}}),A=new M({props:{title:"Backend configuration",local:"backend-configuration",headingTag:"h2"}}),E=new M({props:{title:"Accelerate",local:"accelerate",headingTag:"h3"}}),K=new M({props:{title:"VLLM",local:"vllm",headingTag:"h3"}}),te=new M({props:{title:"Nanotron",local:"nanotron",headingTag:"h2"}}),T=new Be({props:{warning:!0,$$slots:{default:[Jt]},$$scope:{ctx:v}}}),oe=new ie({props:{code:"JTIwdG9yY2hydW4lMjAtLXN0YW5kYWxvbmUlMjAtLW5ub2RlcyUzRDElMjAtLW5wcm9jLXBlci1ub2RlJTNEMSUyMCUyMCU1QyUwQSUyMHNyYyUyRmxpZ2h0ZXZhbCUyRl9fbWFpbl9fLnB5JTIwbmFub3Ryb24lMjAlNUMlMEElMjAtLWNoZWNrcG9pbnQtY29uZmlnLXBhdGglMjAuLiUyRm5hbm90cm9uJTJGY2hlY2twb2ludHMlMkYxMCUyRmNvbmZpZy55YW1sJTIwJTVDJTBBJTIwLS1saWdodGV2YWwtY29uZmlnLXBhdGglMjBleGFtcGxlcyUyRm5hbm90cm9uJTJGbGlnaHRldmFsX2NvbmZpZ19vdmVycmlkZV90ZW1wbGF0ZS55YW1s",highlighted:` torchrun --standalone --nnodes=1 --nproc-per-node=1 \\ | |
| src/lighteval/__main__.py nanotron \\ | |
| --checkpoint-config-path ../nanotron/checkpoints/10/config.yaml \\ | |
| --lighteval-config-path examples/nanotron/lighteval_config_override_template.yaml`,wrap:!1}}),ae=new Ct({props:{source:"https://github.com/huggingface/lighteval/blob/main/docs/source/quicktour.mdx"}}),{c(){i=s("meta"),$=n(),m=s("p"),y=n(),p(_.$$.fragment),re=n(),p(b.$$.fragment),me=n(),w=s("p"),w.textContent=De,de=n(),C=s("ul"),C.innerHTML=Ee,pe=n(),p(x.$$.fragment),ce=n(),k=s("p"),k.innerHTML=Oe,ue=n(),p(J.$$.fragment),fe=n(),G=s("p"),G.innerHTML=Ke,he=n(),W=s("p"),W.innerHTML=et,ge=n(),H=s("p"),H.textContent=tt,$e=n(),p(L.$$.fragment),ye=n(),Z=s("p"),Z.textContent=lt,Me=n(),P=s("p"),P.innerHTML=ot,ve=n(),j=s("p"),j.innerHTML=nt,be=n(),p(Y.$$.fragment),Ue=n(),p(z.$$.fragment),Te=n(),p(N.$$.fragment),_e=n(),Q=s("p"),Q.textContent=at,we=n(),p(R.$$.fragment),Ce=n(),q=s("p"),q.textContent=it,xe=n(),p(F.$$.fragment),ke=n(),I=s("p"),I.innerHTML=st,Je=n(),p(V.$$.fragment),Ge=n(),X=s("p"),X.textContent=rt,We=n(),p(S.$$.fragment),He=n(),B=s("p"),B.textContent=mt,Le=n(),p(U.$$.fragment),Ze=n(),p(A.$$.fragment),Pe=n(),D=s("p"),D.innerHTML=dt,je=n(),p(E.$$.fragment),Ye=n(),O=s("ul"),O.innerHTML=pt,ze=n(),p(K.$$.fragment),Ne=n(),ee=s("ul"),ee.innerHTML=ct,Qe=n(),p(te.$$.fragment),Re=n(),le=s("p"),le.textContent=ut,qe=n(),p(T.$$.fragment),Fe=n(),p(oe.$$.fragment),Ie=n(),ne=s("p"),ne.innerHTML=ft,Ve=n(),p(ae.$$.fragment),Xe=n(),se=s("p"),this.h()},l(e){const t=_t("svelte-u9bgzb",document.head);i=r(t,"META",{name:!0,content:!0}),t.forEach(l),$=a(e),m=r(e,"P",{}),yt(m).forEach(l),y=a(e),c(_.$$.fragment,e),re=a(e),c(b.$$.fragment,e),me=a(e),w=r(e,"P",{"data-svelte-h":!0}),d(w)!=="svelte-170zkli"&&(w.textContent=De),de=a(e),C=r(e,"UL",{"data-svelte-h":!0}),d(C)!=="svelte-15k7gob"&&(C.innerHTML=Ee),pe=a(e),c(x.$$.fragment,e),ce=a(e),k=r(e,"P",{"data-svelte-h":!0}),d(k)!=="svelte-1hliq6s"&&(k.innerHTML=Oe),ue=a(e),c(J.$$.fragment,e),fe=a(e),G=r(e,"P",{"data-svelte-h":!0}),d(G)!=="svelte-sen3yg"&&(G.innerHTML=Ke),he=a(e),W=r(e,"P",{"data-svelte-h":!0}),d(W)!=="svelte-1nogtsd"&&(W.innerHTML=et),ge=a(e),H=r(e,"P",{"data-svelte-h":!0}),d(H)!=="svelte-1u8n90i"&&(H.textContent=tt),$e=a(e),c(L.$$.fragment,e),ye=a(e),Z=r(e,"P",{"data-svelte-h":!0}),d(Z)!=="svelte-17wosto"&&(Z.textContent=lt),Me=a(e),P=r(e,"P",{"data-svelte-h":!0}),d(P)!=="svelte-1rp0bxx"&&(P.innerHTML=ot),ve=a(e),j=r(e,"P",{"data-svelte-h":!0}),d(j)!=="svelte-uvvbnv"&&(j.innerHTML=nt),be=a(e),c(Y.$$.fragment,e),Ue=a(e),c(z.$$.fragment,e),Te=a(e),c(N.$$.fragment,e),_e=a(e),Q=r(e,"P",{"data-svelte-h":!0}),d(Q)!=="svelte-y0ncq1"&&(Q.textContent=at),we=a(e),c(R.$$.fragment,e),Ce=a(e),q=r(e,"P",{"data-svelte-h":!0}),d(q)!=="svelte-3b2ins"&&(q.textContent=it),xe=a(e),c(F.$$.fragment,e),ke=a(e),I=r(e,"P",{"data-svelte-h":!0}),d(I)!=="svelte-1ibtfit"&&(I.innerHTML=st),Je=a(e),c(V.$$.fragment,e),Ge=a(e),X=r(e,"P",{"data-svelte-h":!0}),d(X)!=="svelte-21byj1"&&(X.textContent=rt),We=a(e),c(S.$$.fragment,e),He=a(e),B=r(e,"P",{"data-svelte-h":!0}),d(B)!=="svelte-1px9mui"&&(B.textContent=mt),Le=a(e),c(U.$$.fragment,e),Ze=a(e),c(A.$$.fragment,e),Pe=a(e),D=r(e,"P",{"data-svelte-h":!0}),d(D)!=="svelte-1qd0o29"&&(D.innerHTML=dt),je=a(e),c(E.$$.fragment,e),Ye=a(e),O=r(e,"UL",{"data-svelte-h":!0}),d(O)!=="svelte-1khr4gh"&&(O.innerHTML=pt),ze=a(e),c(K.$$.fragment,e),Ne=a(e),ee=r(e,"UL",{"data-svelte-h":!0}),d(ee)!=="svelte-r0e92d"&&(ee.innerHTML=ct),Qe=a(e),c(te.$$.fragment,e),Re=a(e),le=r(e,"P",{"data-svelte-h":!0}),d(le)!=="svelte-1j3m91m"&&(le.textContent=ut),qe=a(e),c(T.$$.fragment,e),Fe=a(e),c(oe.$$.fragment,e),Ie=a(e),ne=r(e,"P",{"data-svelte-h":!0}),d(ne)!=="svelte-106lbf0"&&(ne.innerHTML=ft),Ve=a(e),c(ae.$$.fragment,e),Xe=a(e),se=r(e,"P",{}),yt(se).forEach(l),this.h()},h(){Mt(i,"name","hf:doc:metadata"),Mt(i,"content",Wt)},m(e,t){wt(document.head,i),o(e,$,t),o(e,m,t),o(e,y,t),u(_,e,t),o(e,re,t),u(b,e,t),o(e,me,t),o(e,w,t),o(e,de,t),o(e,C,t),o(e,pe,t),u(x,e,t),o(e,ce,t),o(e,k,t),o(e,ue,t),u(J,e,t),o(e,fe,t),o(e,G,t),o(e,he,t),o(e,W,t),o(e,ge,t),o(e,H,t),o(e,$e,t),u(L,e,t),o(e,ye,t),o(e,Z,t),o(e,Me,t),o(e,P,t),o(e,ve,t),o(e,j,t),o(e,be,t),u(Y,e,t),o(e,Ue,t),u(z,e,t),o(e,Te,t),u(N,e,t),o(e,_e,t),o(e,Q,t),o(e,we,t),u(R,e,t),o(e,Ce,t),o(e,q,t),o(e,xe,t),u(F,e,t),o(e,ke,t),o(e,I,t),o(e,Je,t),u(V,e,t),o(e,Ge,t),o(e,X,t),o(e,We,t),u(S,e,t),o(e,He,t),o(e,B,t),o(e,Le,t),u(U,e,t),o(e,Ze,t),u(A,e,t),o(e,Pe,t),o(e,D,t),o(e,je,t),u(E,e,t),o(e,Ye,t),o(e,O,t),o(e,ze,t),u(K,e,t),o(e,Ne,t),o(e,ee,t),o(e,Qe,t),u(te,e,t),o(e,Re,t),o(e,le,t),o(e,qe,t),u(T,e,t),o(e,Fe,t),u(oe,e,t),o(e,Ie,t),o(e,ne,t),o(e,Ve,t),u(ae,e,t),o(e,Xe,t),o(e,se,t),Se=!0},p(e,[t]){const ht={};t&2&&(ht.$$scope={dirty:t,ctx:e}),b.$set(ht);const gt={};t&2&&(gt.$$scope={dirty:t,ctx:e}),U.$set(gt);const $t={};t&2&&($t.$$scope={dirty:t,ctx:e}),T.$set($t)},i(e){Se||(f(_.$$.fragment,e),f(b.$$.fragment,e),f(x.$$.fragment,e),f(J.$$.fragment,e),f(L.$$.fragment,e),f(Y.$$.fragment,e),f(z.$$.fragment,e),f(N.$$.fragment,e),f(R.$$.fragment,e),f(F.$$.fragment,e),f(V.$$.fragment,e),f(S.$$.fragment,e),f(U.$$.fragment,e),f(A.$$.fragment,e),f(E.$$.fragment,e),f(K.$$.fragment,e),f(te.$$.fragment,e),f(T.$$.fragment,e),f(oe.$$.fragment,e),f(ae.$$.fragment,e),Se=!0)},o(e){h(_.$$.fragment,e),h(b.$$.fragment,e),h(x.$$.fragment,e),h(J.$$.fragment,e),h(L.$$.fragment,e),h(Y.$$.fragment,e),h(z.$$.fragment,e),h(N.$$.fragment,e),h(R.$$.fragment,e),h(F.$$.fragment,e),h(V.$$.fragment,e),h(S.$$.fragment,e),h(U.$$.fragment,e),h(A.$$.fragment,e),h(E.$$.fragment,e),h(K.$$.fragment,e),h(te.$$.fragment,e),h(T.$$.fragment,e),h(oe.$$.fragment,e),h(ae.$$.fragment,e),Se=!1},d(e){e&&(l($),l(m),l(y),l(re),l(me),l(w),l(de),l(C),l(pe),l(ce),l(k),l(ue),l(fe),l(G),l(he),l(W),l(ge),l(H),l($e),l(ye),l(Z),l(Me),l(P),l(ve),l(j),l(be),l(Ue),l(Te),l(_e),l(Q),l(we),l(Ce),l(q),l(xe),l(ke),l(I),l(Je),l(Ge),l(X),l(We),l(He),l(B),l(Le),l(Ze),l(Pe),l(D),l(je),l(Ye),l(O),l(ze),l(Ne),l(ee),l(Qe),l(Re),l(le),l(qe),l(Fe),l(Ie),l(ne),l(Ve),l(Xe),l(se)),l(i),g(_,e),g(b,e),g(x,e),g(J,e),g(L,e),g(Y,e),g(z,e),g(N,e),g(R,e),g(F,e),g(V,e),g(S,e),g(U,e),g(A,e),g(E,e),g(K,e),g(te,e),g(T,e),g(oe,e),g(ae,e)}}}const Wt='{"title":"Quicktour","local":"quicktour","sections":[{"title":"Basic usage","local":"basic-usage","sections":[],"depth":2},{"title":"Evaluate a model on one or more GPUs","local":"evaluate-a-model-on-one-or-more-gpus","sections":[{"title":"Data parallelism","local":"data-parallelism","sections":[],"depth":4},{"title":"Pipeline parallelism","local":"pipeline-parallelism","sections":[],"depth":4}],"depth":2},{"title":"Backend configuration","local":"backend-configuration","sections":[{"title":"Accelerate","local":"accelerate","sections":[],"depth":3},{"title":"VLLM","local":"vllm","sections":[],"depth":3}],"depth":2},{"title":"Nanotron","local":"nanotron","sections":[],"depth":2}],"depth":1}';function Ht(v){return bt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class zt extends Ut{constructor(i){super(),Tt(this,i,Ht,Gt,vt,{})}}export{zt as component}; | |
Xet Storage Details
- Size:
- 20.9 kB
- Xet hash:
- fd2fa025c8c3c7a2d01c6c2eaa28aca841ed798c5842dbca4d60e3bf318cd1d6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.