Skip to content

Commit 4c213b6

Browse files
author
MkDocs
committed
Deployed 2ea7619 to 0.2 with MkDocs 1.6.1 and mike 2.1.3
1 parent 188a4ed commit 4c213b6

File tree

4 files changed

+35
-9
lines changed

4 files changed

+35
-9
lines changed
0 Bytes
Binary file not shown.

0.2/diffusers/installation/index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@
11691169
-->
11701170

11711171
<h1 id="installation">Installation<a class="headerlink" href="#installation" title="Permanent link">&para;</a></h1>
1172-
<p>🤗 Diffusers is tested on Python 3.8+, MindSpore 2.2.10+. Follow the installation instructions below for the deep learning library you are using:</p>
1172+
<p>🤗 Diffusers is tested on Python 3.8+, MindSpore 2.3+. Follow the installation instructions below for the deep learning library you are using:</p>
11731173
<ul>
11741174
<li><a href="https://www.mindspore.cn/install">MindSpore</a> installation instructions</li>
11751175
</ul>
@@ -1264,7 +1264,7 @@ <h2 id="telemetry-logging">Telemetry logging<a class="headerlink" href="#telemet
12641264
<span class="md-icon" title="Last update">
12651265
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1zM12.5 7v5.2l4 2.4-1 1L11 13V7zM11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2z"/></svg>
12661266
</span>
1267-
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">July 5, 2024</span>
1267+
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">September 27, 2024</span>
12681268
</span>
12691269

12701270

@@ -1284,12 +1284,13 @@ <h2 id="telemetry-logging">Telemetry logging<a class="headerlink" href="#telemet
12841284
<span class="md-source-file__fact">
12851285
<span class="md-icon" title="Contributors">
12861286

1287-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 4a4 4 0 0 1 4 4 4 4 0 0 1-4 4 4 4 0 0 1-4-4 4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4"/></svg>
1287+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 5.5A3.5 3.5 0 0 1 15.5 9a3.5 3.5 0 0 1-3.5 3.5A3.5 3.5 0 0 1 8.5 9 3.5 3.5 0 0 1 12 5.5M5 8c.56 0 1.08.15 1.53.42-.15 1.43.27 2.85 1.13 3.96C7.16 13.34 6.16 14 5 14a3 3 0 0 1-3-3 3 3 0 0 1 3-3m14 0a3 3 0 0 1 3 3 3 3 0 0 1-3 3c-1.16 0-2.16-.66-2.66-1.62a5.54 5.54 0 0 0 1.13-3.96c.45-.27.97-.42 1.53-.42M5.5 18.25c0-2.07 2.91-3.75 6.5-3.75s6.5 1.68 6.5 3.75V20h-13zM0 20v-1.5c0-1.39 1.89-2.56 4.45-2.9-.59.68-.95 1.62-.95 2.65V20zm24 0h-3.5v-1.75c0-1.03-.36-1.97-.95-2.65 2.56.34 4.45 1.51 4.45 2.9z"/></svg>
12881288

12891289
</span>
12901290
<nav>
12911291

1292-
<a href="mailto:74176172+geniuspatrick@users.noreply.github.com">Genius Patrick</a>
1292+
<a href="mailto:74176172+geniuspatrick@users.noreply.github.com">Genius Patrick</a>,
1293+
<a href="mailto:townwish2023@outlook.com">townwish4git</a>
12931294
</nav>
12941295
</span>
12951296

0.2/diffusers/limitations/index.html

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,15 @@
653653
</span>
654654
</a>
655655

656+
</li>
657+
658+
<li class="md-nav__item">
659+
<a href="#selfconfig-in-construct" class="md-nav__link">
660+
<span class="md-ellipsis">
661+
self.config in construct()
662+
</span>
663+
</a>
664+
656665
</li>
657666

658667
</ul>
@@ -1130,6 +1139,15 @@
11301139
</span>
11311140
</a>
11321141

1142+
</li>
1143+
1144+
<li class="md-nav__item">
1145+
<a href="#selfconfig-in-construct" class="md-nav__link">
1146+
<span class="md-ellipsis">
1147+
self.config in construct()
1148+
</span>
1149+
</a>
1150+
11331151
</li>
11341152

11351153
</ul>
@@ -1201,6 +1219,13 @@ <h3 id="baseoutput"><code>BaseOutput</code><a class="headerlink" href="#baseoutp
12011219
<h3 id="output-of-autoencoderklencode">Output of <code>AutoencoderKL.encode</code><a class="headerlink" href="#output-of-autoencoderklencode" title="Permanent link">&para;</a></h3>
12021220
<p>Unlike the output <code>posterior = DiagonalGaussianDistribution(latent)</code>, which can do sampling by <code>posterior.sample()</code>.
12031221
We can only output the <code>latent</code> and then do sampling through <code>AutoencoderKL.diag_gauss_dist.sample(latent)</code>.</p>
1222+
<h3 id="selfconfig-in-construct"><code>self.config</code> in <code>construct()</code><a class="headerlink" href="#selfconfig-in-construct" title="Permanent link">&para;</a></h3>
1223+
<p>For many models, parameters used in initialization will be registered in <code>self.config</code>. They are often accessed during the <code>construct</code> like using <code>if self.config.xxx == xxx</code> to determine execution paths in origin 🤗diffusers. However getting attributes like this is not supported by static graph syntax of MindSpore. Two feasible replacement options are</p>
1224+
<ul>
1225+
<li>set new attributes in initialization for <code>self</code> like <code>self.xxx = self.config.xxx</code>, then use <code>self.xxx</code> in <code>construct</code> instead.</li>
1226+
<li>use <code>self.config["xxx"]</code> as <code>self.config</code> is an <code>OrderedDict</code> and getting items like this is supported in static graph mode.</li>
1227+
</ul>
1228+
<p>When <code>self.config.xxx</code> changed, we change <code>self.xxx</code> and <code>self.config["xxx"]</code> both.</p>
12041229
<h2 id="models">Models<a class="headerlink" href="#models" title="Permanent link">&para;</a></h2>
12051230
<p>The table below represents the current support in mindone/diffusers for each of those modules, whether they have support in Pynative fp16 mode, Graph fp16 mode, Pynative fp32 mode or Graph fp32 mode.</p>
12061231
<table>
@@ -1453,8 +1478,7 @@ <h2 id="pipelines">Pipelines<a class="headerlink" href="#pipelines" title="Perma
14531478
<p>The table below represents the current support in mindone/diffusers for each of those pipelines in <strong>MindSpore 2.3.0</strong>,
14541479
whether they have support in Pynative fp16 mode, Graph fp16 mode, Pynative fp32 mode or Graph fp32 mode.</p>
14551480
<blockquote>
1456-
<p>Hint: Due to the precision issue with GroupNorm affecting almost all pipelines under FP16, leading to inference
1457-
precision issues of pipelines, the experiments in the table below default to upcasting GroupNorm to FP32 to avoid
1481+
<p>precision issues of pipelines, the experiments in the table below default to upcasting GroupNorm to FP32 to avoid
14581482
this issue.</p>
14591483
</blockquote>
14601484
<table>
@@ -1973,7 +1997,7 @@ <h2 id="pipelines">Pipelines<a class="headerlink" href="#pipelines" title="Perma
19731997
<span class="md-icon" title="Last update">
19741998
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1zM12.5 7v5.2l4 2.4-1 1L11 13V7zM11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2z"/></svg>
19751999
</span>
1976-
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">August 27, 2024</span>
2000+
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">September 27, 2024</span>
19772001
</span>
19782002

19792003

@@ -1999,7 +2023,8 @@ <h2 id="pipelines">Pipelines<a class="headerlink" href="#pipelines" title="Perma
19992023
<nav>
20002024

20012025
<a href="mailto:74176172+geniuspatrick@users.noreply.github.com">Genius Patrick</a>,
2002-
<a href="mailto:53842165+the-truthh@users.noreply.github.com">The-truthh</a>
2026+
<a href="mailto:53842165+the-truthh@users.noreply.github.com">The-truthh</a>,
2027+
<a href="mailto:townwish2023@outlook.com">townwish4git</a>
20032028
</nav>
20042029
</span>
20052030

0.2/search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)