cbensimon HF Staff commited on
Commit
fd3048e
·
verified ·
1 Parent(s): 49d0222

Create README.md

Browse files
Files changed (1) hide show
  1. WanTransformerBlock.fp8da/README.md +16 -0
WanTransformerBlock.fp8da/README.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # WanTransformerBlock
2
+
3
+ {Block metadata / build context}
4
+
5
+ ## Example usage
6
+
7
+ ``` python
8
+ import spaces
9
+ import torch
10
+ from diffusers import DiffusionPipeline
11
+ from torchao import quantize_
12
+
13
+ pipeline = DiffusionPipeline.from_pretrained('Wan2.2')
14
+ quantize_(pipeline.transformer, Float8Config())
15
+ spaces.aoti_blocks_load(pipeline.transformer, 'zerogpu-aoti/Wan2', variant='fp8da')
16
+ ```