import{s as A,o as H,n as I}from"../chunks/scheduler.d627b047.js";import{S as M,i as j,g as b,s as p,r as x,A as k,h as w,f as a,c as f,j as y,u as P,k as U,y as q,a as r,v,d as E,t as C,w as S,x as z}from"../chunks/index.73c51727.js";import{T as F}from"../chunks/Tip.a82942ec.js";import{H as G,E as L}from"../chunks/index.8df1db42.js";function O($){let e,i="Section under construction. Feel free to contribute!";return{c(){e=b("p"),e.textContent=i},l(s){e=w(s,"P",{"data-svelte-h":!0}),z(e)!=="svelte-txx63b"&&(e.textContent=i)},m(s,c){r(s,e,c)},p:I,d(s){s&&a(e)}}}function R($){let e,i,s,c,m,h,o,g,l,d,u,_;return m=new G({props:{title:"Unsloth Integration",local:"unsloth-integration",headingTag:"h1"}}),o=new F({props:{warning:!0,$$slots:{default:[O]},$$scope:{ctx:$}}}),l=new L({props:{source:"https://github.com/huggingface/trl/blob/main/docs/source/unsloth_integration.md"}}),{c(){e=b("meta"),i=p(),s=b("p"),c=p(),x(m.$$.fragment),h=p(),x(o.$$.fragment),g=p(),x(l.$$.fragment),d=p(),u=b("p"),this.h()},l(t){const n=k("svelte-u9bgzb",document.head);e=w(n,"META",{name:!0,content:!0}),n.forEach(a),i=f(t),s=w(t,"P",{}),y(s).forEach(a),c=f(t),P(m.$$.fragment,t),h=f(t),P(o.$$.fragment,t),g=f(t),P(l.$$.fragment,t),d=f(t),u=w(t,"P",{}),y(u).forEach(a),this.h()},h(){U(e,"name","hf:doc:metadata"),U(e,"content",B)},m(t,n){q(document.head,e),r(t,i,n),r(t,s,n),r(t,c,n),v(m,t,n),r(t,h,n),v(o,t,n),r(t,g,n),v(l,t,n),r(t,d,n),r(t,u,n),_=!0},p(t,[n]){const T={};n&2&&(T.$$scope={dirty:n,ctx:t}),o.$set(T)},i(t){_||(E(m.$$.fragment,t),E(o.$$.fragment,t),E(l.$$.fragment,t),_=!0)},o(t){C(m.$$.fragment,t),C(o.$$.fragment,t),C(l.$$.fragment,t),_=!1},d(t){t&&(a(i),a(s),a(c),a(h),a(g),a(d),a(u)),a(e),S(m,t),S(o,t),S(l,t)}}}const B='{"title":"Unsloth Integration","local":"unsloth-integration","sections":[],"depth":1}';function D($){return H(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class V extends M{constructor(e){super(),j(this,e,D,R,A,{})}}export{V as component};
