Unverified Commit daa22050 authored by Nouamane Tazi's avatar Nouamane Tazi Committed by GitHub
Browse files

[docs] fix table in fp16.mdx (#683)

parent 877bec8a
...@@ -14,39 +14,16 @@ specific language governing permissions and limitations under the License. ...@@ -14,39 +14,16 @@ specific language governing permissions and limitations under the License.
We present some techniques and ideas to optimize 🤗 Diffusers _inference_ for memory or speed. We present some techniques and ideas to optimize 🤗 Diffusers _inference_ for memory or speed.
<table>
<tr> | | Latency | Speedup |
<td> |------------------|---------|---------|
<td>Latency | original | 9.50s | x1 |
<td>Speedup | cuDNN auto-tuner | 9.37s | x1.01 |
<tr> | autocast (fp16) | 5.47s | x1.91 |
<tr> | fp16 | 3.61s | x2.91 |
<td>original | channels last | 3.30s | x2.87 |
<td>9.50s | traced UNet | 3.21s | x2.96 |
<td>x1
<tr>
<tr>
<td>cuDNN auto-tuner
<td>9.37s
<td>x1.01
<tr>
<td>autocast (fp16)
<td>5.47s
<td>x1.91
<tr>
<td>fp16
<td>3.61s
<td>x2.91
<tr>
<td>channels last
<td>3.30s
<td>x2.87
<tr>
<tr>
<td>traced UNet
<td>3.21s
<td>x2.96
</table>
<em>obtained on NVIDIA TITAN RTX by generating a single image of size 512x512 from the prompt "a photo of an astronaut riding a horse on mars" with 50 DDIM steps.</em> <em>obtained on NVIDIA TITAN RTX by generating a single image of size 512x512 from the prompt "a photo of an astronaut riding a horse on mars" with 50 DDIM steps.</em>
## Enable cuDNN auto-tuner ## Enable cuDNN auto-tuner
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment