import{s as Ua,n as ja,o as qa}from"../chunks/scheduler.182ea377.js";import{S as Aa,i as Ra,g as n,s as o,r as u,A as Ga,h as a,f as i,c as l,j as mi,u as f,x as r,k as ci,y,a as s,v as p,d as h,t as d,w as m}from"../chunks/index.abf12888.js";import{C as g}from"../chunks/CodeBlock.57fe6e13.js";import{H as c,E as Za}from"../chunks/EditOnGithub.9b8e78e4.js";function Wa($l){let b,Mi,xi,$i,$,Ci,C,Cl="We ❤️ contributions from the open-source community! Everyone is welcome, and all types of participation –not just code– are valued and appreciated. Answering questions, helping others, reaching out, and improving the documentation are all immensely valuable to the community, so don’t be afraid and get involved if you’re up for it!",ki,k,kl='Everyone is encouraged to start by saying 👋 in our public Discord channel. We discuss the latest trends in diffusion models, ask questions, show off personal projects, help each other with contributions, or just hang out ☕. <a href="https://Discord.gg/G7tWnz98XR"><img alt="Join us on Discord" src="https://img.shields.io/discord/823813159592001537?color=5865F2&amp;logo=discord&amp;logoColor=white"/></a>',Ii,I,Il='Whichever way you choose to contribute, we strive to be part of an open, welcoming, and kind community. Please, read our <a href="https://github.com/huggingface/diffusers/blob/main/CODE_OF_CONDUCT.md" rel="nofollow">code of conduct</a> and be mindful to respect it during your interactions. We also recommend you become familiar with the <a href="https://huggingface.co/docs/diffusers/conceptual/ethical_guidelines" rel="nofollow">ethical guidelines</a> that guide our project and ask you to adhere to the same principles of transparency and responsibility.',Hi,H,Hl="We enormously value feedback from the community, so please do not be afraid to speak up if you believe you have valuable feedback that can help improve the library - every message, comment, issue, and pull request (PR) is read and considered.",Li,L,Pi,P,Ll=`You can contribute in many ways ranging from answering questions on issues to adding new diffusion models to
the core library.`,_i,_,Pl="In the following, we give an overview of different ways to contribute, ranked by difficulty in ascending order. All of them are valuable to the community.",Ji,J,_l='<li><ol><li>Asking and answering questions on <a href="https://discuss.huggingface.co/c/discussion-related-to-httpsgithubcomhuggingfacediffusers" rel="nofollow">the Diffusers discussion forum</a> or on <a href="https://discord.gg/G7tWnz98XR" rel="nofollow">Discord</a>.</li></ol></li> <li><ol start="2"><li>Opening new issues on <a href="https://github.com/huggingface/diffusers/issues/new/choose" rel="nofollow">the GitHub Issues tab</a>.</li></ol></li> <li><ol start="3"><li>Answering issues on <a href="https://github.com/huggingface/diffusers/issues" rel="nofollow">the GitHub Issues tab</a>.</li></ol></li> <li><ol start="4"><li>Fix a simple issue, marked by the “Good first issue” label, see <a href="https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22" rel="nofollow">here</a>.</li></ol></li> <li><ol start="5"><li>Contribute to the <a href="https://github.com/huggingface/diffusers/tree/main/docs/source" rel="nofollow">documentation</a>.</li></ol></li> <li><ol start="6"><li>Contribute a <a href="https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3Acommunity-examples" rel="nofollow">Community Pipeline</a>.</li></ol></li> <li><ol start="7"><li>Contribute to the <a href="https://github.com/huggingface/diffusers/tree/main/examples" rel="nofollow">examples</a>.</li></ol></li> <li><ol start="8"><li>Fix a more difficult issue, marked by the “Good second issue” label, see <a href="https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3A%22Good+second+issue%22" rel="nofollow">here</a>.</li></ol></li> <li><ol start="9"><li>Add a new pipeline, model, or scheduler, see <a href="https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3A%22New+pipeline%2Fmodel%22" rel="nofollow">“New Pipeline/Model”</a> and <a href="https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3A%22New+scheduler%22" rel="nofollow">“New scheduler”</a> issues. For this contribution, please have a look at <a href="https://github.com/huggingface/diffusers/blob/main/PHILOSOPHY.md" rel="nofollow">Design Philosophy</a>.</li></ol></li>',Ui,U,Jl=`As said before, <strong>all contributions are valuable to the community</strong>.
In the following, we will explain each contribution a bit more in detail.`,ji,j,Ul='For all contributions 4 - 9, you will need to open a PR. It is explained in detail how to do so in <a href="#how-to-open-a-pr">Opening a pull request</a>.',qi,q,Ai,A,jl='Any question or comment related to the Diffusers library can be asked on the <a href="https://discuss.huggingface.co/c/discussion-related-to-httpsgithubcomhuggingfacediffusers/" rel="nofollow">discussion forum</a> or on <a href="https://discord.gg/G7tWnz98XR" rel="nofollow">Discord</a>. Such questions and comments include (but are not limited to):',Ri,R,ql="<li>Reports of training or inference experiments in an attempt to share knowledge</li> <li>Presentation of personal projects</li> <li>Questions to non-official training examples</li> <li>Project proposals</li> <li>General feedback</li> <li>Paper summaries</li> <li>Asking for help on personal projects that build on top of the Diffusers library</li> <li>General questions</li> <li>Ethical questions regarding diffusion models</li> <li>…</li>",Gi,G,Al=`Every question that is asked on the forum or on Discord actively encourages the community to publicly
share knowledge and might very well help a beginner in the future who has the same question you’re
having. Please do pose any questions you might have.
In the same spirit, you are of immense help to the community by answering such questions because this way you are publicly documenting knowledge for everybody to learn from.`,Zi,Z,Rl=`<strong>Please</strong> keep in mind that the more effort you put into asking or answering a question, the higher
the quality of the publicly documented knowledge. In the same way, well-posed and well-answered questions create a high-quality knowledge database accessible to everybody, while badly posed questions or answers reduce the overall quality of the public knowledge database.
In short, a high quality question or answer is <em>precise</em>, <em>concise</em>, <em>relevant</em>, <em>easy-to-understand</em>, <em>accessible</em>, and <em>well-formated/well-posed</em>. For more information, please have a look through the <a href="#how-to-write-a-good-issue">How to write a good issue</a> section.`,Wi,W,Gl=`<strong>NOTE about channels</strong>:
<a href="https://discuss.huggingface.co/c/discussion-related-to-httpsgithubcomhuggingfacediffusers/63" rel="nofollow"><em>The forum</em></a> is much better indexed by search engines, such as Google. Posts are ranked by popularity rather than chronologically. Hence, it’s easier to look up questions and answers that we posted some time ago.
In addition, questions and answers posted in the forum can easily be linked to.
In contrast, <em>Discord</em> has a chat-like format that invites fast back-and-forth communication.
While it will most likely take less time for you to get an answer to your question on Discord, your
question won’t be visible anymore over time. Also, it’s much harder to find information that was posted a while back on Discord. We therefore strongly recommend using the forum for high-quality questions and answers in an attempt to create long-lasting knowledge for the community. If discussions on Discord lead to very interesting answers and conclusions, we recommend posting the results on the forum to make the information more available for future readers.`,Di,D,Bi,B,Zl=`The 🧨 Diffusers library is robust and reliable thanks to the users who notify us of
the problems they encounter. So thank you for reporting an issue.`,Ni,N,Wl="Remember, GitHub issues are reserved for technical questions directly related to the Diffusers library, bug reports, feature requests, or feedback on the library design.",Xi,X,Dl='In a nutshell, this means that everything that is <strong>not</strong> related to the <strong>code of the Diffusers library</strong> (including the documentation) should <strong>not</strong> be asked on GitHub, but rather on either the <a href="https://discuss.huggingface.co/c/discussion-related-to-httpsgithubcomhuggingfacediffusers/63" rel="nofollow">forum</a> or <a href="https://discord.gg/G7tWnz98XR" rel="nofollow">Discord</a>.',Fi,F,Bl="<strong>Please consider the following guidelines when opening a new issue</strong>:",Si,S,Nl=`<li>Make sure you have searched whether your issue has already been asked before (use the search bar on GitHub under Issues).</li> <li>Please never report a new issue on another (related) issue. If another issue is highly related, please
open a new issue nevertheless and link to the related issue.</li> <li>Make sure your issue is written in English. Please use one of the great, free online translation services, such as <a href="https://www.deepl.com/translator" rel="nofollow">DeepL</a> to translate from your native language to English if you are not comfortable in English.</li> <li>Check whether your issue might be solved by updating to the newest Diffusers version. Before posting your issue, please make sure that <code>python -c &quot;import diffusers; print(diffusers.__version__)&quot;</code> is higher or matches the latest Diffusers version.</li> <li>Remember that the more effort you put into opening a new issue, the higher the quality of your answer will be and the better the overall quality of the Diffusers issues.</li>`,Yi,Y,Xl="New issues usually include the following.",zi,z,Ei,E,Fl=`A bug report should always have a reproducible code snippet and be as minimal and concise as possible.
This means in more detail:`,Vi,V,Sl='<li>Narrow the bug down as much as you can, <strong>do not just dump your whole code file</strong>.</li> <li>Format your code.</li> <li>Do not include any external libraries except for Diffusers depending on them.</li> <li><strong>Always</strong> provide all necessary information about your environment; for this, you can run: <code>diffusers-cli env</code> in your shell and copy-paste the displayed information to the issue.</li> <li>Explain the issue. If the reader doesn’t know what the issue is and why it is an issue, she cannot solve it.</li> <li><strong>Always</strong> make sure the reader can reproduce your issue with as little effort as possible. If your code snippet cannot be run because of missing libraries or undefined variables, the reader cannot help you. Make sure your reproducible code snippet is as minimal as possible and can be copy-pasted into a simple Python shell.</li> <li>If in order to reproduce your issue a model and/or dataset is required, make sure the reader has access to that model or dataset. You can always upload your model or dataset to the <a href="https://huggingface.co" rel="nofollow">Hub</a> to make it easily downloadable. Try to keep your model and dataset as small as possible, to make the reproduction of your issue as effortless as possible.</li>',Oi,O,Yl='For more information, please have a look through the <a href="#how-to-write-a-good-issue">How to write a good issue</a> section.',Qi,Q,zl='You can open a bug report <a href="https://github.com/huggingface/diffusers/issues/new?assignees=&amp;labels=bug&amp;projects=&amp;template=bug-report.yml" rel="nofollow">here</a>.',Ki,K,es,ee,El="A world-class feature request addresses the following points:",ts,te,Vl="<li>Motivation first:</li>",is,ie,Ol=`<li>Is it related to a problem/frustration with the library? If so, please explain
why. Providing a code snippet that demonstrates the problem is best.</li> <li>Is it related to something you would need for a project? We’d love to hear
about it!</li> <li>Is it something you worked on and think could benefit the community?
Awesome! Tell us what problem it solved for you.</li>`,ss,v,Ql="<li>Write a <em>full paragraph</em> describing the feature;</li> <li>Provide a <strong>code snippet</strong> that demonstrates its future use;</li> <li>In case this is related to a paper, please attach a link;</li> <li>Attach any additional information (drawings, screenshots, etc.) you think may help.</li>",os,se,Kl='You can open a feature request <a href="https://github.com/huggingface/diffusers/issues/new?assignees=&amp;labels=&amp;template=feature_request.md&amp;title=" rel="nofollow">here</a>.',ls,oe,ns,le,en=`Feedback about the library design and why it is good or not good helps the core maintainers immensely to build a user-friendly library. To understand the philosophy behind the current design philosophy, please have a look <a href="https://huggingface.co/docs/diffusers/conceptual/philosophy" rel="nofollow">here</a>. If you feel like a certain design choice does not fit with the current design philosophy, please explain why and how it should be changed. If a certain design choice follows the design philosophy too much, hence restricting use cases, explain why and how it should be changed.
If a certain design choice is very useful for you, please also leave a note as this is great feedback for future design decisions.`,as,ne,tn='You can open an issue about feedback <a href="https://github.com/huggingface/diffusers/issues/new?assignees=&amp;labels=&amp;template=feedback.md&amp;title=" rel="nofollow">here</a>.',rs,ae,us,re,sn=`Technical questions are mainly about why certain code of the library was written in a certain way, or what a certain part of the code does. Please make sure to link to the code in question and please provide details on
why this part of the code is difficult to understand.`,fs,ue,on='You can open an issue about a technical question <a href="https://github.com/huggingface/diffusers/issues/new?assignees=&amp;labels=bug&amp;template=bug-report.yml" rel="nofollow">here</a>.',ps,fe,hs,pe,ln="If the diffusion model community released a new model, pipeline, or scheduler that you would like to see in the Diffusers library, please provide the following information:",ds,he,nn="<li>Short description of the diffusion pipeline, model, or scheduler and link to the paper or public release.</li> <li>Link to any of its open-source implementation(s).</li> <li>Link to the model weights if they are available.</li>",ms,de,an=`If you are willing to contribute to the model yourself, let us know so we can best guide you. Also, don’t forget
to tag the original author of the component (model, scheduler, pipeline, etc.) by GitHub handle if you can find it.`,cs,me,rn='You can open a request for a model/pipeline/scheduler <a href="https://github.com/huggingface/diffusers/issues/new?assignees=&amp;labels=New+model%2Fpipeline%2Fscheduler&amp;template=new-model-addition.yml" rel="nofollow">here</a>.',gs,ce,ys,ge,un=`Answering issues on GitHub might require some technical knowledge of Diffusers, but we encourage everybody to give it a try even if you are not 100% certain that your answer is correct.
Some tips to give a high-quality answer to an issue:`,ws,ye,fn="<li>Be as concise and minimal as possible.</li> <li>Stay on topic. An answer to the issue should concern the issue and only the issue.</li> <li>Provide links to code, papers, or other sources that prove or encourage your point.</li> <li>Answer in code. If a simple code snippet is the answer to the issue or shows how the issue can be solved, please provide a fully reproducible code snippet.</li>",bs,we,pn=`Also, many issues tend to be simply off-topic, duplicates of other issues, or irrelevant. It is of great
help to the maintainers if you can answer such issues, encouraging the author of the issue to be
more precise, provide the link to a duplicated issue or redirect them to <a href="https://discuss.huggingface.co/c/discussion-related-to-httpsgithubcomhuggingfacediffusers/63" rel="nofollow">the forum</a> or <a href="https://discord.gg/G7tWnz98XR" rel="nofollow">Discord</a>.`,vs,be,hn=`If you have verified that the issued bug report is correct and requires a correction in the source code,
please have a look at the next sections.`,xs,ve,dn='For all of the following contributions, you will need to open a PR. It is explained in detail how to do so in the <a href="#how-to-open-a-pr">Opening a pull request</a> section.',Ts,xe,Ms,Te,mn=`<em>Good first issues</em> are marked by the <a href="https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22" rel="nofollow">Good first issue</a> label. Usually, the issue already
explains how a potential solution should look so that it is easier to fix.
If the issue hasn’t been closed and you would like to try to fix this issue, you can just leave a message “I would like to try this issue.”. There are usually three scenarios:`,$s,Me,cn="<li>a.) The issue description already proposes a fix. In this case and if the solution makes sense to you, you can open a PR or draft PR to fix it.</li> <li>b.) The issue description does not propose a fix. In this case, you can ask what a proposed fix could look like and someone from the Diffusers team should answer shortly. If you have a good idea of how to fix it, feel free to directly open a PR.</li> <li>c.) There is already an open PR to fix the issue, but the issue hasn’t been closed yet. If the PR has gone stale, you can simply open a new PR and link to the stale PR. PRs often go stale if the original contributor who wanted to fix the issue suddenly cannot find the time anymore to proceed. This often happens in open-source and is very normal. In this case, the community will be very happy if you give it a new try and leverage the knowledge of the existing PR. If there is already a PR and it is active, you can help the author by giving suggestions, reviewing the PR or even asking whether you can contribute to the PR.</li>",Cs,$e,ks,Ce,gn=`A good library <strong>always</strong> has good documentation! The official documentation is often one of the first points of contact for new users of the library, and therefore contributing to the documentation is a <strong>highly
valuable contribution</strong>.`,Is,ke,yn="Contributing to the library can have many forms:",Hs,Ie,wn="<li>Correcting spelling or grammatical errors.</li> <li>Correct incorrect formatting of the docstring. If you see that the official documentation is weirdly displayed or a link is broken, we would be very happy if you take some time to correct it.</li> <li>Correct the shape or dimensions of a docstring input or output tensor.</li> <li>Clarify documentation that is hard to understand or incorrect.</li> <li>Update outdated code examples.</li> <li>Translating the documentation to another language.</li>",Ls,He,bn='Anything displayed on <a href="https://huggingface.co/docs/diffusers/index" rel="nofollow">the official Diffusers doc page</a> is part of the official documentation and can be corrected, adjusted in the respective <a href="https://github.com/huggingface/diffusers/tree/main/docs/source" rel="nofollow">documentation source</a>.',Ps,Le,vn='Please have a look at <a href="https://github.com/huggingface/diffusers/tree/main/docs" rel="nofollow">this page</a> on how to verify changes made to the documentation locally.',_s,Pe,Js,_e,xn=`<a href="https://huggingface.co/docs/diffusers/api/pipelines/overview" rel="nofollow">Pipelines</a> are usually the first point of contact between the Diffusers library and the user.
Pipelines are examples of how to use Diffusers <a href="https://huggingface.co/docs/diffusers/api/models/overview" rel="nofollow">models</a> and <a href="https://huggingface.co/docs/diffusers/api/schedulers/overview" rel="nofollow">schedulers</a>.
We support two types of pipelines:`,Us,Je,Tn="<li>Official Pipelines</li> <li>Community Pipelines</li>",js,Ue,Mn="Both official and community pipelines follow the same design and consist of the same type of components.",qs,je,$n=`Official pipelines are tested and maintained by the core maintainers of Diffusers. Their code
resides in <a href="https://github.com/huggingface/diffusers/tree/main/src/diffusers/pipelines" rel="nofollow">src/diffusers/pipelines</a>.
In contrast, community pipelines are contributed and maintained purely by the <strong>community</strong> and are <strong>not</strong> tested.
They reside in <a href="https://github.com/huggingface/diffusers/tree/main/examples/community" rel="nofollow">examples/community</a> and while they can be accessed via the <a href="https://pypi.org/project/diffusers/" rel="nofollow">PyPI diffusers package</a>, their code is not part of the PyPI distribution.`,As,qe,Cn=`The reason for the distinction is that the core maintainers of the Diffusers library cannot maintain and test all
possible ways diffusion models can be used for inference, but some of them may be of interest to the community.
Officially released diffusion pipelines,
such as Stable Diffusion are added to the core src/diffusers/pipelines package which ensures
high quality of maintenance, no backward-breaking code changes, and testing.
More bleeding edge pipelines should be added as community pipelines. If usage for a community pipeline is high, the pipeline can be moved to the official pipelines upon request from the community. This is one of the ways we strive to be a community-driven library.`,Rs,Ae,kn='To add a community pipeline, one should add a &lt;name-of-the-community&gt;.py file to <a href="https://github.com/huggingface/diffusers/tree/main/examples/community" rel="nofollow">examples/community</a> and adapt the <a href="https://github.com/huggingface/diffusers/tree/main/examples/community/README.md" rel="nofollow">examples/community/README.md</a> to include an example of the new pipeline.',Gs,Re,In='An example can be seen <a href="https://github.com/huggingface/diffusers/pull/2400" rel="nofollow">here</a>.',Zs,Ge,Hn="Community pipeline PRs are only checked at a superficial level and ideally they should be maintained by their original authors.",Ws,Ze,Ln=`Contributing a community pipeline is a great way to understand how Diffusers models and schedulers work. Having contributed a community pipeline is usually the first stepping stone to contributing an official pipeline to the
core package.`,Ds,We,Bs,De,Pn='Diffusers examples are a collection of training scripts that reside in <a href="https://github.com/huggingface/diffusers/tree/main/examples" rel="nofollow">examples</a>.',Ns,Be,_n="We support two types of training examples:",Xs,Ne,Jn="<li>Official training examples</li> <li>Research training examples</li>",Fs,Xe,Un=`Research training examples are located in <a href="https://github.com/huggingface/diffusers/tree/main/examples/research_projects" rel="nofollow">examples/research_projects</a> whereas official training examples include all folders under <a href="https://github.com/huggingface/diffusers/tree/main/examples" rel="nofollow">examples</a> except the <code>research_projects</code> and <code>community</code> folders.
The official training examples are maintained by the Diffusers’ core maintainers whereas the research training examples are maintained by the community.
This is because of the same reasons put forward in <a href="#6-contribute-a-community-pipeline">6. Contribute a community pipeline</a> for official pipelines vs. community pipelines: It is not feasible for the core maintainers to maintain all possible training methods for diffusion models.
If the Diffusers core maintainers and the community consider a certain training paradigm to be too experimental or not popular enough, the corresponding training code should be put in the <code>research_projects</code> folder and maintained by the author.`,Ss,Fe,jn=`Both official training and research examples consist of a directory that contains one or more training scripts, a requirements.txt file, and a README.md file. In order for the user to make use of the
training examples, it is required to clone the repository:`,Ys,Se,zs,Ye,qn="as well as to install all additional dependencies required for training:",Es,ze,Vs,Ee,An='Therefore when adding an example, the <code>requirements.txt</code> file shall define all pip dependencies required for your training example so that once all those are installed, the user can run the example’s training script. See, for example, the <a href="https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/requirements.txt" rel="nofollow">DreamBooth <code>requirements.txt</code> file</a>.',Os,Ve,Rn="Training examples of the Diffusers library should adhere to the following philosophy:",Qs,Oe,Gn="<li>All the code necessary to run the examples should be found in a single Python file.</li> <li>One should be able to run the example from the command line with <code>python &lt;your-example&gt;.py --args</code>.</li> <li>Examples should be kept simple and serve as <strong>an example</strong> on how to use Diffusers for training. The purpose of example scripts is <strong>not</strong> to create state-of-the-art diffusion models, but rather to reproduce known training schemes without adding too much custom logic. As a byproduct of this point, our examples also strive to serve as good educational materials.</li>",Ks,Qe,Zn=`To contribute an example, it is highly recommended to look at already existing examples such as <a href="https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/train_dreambooth.py" rel="nofollow">dreambooth</a> to get an idea of how they should look like.
We strongly advise contributors to make use of the <a href="https://github.com/huggingface/accelerate" rel="nofollow">Accelerate library</a> as it’s tightly integrated
with Diffusers.
Once an example script works, please make sure to add a comprehensive <code>README.md</code> that states how to use the example exactly. This README should include:`,eo,Ke,Wn='<li>An example command on how to run the example script as shown <a href="https://github.com/huggingface/diffusers/tree/main/examples/dreambooth#running-locally-with-pytorch" rel="nofollow">here</a>.</li> <li>A link to some training results (logs, models, etc.) that show what the user can expect as shown <a href="https://api.wandb.ai/report/patrickvonplaten/xm6cd5q5" rel="nofollow">here</a>.</li> <li>If you are adding a non-official/research training example, <strong>please don’t forget</strong> to add a sentence that you are maintaining this training example which includes your git handle as shown <a href="https://github.com/huggingface/diffusers/tree/main/examples/research_projects/intel_opts#diffusers-examples-with-intel-optimizations" rel="nofollow">here</a>.</li>',to,et,Dn='If you are contributing to the official training examples, please also make sure to add a test to <a href="https://github.com/huggingface/diffusers/blob/main/examples/test_examples.py" rel="nofollow">examples/test_examples.py</a>. This is not necessary for non-official training examples.',io,tt,so,it,Bn=`<em>Good second issues</em> are marked by the <a href="https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3A%22Good+second+issue%22" rel="nofollow">Good second issue</a> label. Good second issues are
usually more complicated to solve than <a href="https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22" rel="nofollow">Good first issues</a>.
The issue description usually gives less guidance on how to fix the issue and requires
a decent understanding of the library by the interested contributor.
If you are interested in tackling a good second issue, feel free to open a PR to fix it and link the PR to the issue. If you see that a PR has already been opened for this issue but did not get merged, have a look to understand why it wasn’t merged and try to open an improved PR.
Good second issues are usually more difficult to get merged compared to good first issues, so don’t hesitate to ask for help from the core maintainers. If your PR is almost finished the core maintainers can also jump into your PR and commit to it in order to get it merged.`,oo,st,lo,ot,Nn=`Pipelines, models, and schedulers are the most important pieces of the Diffusers library.
They provide easy access to state-of-the-art diffusion technologies and thus allow the community to
build powerful generative AI applications.`,no,lt,Xn="By adding a new model, pipeline, or scheduler you might enable a new powerful use case for any of the user interfaces relying on Diffusers which can be of immense value for the whole generative AI ecosystem.",ao,nt,Fn=`Diffusers has a couple of open feature requests for all three components - feel free to gloss over them
if you don’t know yet what specific component you would like to add:`,ro,at,Sn='<li><a href="https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3A%22New+pipeline%2Fmodel%22" rel="nofollow">Model or pipeline</a></li> <li><a href="https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3A%22New+scheduler%22" rel="nofollow">Scheduler</a></li>',uo,rt,Yn=`Before adding any of the three components, it is strongly recommended that you give the <a href="philosophy">Philosophy guide</a> a read to better understand the design of any of the three components. Please be aware that we cannot merge model, scheduler, or pipeline additions that strongly diverge from our design philosophy
as it will lead to API inconsistencies. If you fundamentally disagree with a design choice, please open a <a href="https://github.com/huggingface/diffusers/issues/new?assignees=&amp;labels=&amp;template=feedback.md&amp;title=" rel="nofollow">Feedback issue</a> instead so that it can be discussed whether a certain design pattern/design choice shall be changed everywhere in the library and whether we shall update our design philosophy. Consistency across the library is very important for us.`,fo,ut,zn="Please make sure to add links to the original codebase/paper to the PR and ideally also ping the original author directly on the PR so that they can follow the progress and potentially help with questions.",po,ft,En="If you are unsure or stuck in the PR, don’t hesitate to leave a message to ask for a first review or help.",ho,pt,mo,ht,Vn="A unique and important feature to understand when adding any pipeline, model or scheduler code is the <code># Copied from</code> mechanism. You’ll see this all over the Diffusers codebase, and the reason we use it is to keep the codebase easy to understand and maintain. Marking code with the <code># Copied from</code> mechanism forces the marked code to be identical to the code it was copied from. This makes it easy to update and propagate changes across many files whenever you run <code>make fix-copies</code>.",co,dt,On='For example, in the code example below, <a href="/docs/diffusers/main/en/api/pipelines/stable_diffusion/inpaint#diffusers.pipelines.stable_diffusion.StableDiffusionPipelineOutput">StableDiffusionPipelineOutput</a> is the original code and <code>AltDiffusionPipelineOutput</code> uses the <code># Copied from</code> mechanism to copy it. The only difference is changing the class prefix from <code>Stable</code> to <code>Alt</code>.',go,mt,yo,ct,Qn='To learn more, read this section of the <a href="https://huggingface.co/blog/transformers-design-philosophy#4-machine-learning-models-are-static" rel="nofollow">~Don’t~ Repeat Yourself*</a> blog post.',wo,gt,bo,yt,Kn="<strong>The better your issue is written, the higher the chances that it will be quickly resolved.</strong>",vo,wt,ea='<li>Make sure that you’ve used the correct template for your issue. You can pick between <em>Bug Report</em>, <em>Feature Request</em>, <em>Feedback about API Design</em>, <em>New model/pipeline/scheduler addition</em>, <em>Forum</em>, or a blank issue. Make sure to pick the correct one when opening <a href="https://github.com/huggingface/diffusers/issues/new/choose" rel="nofollow">a new issue</a>.</li> <li><strong>Be precise</strong>: Give your issue a fitting title. Try to formulate your issue description as simple as possible. The more precise you are when submitting an issue, the less time it takes to understand the issue and potentially solve it. Make sure to open an issue for one issue only and not for multiple issues. If you found multiple issues, simply open multiple issues. If your issue is a bug, try to be as precise as possible about what bug it is - you should not just write “Error in diffusers”.</li> <li><strong>Reproducibility</strong>: No reproducible code snippet == no solution. If you encounter a bug, maintainers <strong>have to be able to reproduce</strong> it. Make sure that you include a code snippet that can be copy-pasted into a Python interpreter to reproduce the issue. Make sure that your code snippet works, <em>i.e.</em> that there are no missing imports or missing links to images, … Your issue should contain an error message <strong>and</strong> a code snippet that can be copy-pasted without any changes to reproduce the exact same error message. If your issue is using local model weights or local data that cannot be accessed by the reader, the issue cannot be solved. If you cannot share your data or model, try to make a dummy model or dummy data.</li> <li><strong>Minimalistic</strong>: Try to help the reader as much as you can to understand the issue as quickly as possible by staying as concise as possible. Remove all code / all information that is irrelevant to the issue. If you have found a bug, try to create the easiest code example you can to demonstrate your issue, do not just dump your whole workflow into the issue as soon as you have found a bug. E.g., if you train a model and get an error at some point during the training, you should first try to understand what part of the training code is responsible for the error and try to reproduce it with a couple of lines. Try to use dummy data instead of full datasets.</li> <li>Add links. If you are referring to a certain naming, method, or model make sure to provide a link so that the reader can better understand what you mean. If you are referring to a specific PR or issue, make sure to link it to your issue. Do not assume that the reader knows what you are talking about. The more links you add to your issue the better.</li> <li>Formatting. Make sure to nicely format your issue by formatting code into Python code syntax, and error messages into normal code syntax. See the <a href="https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax" rel="nofollow">official GitHub formatting docs</a> for more information.</li> <li>Think of your issue not as a ticket to be solved, but rather as a beautiful entry to a well-written encyclopedia. Every added issue is a contribution to publicly available knowledge. By adding a nicely written issue you not only make it easier for maintainers to solve your issue, but you are helping the whole community to better understand a certain aspect of the library.</li>',xo,bt,To,vt,ta=`<li>Be a chameleon. Understand existing design patterns and syntax and make sure your code additions flow seamlessly into the existing code base. Pull requests that significantly diverge from existing design patterns or user interfaces will not be merged.</li> <li>Be laser focused. A pull request should solve one problem and one problem only. Make sure to not fall into the trap of “also fixing another problem while we’re adding it”. It is much more difficult to review pull requests that solve multiple, unrelated problems at once.</li> <li>If helpful, try to add a code snippet that displays an example of how your addition can be used.</li> <li>The title of your pull request should be a summary of its contribution.</li> <li>If your pull request addresses an issue, please mention the issue number in
the pull request description to make sure they are linked (and people
consulting the issue know you are working on it);</li> <li>To indicate a work in progress please prefix the title with <code>[WIP]</code>. These
are useful to avoid duplicated work, and to differentiate it from PRs ready
to be merged;</li> <li>Try to formulate and format your text as explained in <a href="#how-to-write-a-good-issue">How to write a good issue</a>.</li> <li>Make sure existing tests pass;</li> <li>Add high-coverage tests. No quality testing = no merge.</li>`,Mo,xt,ia=`<li>If you are adding new <code>@slow</code> tests, make sure they pass using
<code>RUN_SLOW=1 python -m pytest tests/test_my_new_model.py</code>.
CircleCI does not run the slow tests, but GitHub Actions does every night!</li>`,$o,x,sa=`<li>All public methods must have informative docstrings that work nicely with markdown. See <a href="https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/latent_diffusion/pipeline_latent_diffusion.py" rel="nofollow"><code>pipeline_latent_diffusion.py</code></a> for an example.</li> <li>Due to the rapidly growing repository, it is important to make sure that no files that would significantly weigh down the repository are added. This includes images, videos, and other non-text files. We prefer to leverage a hf.co hosted <code>dataset</code> like
<a href="https://huggingface.co/hf-internal-testing" rel="nofollow"><code>hf-internal-testing</code></a> or <a href="https://huggingface.co/datasets/huggingface/documentation-images" rel="nofollow">huggingface/documentation-images</a> to place these files.
If an external contribution, feel free to add the images to your PR and ask a Hugging Face member to migrate your images
to this dataset.</li>`,Co,Tt,ko,Mt,oa=`Before writing code, we strongly advise you to search through the existing PRs or
issues to make sure that nobody is already working on the same thing. If you are
unsure, it is always a good idea to open an issue to get some feedback.`,Io,$t,la=`You will need basic <code>git</code> proficiency to be able to contribute to
🧨 Diffusers. <code>git</code> is not the easiest tool to use but it has the greatest
manual. Type <code>git --help</code> in a shell and enjoy. If you prefer books, <a href="https://git-scm.com/book/en/v2" rel="nofollow">Pro
Git</a> is a very good reference.`,Ho,Ct,na='Follow these steps to start contributing (<a href="https://github.com/huggingface/diffusers/blob/main/setup.py#L244" rel="nofollow">supported Python versions</a>):',Lo,w,gi,aa=`<p>Fork the <a href="https://github.com/huggingface/diffusers" rel="nofollow">repository</a> by
clicking on the ‘Fork’ button on the repository’s page. This creates a copy of the code
under your GitHub user account.</p>`,bl,kt,yi,ra="Clone your fork to your local disk, and add the base repository as a remote:",vl,It,xl,Ht,wi,ua="Create a new branch to hold your development changes:",Tl,Lt,Po,Pt,fa="<strong>Do not</strong> work on the <code>main</code> branch.",_o,_t,Jt,bi,pa="Set up a development environment by running the following command in a virtual environment:",Ml,Ut,Jo,jt,ha=`If you have already cloned the repo, you might need to <code>git pull</code> to get the most recent changes in the
library.`,Uo,T,da="<li>Develop the features on your branch.</li>",jo,qt,ma=`As you work on the features, you should make sure that the test suite
passes. You should run the tests impacted by your changes like this:`,qo,At,Ao,Rt,ca=`Before you run the tests, please make sure you install the dependencies required for testing. You can do so
with this command:`,Ro,Gt,Go,Zt,ga=`You can also run the full test suite with the following command, but it takes
a beefy machine to produce a result in a decent amount of time now that
Diffusers has grown a lot. Here is the command for it:`,Zo,Wt,Wo,Dt,ya=`🧨 Diffusers relies on <code>black</code> and <code>isort</code> to format its source code
consistently. After you make changes, apply automatic style corrections and code verifications
that can’t be automated in one go with:`,Do,Bt,Bo,Nt,wa=`🧨 Diffusers also uses <code>ruff</code> and a few custom scripts to check for coding mistakes. Quality
control runs in CI, however, you can also run the same checks with:`,No,Xt,Xo,Ft,ba=`Once you’re happy with your changes, add changed files using <code>git add</code> and
make a commit with <code>git commit</code> to record your changes locally:`,Fo,St,So,Yt,va=`It is a good idea to sync your copy of the code with the original
repository regularly. This way you can quickly account for changes:`,Yo,zt,zo,Et,xa="Push the changes to your account using:",Eo,Vt,Vo,M,Ta=`<li><p>Once you are satisfied, go to the
webpage of your fork on GitHub. Click on ‘Pull request’ to send your changes
to the project maintainers for review.</p></li> <li><p>It’s OK if maintainers ask you for changes. It happens to core contributors
too! So everyone can see the changes in the Pull request, work in your local
branch and push the changes to your fork. They will automatically appear in
the pull request.</p></li>`,Oo,Ot,Qo,Qt,Ma=`An extensive test suite is included to test the library behavior and several examples. Library tests can be found in
the <a href="https://github.com/huggingface/diffusers/tree/main/tests" rel="nofollow">tests folder</a>.`,Ko,Kt,$a=`We like <code>pytest</code> and <code>pytest-xdist</code> because it’s faster. From the root of the
repository, here’s how to run tests with <code>pytest</code> for the library:`,el,ei,tl,ti,Ca="In fact, that’s how <code>make test</code> is implemented!",il,ii,ka=`You can specify a smaller set of tests in order to test only the feature
you’re working on.`,sl,si,Ia=`By default, slow tests are skipped. Set the <code>RUN_SLOW</code> environment variable to
<code>yes</code> to run them. This will download many gigabytes of models — make sure you
have enough disk space and a good Internet connection, or a lot of patience!`,ol,oi,ll,li,Ha="<code>unittest</code> is fully supported, here’s how to run tests with it:",nl,ni,al,ai,rl,ri,La=`To avoid pinging the upstream repository which adds reference notes to each upstream PR and sends unnecessary notifications to the developers involved in these PRs,
when syncing the main branch of a forked repository, please, follow these steps:`,ul,ui,Pa="<li>When possible, avoid syncing with the upstream using a branch and PR on the forked repository. Instead, merge directly into the forked main.</li> <li>If a PR is absolutely necessary, use the following steps after checking out your branch:</li>",fl,fi,pl,pi,hl,hi,_a='For documentation strings, 🧨 Diffusers follows the <a href="https://google.github.io/styleguide/pyguide.html" rel="nofollow">Google style</a>.',dl,di,ml,Ti,cl;return $=new c({props:{title:"How to contribute to Diffusers 🧨",local:"how-to-contribute-to-diffusers-",headingTag:"h1"}}),L=new c({props:{title:"Overview",local:"overview",headingTag:"h2"}}),q=new c({props:{title:"1. Asking and answering questions on the Diffusers discussion forum or on the Diffusers Discord",local:"1-asking-and-answering-questions-on-the-diffusers-discussion-forum-or-on-the-diffusers-discord",headingTag:"h3"}}),D=new c({props:{title:"2. Opening new issues on the GitHub issues tab",local:"2-opening-new-issues-on-the-github-issues-tab",headingTag:"h3"}}),z=new c({props:{title:"2.1. Reproducible, minimal bug reports",local:"21-reproducible-minimal-bug-reports",headingTag:"h4"}}),K=new c({props:{title:"2.2. Feature requests",local:"22-feature-requests",headingTag:"h4"}}),oe=new c({props:{title:"2.3 Feedback",local:"23-feedback",headingTag:"h4"}}),ae=new c({props:{title:"2.4 Technical questions",local:"24-technical-questions",headingTag:"h4"}}),fe=new c({props:{title:"2.5 Proposal to add a new model, scheduler, or pipeline",local:"25-proposal-to-add-a-new-model-scheduler-or-pipeline",headingTag:"h4"}}),ce=new c({props:{title:"3. Answering issues on the GitHub issues tab",local:"3-answering-issues-on-the-github-issues-tab",headingTag:"h3"}}),xe=new c({props:{title:"4. Fixing a “Good first issue”",local:"4-fixing-a-good-first-issue",headingTag:"h3"}}),$e=new c({props:{title:"5. Contribute to the documentation",local:"5-contribute-to-the-documentation",headingTag:"h3"}}),Pe=new c({props:{title:"6. Contribute a community pipeline",local:"6-contribute-a-community-pipeline",headingTag:"h3"}}),We=new c({props:{title:"7. Contribute to training examples",local:"7-contribute-to-training-examples",headingTag:"h3"}}),Se=new g({props:{code:"Z2l0JTIwY2xvbmUlMjBodHRwcyUzQSUyRiUyRmdpdGh1Yi5jb20lMkZodWdnaW5nZmFjZSUyRmRpZmZ1c2Vycw==",highlighted:'git <span class="hljs-built_in">clone</span> https://github.com/huggingface/diffusers',wrap:!1}}),ze=new g({props:{code:"cGlwJTIwaW5zdGFsbCUyMC1yJTIwJTJGZXhhbXBsZXMlMkYlM0N5b3VyLWV4YW1wbGUtZm9sZGVyJTNFJTJGcmVxdWlyZW1lbnRzLnR4dA==",highlighted:"pip install -r /examples/&lt;your-example-folder&gt;/requirements.txt",wrap:!1}}),tt=new c({props:{title:"8. Fixing a “Good second issue”",local:"8-fixing-a-good-second-issue",headingTag:"h3"}}),st=new c({props:{title:"9. Adding pipelines, models, schedulers",local:"9-adding-pipelines-models-schedulers",headingTag:"h3"}}),pt=new c({props:{title:"Copied from mechanism",local:"copied-from-mechanism",headingTag:"h4"}}),mt=new g({props:{code:"JTIzJTIwQ29waWVkJTIwZnJvbSUyMGRpZmZ1c2Vycy5waXBlbGluZXMuc3RhYmxlX2RpZmZ1c2lvbi5waXBlbGluZV9vdXRwdXQuU3RhYmxlRGlmZnVzaW9uUGlwZWxpbmVPdXRwdXQlMjB3aXRoJTIwU3RhYmxlLSUzRUFsdCUwQWNsYXNzJTIwQWx0RGlmZnVzaW9uUGlwZWxpbmVPdXRwdXQoQmFzZU91dHB1dCklM0ElMEElMjAlMjAlMjAlMjAlMjIlMjIlMjIlMEElMjAlMjAlMjAlMjBPdXRwdXQlMjBjbGFzcyUyMGZvciUyMEFsdCUyMERpZmZ1c2lvbiUyMHBpcGVsaW5lcy4lMEElMEElMjAlMjAlMjAlMjBBcmdzJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwaW1hZ2VzJTIwKCU2MExpc3QlNUJQSUwuSW1hZ2UuSW1hZ2UlNUQlNjAlMjBvciUyMCU2MG5wLm5kYXJyYXklNjApJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwTGlzdCUyMG9mJTIwZGVub2lzZWQlMjBQSUwlMjBpbWFnZXMlMjBvZiUyMGxlbmd0aCUyMCU2MGJhdGNoX3NpemUlNjAlMjBvciUyME51bVB5JTIwYXJyYXklMjBvZiUyMHNoYXBlJTIwJTYwKGJhdGNoX3NpemUlMkMlMjBoZWlnaHQlMkMlMjB3aWR0aCUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMG51bV9jaGFubmVscyklNjAuJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwbnNmd19jb250ZW50X2RldGVjdGVkJTIwKCU2MExpc3QlNUJib29sJTVEJTYwKSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMExpc3QlMjBpbmRpY2F0aW5nJTIwd2hldGhlciUyMHRoZSUyMGNvcnJlc3BvbmRpbmclMjBnZW5lcmF0ZWQlMjBpbWFnZSUyMGNvbnRhaW5zJTIwJTIybm90LXNhZmUtZm9yLXdvcmslMjIlMjAobnNmdyklMjBjb250ZW50JTIwb3IlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlNjBOb25lJTYwJTIwaWYlMjBzYWZldHklMjBjaGVja2luZyUyMGNvdWxkJTIwbm90JTIwYmUlMjBwZXJmb3JtZWQuJTBBJTIwJTIwJTIwJTIwJTIyJTIyJTIy",highlighted:'<span class="hljs-comment"># Copied from diffusers.pipelines.stable_diffusion.pipeline_output.StableDiffusionPipelineOutput with Stable-&gt;Alt</span>\n<span class="hljs-keyword">class</span> <span class="hljs-title class_">AltDiffusionPipelineOutput</span>(<span class="hljs-title class_ inherited__">BaseOutput</span>):\n    <span class="hljs-string">&quot;&quot;&quot;\n    Output class for Alt Diffusion pipelines.\n\n    Args:\n        images (`List[PIL.Image.Image]` or `np.ndarray`)\n            List of denoised PIL images of length `batch_size` or NumPy array of shape `(batch_size, height, width,\n            num_channels)`.\n        nsfw_content_detected (`List[bool]`)\n            List indicating whether the corresponding generated image contains &quot;not-safe-for-work&quot; (nsfw) content or\n            `None` if safety checking could not be performed.\n    &quot;&quot;&quot;</span>',wrap:!1}}),gt=new c({props:{title:"How to write a good issue",local:"how-to-write-a-good-issue",headingTag:"h2"}}),bt=new c({props:{title:"How to write a good PR",local:"how-to-write-a-good-pr",headingTag:"h2"}}),Tt=new c({props:{title:"How to open a PR",local:"how-to-open-a-pr",headingTag:"h2"}}),It=new g({props:{code:"JTI0JTIwZ2l0JTIwY2xvbmUlMjBnaXQlNDBnaXRodWIuY29tJTNBJTNDeW91ciUyMEdpdEh1YiUyMGhhbmRsZSUzRSUyRmRpZmZ1c2Vycy5naXQlMEElMjQlMjBjZCUyMGRpZmZ1c2VycyUwQSUyNCUyMGdpdCUyMHJlbW90ZSUyMGFkZCUyMHVwc3RyZWFtJTIwaHR0cHMlM0ElMkYlMkZnaXRodWIuY29tJTJGaHVnZ2luZ2ZhY2UlMkZkaWZmdXNlcnMuZ2l0",highlighted:`$ git <span class="hljs-built_in">clone</span> git@github.com:&lt;your GitHub handle&gt;/diffusers.git
$ <span class="hljs-built_in">cd</span> diffusers
$ git remote add upstream https://github.com/huggingface/diffusers.git`,wrap:!1}}),Lt=new g({props:{code:"JTI0JTIwZ2l0JTIwY2hlY2tvdXQlMjAtYiUyMGEtZGVzY3JpcHRpdmUtbmFtZS1mb3ItbXktY2hhbmdlcw==",highlighted:"$ git checkout -b a-descriptive-name-for-my-changes",wrap:!1}}),Ut=new g({props:{code:"JTI0JTIwcGlwJTIwaW5zdGFsbCUyMC1lJTIwJTIyLiU1QmRldiU1RCUyMg==",highlighted:'$ pip install -e <span class="hljs-string">&quot;.[dev]&quot;</span>',wrap:!1}}),At=new g({props:{code:"JTI0JTIwcHl0ZXN0JTIwdGVzdHMlMkYlM0NURVNUX1RPX1JVTiUzRS5weQ==",highlighted:"$ pytest tests/&lt;TEST_TO_RUN&gt;.py",wrap:!1}}),Gt=new g({props:{code:"JTI0JTIwcGlwJTIwaW5zdGFsbCUyMC1lJTIwJTIyLiU1QnRlc3QlNUQlMjI=",highlighted:'$ pip install -e <span class="hljs-string">&quot;.[test]&quot;</span>',wrap:!1}}),Wt=new g({props:{code:"JTI0JTIwbWFrZSUyMHRlc3Q=",highlighted:'$ make <span class="hljs-built_in">test</span>',wrap:!1}}),Bt=new g({props:{code:"JTI0JTIwbWFrZSUyMHN0eWxl",highlighted:"$ make style",wrap:!1}}),Xt=new g({props:{code:"JTI0JTIwbWFrZSUyMHF1YWxpdHk=",highlighted:"$ make quality",wrap:!1}}),St=new g({props:{code:"JTI0JTIwZ2l0JTIwYWRkJTIwbW9kaWZpZWRfZmlsZS5weSUwQSUyNCUyMGdpdCUyMGNvbW1pdCUyMC1tJTIwJTIyQSUyMGRlc2NyaXB0aXZlJTIwbWVzc2FnZSUyMGFib3V0JTIweW91ciUyMGNoYW5nZXMuJTIy",highlighted:`$ git add modified_file.py
$ git commit -m <span class="hljs-string">&quot;A descriptive message about your changes.&quot;</span>`,wrap:!1}}),zt=new g({props:{code:"JTI0JTIwZ2l0JTIwcHVsbCUyMHVwc3RyZWFtJTIwbWFpbg==",highlighted:"$ git pull upstream main",wrap:!1}}),Vt=new g({props:{code:"JTI0JTIwZ2l0JTIwcHVzaCUyMC11JTIwb3JpZ2luJTIwYS1kZXNjcmlwdGl2ZS1uYW1lLWZvci1teS1jaGFuZ2Vz",highlighted:"$ git push -u origin a-descriptive-name-for-my-changes",wrap:!1}}),Ot=new c({props:{title:"Tests",local:"tests",headingTag:"h3"}}),ei=new g({props:{code:"JTI0JTIwcHl0aG9uJTIwLW0lMjBweXRlc3QlMjAtbiUyMGF1dG8lMjAtLWRpc3QlM0Rsb2FkZmlsZSUyMC1zJTIwLXYlMjAuJTJGdGVzdHMlMkY=",highlighted:"$ python -m pytest -n auto --dist=loadfile -s -v ./tests/",wrap:!1}}),oi=new g({props:{code:"JTI0JTIwUlVOX1NMT1clM0R5ZXMlMjBweXRob24lMjAtbSUyMHB5dGVzdCUyMC1uJTIwYXV0byUyMC0tZGlzdCUzRGxvYWRmaWxlJTIwLXMlMjAtdiUyMC4lMkZ0ZXN0cyUyRg==",highlighted:'$ RUN_SLOW=<span class="hljs-built_in">yes</span> python -m pytest -n auto --dist=loadfile -s -v ./tests/',wrap:!1}}),ni=new g({props:{code:"JTI0JTIwcHl0aG9uJTIwLW0lMjB1bml0dGVzdCUyMGRpc2NvdmVyJTIwLXMlMjB0ZXN0cyUyMC10JTIwLiUyMC12JTBBJTI0JTIwcHl0aG9uJTIwLW0lMjB1bml0dGVzdCUyMGRpc2NvdmVyJTIwLXMlMjBleGFtcGxlcyUyMC10JTIwZXhhbXBsZXMlMjAtdg==",highlighted:`$ python -m unittest discover -s tests -t . -v
$ python -m unittest discover -s examples -t examples -v`,wrap:!1}}),ai=new c({props:{title:"Syncing forked main with upstream (HuggingFace) main",local:"syncing-forked-main-with-upstream-huggingface-main",headingTag:"h3"}}),fi=new g({props:{code:"JTI0JTIwZ2l0JTIwY2hlY2tvdXQlMjAtYiUyMHlvdXItYnJhbmNoLWZvci1zeW5jaW5nJTBBJTI0JTIwZ2l0JTIwcHVsbCUyMC0tc3F1YXNoJTIwLS1uby1jb21taXQlMjB1cHN0cmVhbSUyMG1haW4lMEElMjQlMjBnaXQlMjBjb21taXQlMjAtbSUyMCclM0N5b3VyJTIwbWVzc2FnZSUyMHdpdGhvdXQlMjBHaXRIdWIlMjByZWZlcmVuY2VzJTNFJyUwQSUyNCUyMGdpdCUyMHB1c2glMjAtLXNldC11cHN0cmVhbSUyMG9yaWdpbiUyMHlvdXItYnJhbmNoLWZvci1zeW5jaW5n",highlighted:`$ git checkout -b your-branch-for-syncing
$ git pull --squash --no-commit upstream main
$ git commit -m <span class="hljs-string">&#x27;&lt;your message without GitHub references&gt;&#x27;</span>
$ git push --set-upstream origin your-branch-for-syncing`,wrap:!1}}),pi=new c({props:{title:"Style guide",local:"style-guide",headingTag:"h3"}}),di=new Za({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/conceptual/contribution.md"}}),{c(){b=n("meta"),Mi=o(),xi=n("p"),$i=o(),u($.$$.fragment),Ci=o(),C=n("p"),C.textContent=Cl,ki=o(),k=n("p"),k.innerHTML=kl,Ii=o(),I=n("p"),I.innerHTML=Il,Hi=o(),H=n("p"),H.textContent=Hl,Li=o(),u(L.$$.fragment),Pi=o(),P=n("p"),P.textContent=Ll,_i=o(),_=n("p"),_.textContent=Pl,Ji=o(),J=n("ul"),J.innerHTML=_l,Ui=o(),U=n("p"),U.innerHTML=Jl,ji=o(),j=n("p"),j.innerHTML=Ul,qi=o(),u(q.$$.fragment),Ai=o(),A=n("p"),A.innerHTML=jl,Ri=o(),R=n("ul"),R.innerHTML=ql,Gi=o(),G=n("p"),G.textContent=Al,Zi=o(),Z=n("p"),Z.innerHTML=Rl,Wi=o(),W=n("p"),W.innerHTML=Gl,Di=o(),u(D.$$.fragment),Bi=o(),B=n("p"),B.textContent=Zl,Ni=o(),N=n("p"),N.textContent=Wl,Xi=o(),X=n("p"),X.innerHTML=Dl,Fi=o(),F=n("p"),F.innerHTML=Bl,Si=o(),S=n("ul"),S.innerHTML=Nl,Yi=o(),Y=n("p"),Y.textContent=Xl,zi=o(),u(z.$$.fragment),Ei=o(),E=n("p"),E.textContent=Fl,Vi=o(),V=n("ul"),V.innerHTML=Sl,Oi=o(),O=n("p"),O.innerHTML=Yl,Qi=o(),Q=n("p"),Q.innerHTML=zl,Ki=o(),u(K.$$.fragment),es=o(),ee=n("p"),ee.textContent=El,ts=o(),te=n("ol"),te.innerHTML=Vl,is=o(),ie=n("ul"),ie.innerHTML=Ol,ss=o(),v=n("ol"),v.innerHTML=Ql,os=o(),se=n("p"),se.innerHTML=Kl,ls=o(),u(oe.$$.fragment),ns=o(),le=n("p"),le.innerHTML=en,as=o(),ne=n("p"),ne.innerHTML=tn,rs=o(),u(ae.$$.fragment),us=o(),re=n("p"),re.textContent=sn,fs=o(),ue=n("p"),ue.innerHTML=on,ps=o(),u(fe.$$.fragment),hs=o(),pe=n("p"),pe.textContent=ln,ds=o(),he=n("ul"),he.innerHTML=nn,ms=o(),de=n("p"),de.textContent=an,cs=o(),me=n("p"),me.innerHTML=rn,gs=o(),u(ce.$$.fragment),ys=o(),ge=n("p"),ge.textContent=un,ws=o(),ye=n("ul"),ye.innerHTML=fn,bs=o(),we=n("p"),we.innerHTML=pn,vs=o(),be=n("p"),be.textContent=hn,xs=o(),ve=n("p"),ve.innerHTML=dn,Ts=o(),u(xe.$$.fragment),Ms=o(),Te=n("p"),Te.innerHTML=mn,$s=o(),Me=n("ul"),Me.innerHTML=cn,Cs=o(),u($e.$$.fragment),ks=o(),Ce=n("p"),Ce.innerHTML=gn,Is=o(),ke=n("p"),ke.textContent=yn,Hs=o(),Ie=n("ul"),Ie.innerHTML=wn,Ls=o(),He=n("p"),He.innerHTML=bn,Ps=o(),Le=n("p"),Le.innerHTML=vn,_s=o(),u(Pe.$$.fragment),Js=o(),_e=n("p"),_e.innerHTML=xn,Us=o(),Je=n("ul"),Je.innerHTML=Tn,js=o(),Ue=n("p"),Ue.textContent=Mn,qs=o(),je=n("p"),je.innerHTML=$n,As=o(),qe=n("p"),qe.textContent=Cn,Rs=o(),Ae=n("p"),Ae.innerHTML=kn,Gs=o(),Re=n("p"),Re.innerHTML=In,Zs=o(),Ge=n("p"),Ge.textContent=Hn,Ws=o(),Ze=n("p"),Ze.textContent=Ln,Ds=o(),u(We.$$.fragment),Bs=o(),De=n("p"),De.innerHTML=Pn,Ns=o(),Be=n("p"),Be.textContent=_n,Xs=o(),Ne=n("ul"),Ne.innerHTML=Jn,Fs=o(),Xe=n("p"),Xe.innerHTML=Un,Ss=o(),Fe=n("p"),Fe.textContent=jn,Ys=o(),u(Se.$$.fragment),zs=o(),Ye=n("p"),Ye.textContent=qn,Es=o(),u(ze.$$.fragment),Vs=o(),Ee=n("p"),Ee.innerHTML=An,Os=o(),Ve=n("p"),Ve.textContent=Rn,Qs=o(),Oe=n("ul"),Oe.innerHTML=Gn,Ks=o(),Qe=n("p"),Qe.innerHTML=Zn,eo=o(),Ke=n("ul"),Ke.innerHTML=Wn,to=o(),et=n("p"),et.innerHTML=Dn,io=o(),u(tt.$$.fragment),so=o(),it=n("p"),it.innerHTML=Bn,oo=o(),u(st.$$.fragment),lo=o(),ot=n("p"),ot.textContent=Nn,no=o(),lt=n("p"),lt.textContent=Xn,ao=o(),nt=n("p"),nt.textContent=Fn,ro=o(),at=n("ul"),at.innerHTML=Sn,uo=o(),rt=n("p"),rt.innerHTML=Yn,fo=o(),ut=n("p"),ut.textContent=zn,po=o(),ft=n("p"),ft.textContent=En,ho=o(),u(pt.$$.fragment),mo=o(),ht=n("p"),ht.innerHTML=Vn,co=o(),dt=n("p"),dt.innerHTML=On,go=o(),u(mt.$$.fragment),yo=o(),ct=n("p"),ct.innerHTML=Qn,wo=o(),u(gt.$$.fragment),bo=o(),yt=n("p"),yt.innerHTML=Kn,vo=o(),wt=n("ol"),wt.innerHTML=ea,xo=o(),u(bt.$$.fragment),To=o(),vt=n("ol"),vt.innerHTML=ta,Mo=o(),xt=n("ul"),xt.innerHTML=ia,$o=o(),x=n("ol"),x.innerHTML=sa,Co=o(),u(Tt.$$.fragment),ko=o(),Mt=n("p"),Mt.textContent=oa,Io=o(),$t=n("p"),$t.innerHTML=la,Ho=o(),Ct=n("p"),Ct.innerHTML=na,Lo=o(),w=n("ol"),gi=n("li"),gi.innerHTML=aa,bl=o(),kt=n("li"),yi=n("p"),yi.textContent=ra,vl=o(),u(It.$$.fragment),xl=o(),Ht=n("li"),wi=n("p"),wi.textContent=ua,Tl=o(),u(Lt.$$.fragment),Po=o(),Pt=n("p"),Pt.innerHTML=fa,_o=o(),_t=n("ol"),Jt=n("li"),bi=n("p"),bi.textContent=pa,Ml=o(),u(Ut.$$.fragment),Jo=o(),jt=n("p"),jt.innerHTML=ha,Uo=o(),T=n("ol"),T.innerHTML=da,jo=o(),qt=n("p"),qt.textContent=ma,qo=o(),u(At.$$.fragment),Ao=o(),Rt=n("p"),Rt.textContent=ca,Ro=o(),u(Gt.$$.fragment),Go=o(),Zt=n("p"),Zt.textContent=ga,Zo=o(),u(Wt.$$.fragment),Wo=o(),Dt=n("p"),Dt.innerHTML=ya,Do=o(),u(Bt.$$.fragment),Bo=o(),Nt=n("p"),Nt.innerHTML=wa,No=o(),u(Xt.$$.fragment),Xo=o(),Ft=n("p"),Ft.innerHTML=ba,Fo=o(),u(St.$$.fragment),So=o(),Yt=n("p"),Yt.textContent=va,Yo=o(),u(zt.$$.fragment),zo=o(),Et=n("p"),Et.textContent=xa,Eo=o(),u(Vt.$$.fragment),Vo=o(),M=n("ol"),M.innerHTML=Ta,Oo=o(),u(Ot.$$.fragment),Qo=o(),Qt=n("p"),Qt.innerHTML=Ma,Ko=o(),Kt=n("p"),Kt.innerHTML=$a,el=o(),u(ei.$$.fragment),tl=o(),ti=n("p"),ti.innerHTML=Ca,il=o(),ii=n("p"),ii.textContent=ka,sl=o(),si=n("p"),si.innerHTML=Ia,ol=o(),u(oi.$$.fragment),ll=o(),li=n("p"),li.innerHTML=Ha,nl=o(),u(ni.$$.fragment),al=o(),u(ai.$$.fragment),rl=o(),ri=n("p"),ri.textContent=La,ul=o(),ui=n("ol"),ui.innerHTML=Pa,fl=o(),u(fi.$$.fragment),pl=o(),u(pi.$$.fragment),hl=o(),hi=n("p"),hi.innerHTML=_a,dl=o(),u(di.$$.fragment),ml=o(),Ti=n("p"),this.h()},l(e){const t=Ga("svelte-u9bgzb",document.head);b=a(t,"META",{name:!0,content:!0}),t.forEach(i),Mi=l(e),xi=a(e,"P",{}),mi(xi).forEach(i),$i=l(e),f($.$$.fragment,e),Ci=l(e),C=a(e,"P",{"data-svelte-h":!0}),r(C)!=="svelte-5law2j"&&(C.textContent=Cl),ki=l(e),k=a(e,"P",{"data-svelte-h":!0}),r(k)!=="svelte-rf5fv0"&&(k.innerHTML=kl),Ii=l(e),I=a(e,"P",{"data-svelte-h":!0}),r(I)!=="svelte-7yk1qu"&&(I.innerHTML=Il),Hi=l(e),H=a(e,"P",{"data-svelte-h":!0}),r(H)!=="svelte-19e4jq9"&&(H.textContent=Hl),Li=l(e),f(L.$$.fragment,e),Pi=l(e),P=a(e,"P",{"data-svelte-h":!0}),r(P)!=="svelte-qchdhx"&&(P.textContent=Ll),_i=l(e),_=a(e,"P",{"data-svelte-h":!0}),r(_)!=="svelte-vste1h"&&(_.textContent=Pl),Ji=l(e),J=a(e,"UL",{"data-svelte-h":!0}),r(J)!=="svelte-1kftoyd"&&(J.innerHTML=_l),Ui=l(e),U=a(e,"P",{"data-svelte-h":!0}),r(U)!=="svelte-1a17ouk"&&(U.innerHTML=Jl),ji=l(e),j=a(e,"P",{"data-svelte-h":!0}),r(j)!=="svelte-1carl1x"&&(j.innerHTML=Ul),qi=l(e),f(q.$$.fragment,e),Ai=l(e),A=a(e,"P",{"data-svelte-h":!0}),r(A)!=="svelte-eooydc"&&(A.innerHTML=jl),Ri=l(e),R=a(e,"UL",{"data-svelte-h":!0}),r(R)!=="svelte-1pzwmv0"&&(R.innerHTML=ql),Gi=l(e),G=a(e,"P",{"data-svelte-h":!0}),r(G)!=="svelte-1gi90ut"&&(G.textContent=Al),Zi=l(e),Z=a(e,"P",{"data-svelte-h":!0}),r(Z)!=="svelte-1wkkt7q"&&(Z.innerHTML=Rl),Wi=l(e),W=a(e,"P",{"data-svelte-h":!0}),r(W)!=="svelte-14aelba"&&(W.innerHTML=Gl),Di=l(e),f(D.$$.fragment,e),Bi=l(e),B=a(e,"P",{"data-svelte-h":!0}),r(B)!=="svelte-1xkk71m"&&(B.textContent=Zl),Ni=l(e),N=a(e,"P",{"data-svelte-h":!0}),r(N)!=="svelte-1kqqlyc"&&(N.textContent=Wl),Xi=l(e),X=a(e,"P",{"data-svelte-h":!0}),r(X)!=="svelte-180qij7"&&(X.innerHTML=Dl),Fi=l(e),F=a(e,"P",{"data-svelte-h":!0}),r(F)!=="svelte-1fjofc5"&&(F.innerHTML=Bl),Si=l(e),S=a(e,"UL",{"data-svelte-h":!0}),r(S)!=="svelte-pzymlv"&&(S.innerHTML=Nl),Yi=l(e),Y=a(e,"P",{"data-svelte-h":!0}),r(Y)!=="svelte-1gfbuxb"&&(Y.textContent=Xl),zi=l(e),f(z.$$.fragment,e),Ei=l(e),E=a(e,"P",{"data-svelte-h":!0}),r(E)!=="svelte-1ipsy1e"&&(E.textContent=Fl),Vi=l(e),V=a(e,"UL",{"data-svelte-h":!0}),r(V)!=="svelte-1mrun3g"&&(V.innerHTML=Sl),Oi=l(e),O=a(e,"P",{"data-svelte-h":!0}),r(O)!=="svelte-b221ai"&&(O.innerHTML=Yl),Qi=l(e),Q=a(e,"P",{"data-svelte-h":!0}),r(Q)!=="svelte-1vpz9iu"&&(Q.innerHTML=zl),Ki=l(e),f(K.$$.fragment,e),es=l(e),ee=a(e,"P",{"data-svelte-h":!0}),r(ee)!=="svelte-1s92zhu"&&(ee.textContent=El),ts=l(e),te=a(e,"OL",{"data-svelte-h":!0}),r(te)!=="svelte-1meaa0h"&&(te.innerHTML=Vl),is=l(e),ie=a(e,"UL",{"data-svelte-h":!0}),r(ie)!=="svelte-1m6et35"&&(ie.innerHTML=Ol),ss=l(e),v=a(e,"OL",{start:!0,"data-svelte-h":!0}),r(v)!=="svelte-1353nnk"&&(v.innerHTML=Ql),os=l(e),se=a(e,"P",{"data-svelte-h":!0}),r(se)!=="svelte-1fbsnox"&&(se.innerHTML=Kl),ls=l(e),f(oe.$$.fragment,e),ns=l(e),le=a(e,"P",{"data-svelte-h":!0}),r(le)!=="svelte-14r8j00"&&(le.innerHTML=en),as=l(e),ne=a(e,"P",{"data-svelte-h":!0}),r(ne)!=="svelte-19nmi90"&&(ne.innerHTML=tn),rs=l(e),f(ae.$$.fragment,e),us=l(e),re=a(e,"P",{"data-svelte-h":!0}),r(re)!=="svelte-w10b99"&&(re.textContent=sn),fs=l(e),ue=a(e,"P",{"data-svelte-h":!0}),r(ue)!=="svelte-117d5cx"&&(ue.innerHTML=on),ps=l(e),f(fe.$$.fragment,e),hs=l(e),pe=a(e,"P",{"data-svelte-h":!0}),r(pe)!=="svelte-10axoet"&&(pe.textContent=ln),ds=l(e),he=a(e,"UL",{"data-svelte-h":!0}),r(he)!=="svelte-djw2fh"&&(he.innerHTML=nn),ms=l(e),de=a(e,"P",{"data-svelte-h":!0}),r(de)!=="svelte-1g4ps0b"&&(de.textContent=an),cs=l(e),me=a(e,"P",{"data-svelte-h":!0}),r(me)!=="svelte-sc0vav"&&(me.innerHTML=rn),gs=l(e),f(ce.$$.fragment,e),ys=l(e),ge=a(e,"P",{"data-svelte-h":!0}),r(ge)!=="svelte-15u5nyq"&&(ge.textContent=un),ws=l(e),ye=a(e,"UL",{"data-svelte-h":!0}),r(ye)!=="svelte-1utx7xe"&&(ye.innerHTML=fn),bs=l(e),we=a(e,"P",{"data-svelte-h":!0}),r(we)!=="svelte-1h98g7p"&&(we.innerHTML=pn),vs=l(e),be=a(e,"P",{"data-svelte-h":!0}),r(be)!=="svelte-1n38hfq"&&(be.textContent=hn),xs=l(e),ve=a(e,"P",{"data-svelte-h":!0}),r(ve)!=="svelte-1aq6j4g"&&(ve.innerHTML=dn),Ts=l(e),f(xe.$$.fragment,e),Ms=l(e),Te=a(e,"P",{"data-svelte-h":!0}),r(Te)!=="svelte-17d5j91"&&(Te.innerHTML=mn),$s=l(e),Me=a(e,"UL",{"data-svelte-h":!0}),r(Me)!=="svelte-csw3jn"&&(Me.innerHTML=cn),Cs=l(e),f($e.$$.fragment,e),ks=l(e),Ce=a(e,"P",{"data-svelte-h":!0}),r(Ce)!=="svelte-p135hl"&&(Ce.innerHTML=gn),Is=l(e),ke=a(e,"P",{"data-svelte-h":!0}),r(ke)!=="svelte-dmhl9b"&&(ke.textContent=yn),Hs=l(e),Ie=a(e,"UL",{"data-svelte-h":!0}),r(Ie)!=="svelte-1vfa69p"&&(Ie.innerHTML=wn),Ls=l(e),He=a(e,"P",{"data-svelte-h":!0}),r(He)!=="svelte-1fszx"&&(He.innerHTML=bn),Ps=l(e),Le=a(e,"P",{"data-svelte-h":!0}),r(Le)!=="svelte-6of141"&&(Le.innerHTML=vn),_s=l(e),f(Pe.$$.fragment,e),Js=l(e),_e=a(e,"P",{"data-svelte-h":!0}),r(_e)!=="svelte-1fdnj10"&&(_e.innerHTML=xn),Us=l(e),Je=a(e,"UL",{"data-svelte-h":!0}),r(Je)!=="svelte-1huzw6a"&&(Je.innerHTML=Tn),js=l(e),Ue=a(e,"P",{"data-svelte-h":!0}),r(Ue)!=="svelte-bi46pe"&&(Ue.textContent=Mn),qs=l(e),je=a(e,"P",{"data-svelte-h":!0}),r(je)!=="svelte-1m88k68"&&(je.innerHTML=$n),As=l(e),qe=a(e,"P",{"data-svelte-h":!0}),r(qe)!=="svelte-1oqcq1v"&&(qe.textContent=Cn),Rs=l(e),Ae=a(e,"P",{"data-svelte-h":!0}),r(Ae)!=="svelte-1yh6g4i"&&(Ae.innerHTML=kn),Gs=l(e),Re=a(e,"P",{"data-svelte-h":!0}),r(Re)!=="svelte-nd3yab"&&(Re.innerHTML=In),Zs=l(e),Ge=a(e,"P",{"data-svelte-h":!0}),r(Ge)!=="svelte-oxm1xv"&&(Ge.textContent=Hn),Ws=l(e),Ze=a(e,"P",{"data-svelte-h":!0}),r(Ze)!=="svelte-19m8l5c"&&(Ze.textContent=Ln),Ds=l(e),f(We.$$.fragment,e),Bs=l(e),De=a(e,"P",{"data-svelte-h":!0}),r(De)!=="svelte-1695xih"&&(De.innerHTML=Pn),Ns=l(e),Be=a(e,"P",{"data-svelte-h":!0}),r(Be)!=="svelte-dlx7ai"&&(Be.textContent=_n),Xs=l(e),Ne=a(e,"UL",{"data-svelte-h":!0}),r(Ne)!=="svelte-15twepo"&&(Ne.innerHTML=Jn),Fs=l(e),Xe=a(e,"P",{"data-svelte-h":!0}),r(Xe)!=="svelte-1ao1iff"&&(Xe.innerHTML=Un),Ss=l(e),Fe=a(e,"P",{"data-svelte-h":!0}),r(Fe)!=="svelte-vgkeor"&&(Fe.textContent=jn),Ys=l(e),f(Se.$$.fragment,e),zs=l(e),Ye=a(e,"P",{"data-svelte-h":!0}),r(Ye)!=="svelte-idor3x"&&(Ye.textContent=qn),Es=l(e),f(ze.$$.fragment,e),Vs=l(e),Ee=a(e,"P",{"data-svelte-h":!0}),r(Ee)!=="svelte-1951zcj"&&(Ee.innerHTML=An),Os=l(e),Ve=a(e,"P",{"data-svelte-h":!0}),r(Ve)!=="svelte-1m6im41"&&(Ve.textContent=Rn),Qs=l(e),Oe=a(e,"UL",{"data-svelte-h":!0}),r(Oe)!=="svelte-1xy9lh5"&&(Oe.innerHTML=Gn),Ks=l(e),Qe=a(e,"P",{"data-svelte-h":!0}),r(Qe)!=="svelte-68kw4k"&&(Qe.innerHTML=Zn),eo=l(e),Ke=a(e,"UL",{"data-svelte-h":!0}),r(Ke)!=="svelte-df85hq"&&(Ke.innerHTML=Wn),to=l(e),et=a(e,"P",{"data-svelte-h":!0}),r(et)!=="svelte-paax9d"&&(et.innerHTML=Dn),io=l(e),f(tt.$$.fragment,e),so=l(e),it=a(e,"P",{"data-svelte-h":!0}),r(it)!=="svelte-hbgtxz"&&(it.innerHTML=Bn),oo=l(e),f(st.$$.fragment,e),lo=l(e),ot=a(e,"P",{"data-svelte-h":!0}),r(ot)!=="svelte-if0791"&&(ot.textContent=Nn),no=l(e),lt=a(e,"P",{"data-svelte-h":!0}),r(lt)!=="svelte-9zs46y"&&(lt.textContent=Xn),ao=l(e),nt=a(e,"P",{"data-svelte-h":!0}),r(nt)!=="svelte-ktahrm"&&(nt.textContent=Fn),ro=l(e),at=a(e,"UL",{"data-svelte-h":!0}),r(at)!=="svelte-1frr5y8"&&(at.innerHTML=Sn),uo=l(e),rt=a(e,"P",{"data-svelte-h":!0}),r(rt)!=="svelte-1nju92b"&&(rt.innerHTML=Yn),fo=l(e),ut=a(e,"P",{"data-svelte-h":!0}),r(ut)!=="svelte-1575xev"&&(ut.textContent=zn),po=l(e),ft=a(e,"P",{"data-svelte-h":!0}),r(ft)!=="svelte-15y7ezq"&&(ft.textContent=En),ho=l(e),f(pt.$$.fragment,e),mo=l(e),ht=a(e,"P",{"data-svelte-h":!0}),r(ht)!=="svelte-vqa3gp"&&(ht.innerHTML=Vn),co=l(e),dt=a(e,"P",{"data-svelte-h":!0}),r(dt)!=="svelte-cferf5"&&(dt.innerHTML=On),go=l(e),f(mt.$$.fragment,e),yo=l(e),ct=a(e,"P",{"data-svelte-h":!0}),r(ct)!=="svelte-bmf593"&&(ct.innerHTML=Qn),wo=l(e),f(gt.$$.fragment,e),bo=l(e),yt=a(e,"P",{"data-svelte-h":!0}),r(yt)!=="svelte-160saia"&&(yt.innerHTML=Kn),vo=l(e),wt=a(e,"OL",{"data-svelte-h":!0}),r(wt)!=="svelte-147evhz"&&(wt.innerHTML=ea),xo=l(e),f(bt.$$.fragment,e),To=l(e),vt=a(e,"OL",{"data-svelte-h":!0}),r(vt)!=="svelte-1dyfapb"&&(vt.innerHTML=ta),Mo=l(e),xt=a(e,"UL",{"data-svelte-h":!0}),r(xt)!=="svelte-bfdf0l"&&(xt.innerHTML=ia),$o=l(e),x=a(e,"OL",{start:!0,"data-svelte-h":!0}),r(x)!=="svelte-9teity"&&(x.innerHTML=sa),Co=l(e),f(Tt.$$.fragment,e),ko=l(e),Mt=a(e,"P",{"data-svelte-h":!0}),r(Mt)!=="svelte-18wldn4"&&(Mt.textContent=oa),Io=l(e),$t=a(e,"P",{"data-svelte-h":!0}),r($t)!=="svelte-ha1e2a"&&($t.innerHTML=la),Ho=l(e),Ct=a(e,"P",{"data-svelte-h":!0}),r(Ct)!=="svelte-hj53bb"&&(Ct.innerHTML=na),Lo=l(e),w=a(e,"OL",{});var vi=mi(w);gi=a(vi,"LI",{"data-svelte-h":!0}),r(gi)!=="svelte-1051ijo"&&(gi.innerHTML=aa),bl=l(vi),kt=a(vi,"LI",{});var gl=mi(kt);yi=a(gl,"P",{"data-svelte-h":!0}),r(yi)!=="svelte-clge5v"&&(yi.textContent=ra),vl=l(gl),f(It.$$.fragment,gl),gl.forEach(i),xl=l(vi),Ht=a(vi,"LI",{});var yl=mi(Ht);wi=a(yl,"P",{"data-svelte-h":!0}),r(wi)!=="svelte-imt6wq"&&(wi.textContent=ua),Tl=l(yl),f(Lt.$$.fragment,yl),yl.forEach(i),vi.forEach(i),Po=l(e),Pt=a(e,"P",{"data-svelte-h":!0}),r(Pt)!=="svelte-12bf6z0"&&(Pt.innerHTML=fa),_o=l(e),_t=a(e,"OL",{start:!0});var Ja=mi(_t);Jt=a(Ja,"LI",{});var wl=mi(Jt);bi=a(wl,"P",{"data-svelte-h":!0}),r(bi)!=="svelte-1sxg1ux"&&(bi.textContent=pa),Ml=l(wl),f(Ut.$$.fragment,wl),wl.forEach(i),Ja.forEach(i),Jo=l(e),jt=a(e,"P",{"data-svelte-h":!0}),r(jt)!=="svelte-baqsq9"&&(jt.innerHTML=ha),Uo=l(e),T=a(e,"OL",{start:!0,"data-svelte-h":!0}),r(T)!=="svelte-1ug4u82"&&(T.innerHTML=da),jo=l(e),qt=a(e,"P",{"data-svelte-h":!0}),r(qt)!=="svelte-6e1eyz"&&(qt.textContent=ma),qo=l(e),f(At.$$.fragment,e),Ao=l(e),Rt=a(e,"P",{"data-svelte-h":!0}),r(Rt)!=="svelte-zb2pxr"&&(Rt.textContent=ca),Ro=l(e),f(Gt.$$.fragment,e),Go=l(e),Zt=a(e,"P",{"data-svelte-h":!0}),r(Zt)!=="svelte-1xnez06"&&(Zt.textContent=ga),Zo=l(e),f(Wt.$$.fragment,e),Wo=l(e),Dt=a(e,"P",{"data-svelte-h":!0}),r(Dt)!=="svelte-1ee1sp3"&&(Dt.innerHTML=ya),Do=l(e),f(Bt.$$.fragment,e),Bo=l(e),Nt=a(e,"P",{"data-svelte-h":!0}),r(Nt)!=="svelte-1fsb6ew"&&(Nt.innerHTML=wa),No=l(e),f(Xt.$$.fragment,e),Xo=l(e),Ft=a(e,"P",{"data-svelte-h":!0}),r(Ft)!=="svelte-1h0d1ob"&&(Ft.innerHTML=ba),Fo=l(e),f(St.$$.fragment,e),So=l(e),Yt=a(e,"P",{"data-svelte-h":!0}),r(Yt)!=="svelte-b5s72j"&&(Yt.textContent=va),Yo=l(e),f(zt.$$.fragment,e),zo=l(e),Et=a(e,"P",{"data-svelte-h":!0}),r(Et)!=="svelte-1adm7yl"&&(Et.textContent=xa),Eo=l(e),f(Vt.$$.fragment,e),Vo=l(e),M=a(e,"OL",{start:!0,"data-svelte-h":!0}),r(M)!=="svelte-vcjscl"&&(M.innerHTML=Ta),Oo=l(e),f(Ot.$$.fragment,e),Qo=l(e),Qt=a(e,"P",{"data-svelte-h":!0}),r(Qt)!=="svelte-109saxj"&&(Qt.innerHTML=Ma),Ko=l(e),Kt=a(e,"P",{"data-svelte-h":!0}),r(Kt)!=="svelte-1w3mw7o"&&(Kt.innerHTML=$a),el=l(e),f(ei.$$.fragment,e),tl=l(e),ti=a(e,"P",{"data-svelte-h":!0}),r(ti)!=="svelte-1df4miy"&&(ti.innerHTML=Ca),il=l(e),ii=a(e,"P",{"data-svelte-h":!0}),r(ii)!=="svelte-12n8jzj"&&(ii.textContent=ka),sl=l(e),si=a(e,"P",{"data-svelte-h":!0}),r(si)!=="svelte-kna9l3"&&(si.innerHTML=Ia),ol=l(e),f(oi.$$.fragment,e),ll=l(e),li=a(e,"P",{"data-svelte-h":!0}),r(li)!=="svelte-6tihfz"&&(li.innerHTML=Ha),nl=l(e),f(ni.$$.fragment,e),al=l(e),f(ai.$$.fragment,e),rl=l(e),ri=a(e,"P",{"data-svelte-h":!0}),r(ri)!=="svelte-ciarbw"&&(ri.textContent=La),ul=l(e),ui=a(e,"OL",{"data-svelte-h":!0}),r(ui)!=="svelte-ff502d"&&(ui.innerHTML=Pa),fl=l(e),f(fi.$$.fragment,e),pl=l(e),f(pi.$$.fragment,e),hl=l(e),hi=a(e,"P",{"data-svelte-h":!0}),r(hi)!=="svelte-1w7izlk"&&(hi.innerHTML=_a),dl=l(e),f(di.$$.fragment,e),ml=l(e),Ti=a(e,"P",{}),mi(Ti).forEach(i),this.h()},h(){ci(b,"name","hf:doc:metadata"),ci(b,"content",Da),ci(v,"start","2"),ci(x,"start","10"),ci(_t,"start","4"),ci(T,"start","5"),ci(M,"start","6")},m(e,t){y(document.head,b),s(e,Mi,t),s(e,xi,t),s(e,$i,t),p($,e,t),s(e,Ci,t),s(e,C,t),s(e,ki,t),s(e,k,t),s(e,Ii,t),s(e,I,t),s(e,Hi,t),s(e,H,t),s(e,Li,t),p(L,e,t),s(e,Pi,t),s(e,P,t),s(e,_i,t),s(e,_,t),s(e,Ji,t),s(e,J,t),s(e,Ui,t),s(e,U,t),s(e,ji,t),s(e,j,t),s(e,qi,t),p(q,e,t),s(e,Ai,t),s(e,A,t),s(e,Ri,t),s(e,R,t),s(e,Gi,t),s(e,G,t),s(e,Zi,t),s(e,Z,t),s(e,Wi,t),s(e,W,t),s(e,Di,t),p(D,e,t),s(e,Bi,t),s(e,B,t),s(e,Ni,t),s(e,N,t),s(e,Xi,t),s(e,X,t),s(e,Fi,t),s(e,F,t),s(e,Si,t),s(e,S,t),s(e,Yi,t),s(e,Y,t),s(e,zi,t),p(z,e,t),s(e,Ei,t),s(e,E,t),s(e,Vi,t),s(e,V,t),s(e,Oi,t),s(e,O,t),s(e,Qi,t),s(e,Q,t),s(e,Ki,t),p(K,e,t),s(e,es,t),s(e,ee,t),s(e,ts,t),s(e,te,t),s(e,is,t),s(e,ie,t),s(e,ss,t),s(e,v,t),s(e,os,t),s(e,se,t),s(e,ls,t),p(oe,e,t),s(e,ns,t),s(e,le,t),s(e,as,t),s(e,ne,t),s(e,rs,t),p(ae,e,t),s(e,us,t),s(e,re,t),s(e,fs,t),s(e,ue,t),s(e,ps,t),p(fe,e,t),s(e,hs,t),s(e,pe,t),s(e,ds,t),s(e,he,t),s(e,ms,t),s(e,de,t),s(e,cs,t),s(e,me,t),s(e,gs,t),p(ce,e,t),s(e,ys,t),s(e,ge,t),s(e,ws,t),s(e,ye,t),s(e,bs,t),s(e,we,t),s(e,vs,t),s(e,be,t),s(e,xs,t),s(e,ve,t),s(e,Ts,t),p(xe,e,t),s(e,Ms,t),s(e,Te,t),s(e,$s,t),s(e,Me,t),s(e,Cs,t),p($e,e,t),s(e,ks,t),s(e,Ce,t),s(e,Is,t),s(e,ke,t),s(e,Hs,t),s(e,Ie,t),s(e,Ls,t),s(e,He,t),s(e,Ps,t),s(e,Le,t),s(e,_s,t),p(Pe,e,t),s(e,Js,t),s(e,_e,t),s(e,Us,t),s(e,Je,t),s(e,js,t),s(e,Ue,t),s(e,qs,t),s(e,je,t),s(e,As,t),s(e,qe,t),s(e,Rs,t),s(e,Ae,t),s(e,Gs,t),s(e,Re,t),s(e,Zs,t),s(e,Ge,t),s(e,Ws,t),s(e,Ze,t),s(e,Ds,t),p(We,e,t),s(e,Bs,t),s(e,De,t),s(e,Ns,t),s(e,Be,t),s(e,Xs,t),s(e,Ne,t),s(e,Fs,t),s(e,Xe,t),s(e,Ss,t),s(e,Fe,t),s(e,Ys,t),p(Se,e,t),s(e,zs,t),s(e,Ye,t),s(e,Es,t),p(ze,e,t),s(e,Vs,t),s(e,Ee,t),s(e,Os,t),s(e,Ve,t),s(e,Qs,t),s(e,Oe,t),s(e,Ks,t),s(e,Qe,t),s(e,eo,t),s(e,Ke,t),s(e,to,t),s(e,et,t),s(e,io,t),p(tt,e,t),s(e,so,t),s(e,it,t),s(e,oo,t),p(st,e,t),s(e,lo,t),s(e,ot,t),s(e,no,t),s(e,lt,t),s(e,ao,t),s(e,nt,t),s(e,ro,t),s(e,at,t),s(e,uo,t),s(e,rt,t),s(e,fo,t),s(e,ut,t),s(e,po,t),s(e,ft,t),s(e,ho,t),p(pt,e,t),s(e,mo,t),s(e,ht,t),s(e,co,t),s(e,dt,t),s(e,go,t),p(mt,e,t),s(e,yo,t),s(e,ct,t),s(e,wo,t),p(gt,e,t),s(e,bo,t),s(e,yt,t),s(e,vo,t),s(e,wt,t),s(e,xo,t),p(bt,e,t),s(e,To,t),s(e,vt,t),s(e,Mo,t),s(e,xt,t),s(e,$o,t),s(e,x,t),s(e,Co,t),p(Tt,e,t),s(e,ko,t),s(e,Mt,t),s(e,Io,t),s(e,$t,t),s(e,Ho,t),s(e,Ct,t),s(e,Lo,t),s(e,w,t),y(w,gi),y(w,bl),y(w,kt),y(kt,yi),y(kt,vl),p(It,kt,null),y(w,xl),y(w,Ht),y(Ht,wi),y(Ht,Tl),p(Lt,Ht,null),s(e,Po,t),s(e,Pt,t),s(e,_o,t),s(e,_t,t),y(_t,Jt),y(Jt,bi),y(Jt,Ml),p(Ut,Jt,null),s(e,Jo,t),s(e,jt,t),s(e,Uo,t),s(e,T,t),s(e,jo,t),s(e,qt,t),s(e,qo,t),p(At,e,t),s(e,Ao,t),s(e,Rt,t),s(e,Ro,t),p(Gt,e,t),s(e,Go,t),s(e,Zt,t),s(e,Zo,t),p(Wt,e,t),s(e,Wo,t),s(e,Dt,t),s(e,Do,t),p(Bt,e,t),s(e,Bo,t),s(e,Nt,t),s(e,No,t),p(Xt,e,t),s(e,Xo,t),s(e,Ft,t),s(e,Fo,t),p(St,e,t),s(e,So,t),s(e,Yt,t),s(e,Yo,t),p(zt,e,t),s(e,zo,t),s(e,Et,t),s(e,Eo,t),p(Vt,e,t),s(e,Vo,t),s(e,M,t),s(e,Oo,t),p(Ot,e,t),s(e,Qo,t),s(e,Qt,t),s(e,Ko,t),s(e,Kt,t),s(e,el,t),p(ei,e,t),s(e,tl,t),s(e,ti,t),s(e,il,t),s(e,ii,t),s(e,sl,t),s(e,si,t),s(e,ol,t),p(oi,e,t),s(e,ll,t),s(e,li,t),s(e,nl,t),p(ni,e,t),s(e,al,t),p(ai,e,t),s(e,rl,t),s(e,ri,t),s(e,ul,t),s(e,ui,t),s(e,fl,t),p(fi,e,t),s(e,pl,t),p(pi,e,t),s(e,hl,t),s(e,hi,t),s(e,dl,t),p(di,e,t),s(e,ml,t),s(e,Ti,t),cl=!0},p:ja,i(e){cl||(h($.$$.fragment,e),h(L.$$.fragment,e),h(q.$$.fragment,e),h(D.$$.fragment,e),h(z.$$.fragment,e),h(K.$$.fragment,e),h(oe.$$.fragment,e),h(ae.$$.fragment,e),h(fe.$$.fragment,e),h(ce.$$.fragment,e),h(xe.$$.fragment,e),h($e.$$.fragment,e),h(Pe.$$.fragment,e),h(We.$$.fragment,e),h(Se.$$.fragment,e),h(ze.$$.fragment,e),h(tt.$$.fragment,e),h(st.$$.fragment,e),h(pt.$$.fragment,e),h(mt.$$.fragment,e),h(gt.$$.fragment,e),h(bt.$$.fragment,e),h(Tt.$$.fragment,e),h(It.$$.fragment,e),h(Lt.$$.fragment,e),h(Ut.$$.fragment,e),h(At.$$.fragment,e),h(Gt.$$.fragment,e),h(Wt.$$.fragment,e),h(Bt.$$.fragment,e),h(Xt.$$.fragment,e),h(St.$$.fragment,e),h(zt.$$.fragment,e),h(Vt.$$.fragment,e),h(Ot.$$.fragment,e),h(ei.$$.fragment,e),h(oi.$$.fragment,e),h(ni.$$.fragment,e),h(ai.$$.fragment,e),h(fi.$$.fragment,e),h(pi.$$.fragment,e),h(di.$$.fragment,e),cl=!0)},o(e){d($.$$.fragment,e),d(L.$$.fragment,e),d(q.$$.fragment,e),d(D.$$.fragment,e),d(z.$$.fragment,e),d(K.$$.fragment,e),d(oe.$$.fragment,e),d(ae.$$.fragment,e),d(fe.$$.fragment,e),d(ce.$$.fragment,e),d(xe.$$.fragment,e),d($e.$$.fragment,e),d(Pe.$$.fragment,e),d(We.$$.fragment,e),d(Se.$$.fragment,e),d(ze.$$.fragment,e),d(tt.$$.fragment,e),d(st.$$.fragment,e),d(pt.$$.fragment,e),d(mt.$$.fragment,e),d(gt.$$.fragment,e),d(bt.$$.fragment,e),d(Tt.$$.fragment,e),d(It.$$.fragment,e),d(Lt.$$.fragment,e),d(Ut.$$.fragment,e),d(At.$$.fragment,e),d(Gt.$$.fragment,e),d(Wt.$$.fragment,e),d(Bt.$$.fragment,e),d(Xt.$$.fragment,e),d(St.$$.fragment,e),d(zt.$$.fragment,e),d(Vt.$$.fragment,e),d(Ot.$$.fragment,e),d(ei.$$.fragment,e),d(oi.$$.fragment,e),d(ni.$$.fragment,e),d(ai.$$.fragment,e),d(fi.$$.fragment,e),d(pi.$$.fragment,e),d(di.$$.fragment,e),cl=!1},d(e){e&&(i(Mi),i(xi),i($i),i(Ci),i(C),i(ki),i(k),i(Ii),i(I),i(Hi),i(H),i(Li),i(Pi),i(P),i(_i),i(_),i(Ji),i(J),i(Ui),i(U),i(ji),i(j),i(qi),i(Ai),i(A),i(Ri),i(R),i(Gi),i(G),i(Zi),i(Z),i(Wi),i(W),i(Di),i(Bi),i(B),i(Ni),i(N),i(Xi),i(X),i(Fi),i(F),i(Si),i(S),i(Yi),i(Y),i(zi),i(Ei),i(E),i(Vi),i(V),i(Oi),i(O),i(Qi),i(Q),i(Ki),i(es),i(ee),i(ts),i(te),i(is),i(ie),i(ss),i(v),i(os),i(se),i(ls),i(ns),i(le),i(as),i(ne),i(rs),i(us),i(re),i(fs),i(ue),i(ps),i(hs),i(pe),i(ds),i(he),i(ms),i(de),i(cs),i(me),i(gs),i(ys),i(ge),i(ws),i(ye),i(bs),i(we),i(vs),i(be),i(xs),i(ve),i(Ts),i(Ms),i(Te),i($s),i(Me),i(Cs),i(ks),i(Ce),i(Is),i(ke),i(Hs),i(Ie),i(Ls),i(He),i(Ps),i(Le),i(_s),i(Js),i(_e),i(Us),i(Je),i(js),i(Ue),i(qs),i(je),i(As),i(qe),i(Rs),i(Ae),i(Gs),i(Re),i(Zs),i(Ge),i(Ws),i(Ze),i(Ds),i(Bs),i(De),i(Ns),i(Be),i(Xs),i(Ne),i(Fs),i(Xe),i(Ss),i(Fe),i(Ys),i(zs),i(Ye),i(Es),i(Vs),i(Ee),i(Os),i(Ve),i(Qs),i(Oe),i(Ks),i(Qe),i(eo),i(Ke),i(to),i(et),i(io),i(so),i(it),i(oo),i(lo),i(ot),i(no),i(lt),i(ao),i(nt),i(ro),i(at),i(uo),i(rt),i(fo),i(ut),i(po),i(ft),i(ho),i(mo),i(ht),i(co),i(dt),i(go),i(yo),i(ct),i(wo),i(bo),i(yt),i(vo),i(wt),i(xo),i(To),i(vt),i(Mo),i(xt),i($o),i(x),i(Co),i(ko),i(Mt),i(Io),i($t),i(Ho),i(Ct),i(Lo),i(w),i(Po),i(Pt),i(_o),i(_t),i(Jo),i(jt),i(Uo),i(T),i(jo),i(qt),i(qo),i(Ao),i(Rt),i(Ro),i(Go),i(Zt),i(Zo),i(Wo),i(Dt),i(Do),i(Bo),i(Nt),i(No),i(Xo),i(Ft),i(Fo),i(So),i(Yt),i(Yo),i(zo),i(Et),i(Eo),i(Vo),i(M),i(Oo),i(Qo),i(Qt),i(Ko),i(Kt),i(el),i(tl),i(ti),i(il),i(ii),i(sl),i(si),i(ol),i(ll),i(li),i(nl),i(al),i(rl),i(ri),i(ul),i(ui),i(fl),i(pl),i(hl),i(hi),i(dl),i(ml),i(Ti)),i(b),m($,e),m(L,e),m(q,e),m(D,e),m(z,e),m(K,e),m(oe,e),m(ae,e),m(fe,e),m(ce,e),m(xe,e),m($e,e),m(Pe,e),m(We,e),m(Se,e),m(ze,e),m(tt,e),m(st,e),m(pt,e),m(mt,e),m(gt,e),m(bt,e),m(Tt,e),m(It),m(Lt),m(Ut),m(At,e),m(Gt,e),m(Wt,e),m(Bt,e),m(Xt,e),m(St,e),m(zt,e),m(Vt,e),m(Ot,e),m(ei,e),m(oi,e),m(ni,e),m(ai,e),m(fi,e),m(pi,e),m(di,e)}}}const Da='{"title":"How to contribute to Diffusers 🧨","local":"how-to-contribute-to-diffusers-","sections":[{"title":"Overview","local":"overview","sections":[{"title":"1. Asking and answering questions on the Diffusers discussion forum or on the Diffusers Discord","local":"1-asking-and-answering-questions-on-the-diffusers-discussion-forum-or-on-the-diffusers-discord","sections":[],"depth":3},{"title":"2. Opening new issues on the GitHub issues tab","local":"2-opening-new-issues-on-the-github-issues-tab","sections":[{"title":"2.1. Reproducible, minimal bug reports","local":"21-reproducible-minimal-bug-reports","sections":[],"depth":4},{"title":"2.2. Feature requests","local":"22-feature-requests","sections":[],"depth":4},{"title":"2.3 Feedback","local":"23-feedback","sections":[],"depth":4},{"title":"2.4 Technical questions","local":"24-technical-questions","sections":[],"depth":4},{"title":"2.5 Proposal to add a new model, scheduler, or pipeline","local":"25-proposal-to-add-a-new-model-scheduler-or-pipeline","sections":[],"depth":4}],"depth":3},{"title":"3. Answering issues on the GitHub issues tab","local":"3-answering-issues-on-the-github-issues-tab","sections":[],"depth":3},{"title":"4. Fixing a “Good first issue”","local":"4-fixing-a-good-first-issue","sections":[],"depth":3},{"title":"5. Contribute to the documentation","local":"5-contribute-to-the-documentation","sections":[],"depth":3},{"title":"6. Contribute a community pipeline","local":"6-contribute-a-community-pipeline","sections":[],"depth":3},{"title":"7. Contribute to training examples","local":"7-contribute-to-training-examples","sections":[],"depth":3},{"title":"8. Fixing a “Good second issue”","local":"8-fixing-a-good-second-issue","sections":[],"depth":3},{"title":"9. Adding pipelines, models, schedulers","local":"9-adding-pipelines-models-schedulers","sections":[{"title":"Copied from mechanism","local":"copied-from-mechanism","sections":[],"depth":4}],"depth":3}],"depth":2},{"title":"How to write a good issue","local":"how-to-write-a-good-issue","sections":[],"depth":2},{"title":"How to write a good PR","local":"how-to-write-a-good-pr","sections":[],"depth":2},{"title":"How to open a PR","local":"how-to-open-a-pr","sections":[{"title":"Tests","local":"tests","sections":[],"depth":3},{"title":"Syncing forked main with upstream (HuggingFace) main","local":"syncing-forked-main-with-upstream-huggingface-main","sections":[],"depth":3},{"title":"Style guide","local":"style-guide","sections":[],"depth":3}],"depth":2}],"depth":1}';function Ba($l){return qa(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ya extends Aa{constructor(b){super(),Ra(this,b,Ba,Wa,Ua,{})}}export{Ya as component};
