Skip to content

Commit

Permalink
added gradio (#133)
Browse files Browse the repository at this point in the history
* added gradio

* added gradio
  • Loading branch information
FrankLeeeee committed Jun 13, 2024
1 parent 6c34b68 commit df483a5
Show file tree
Hide file tree
Showing 3 changed files with 211 additions and 272 deletions.
4 changes: 2 additions & 2 deletions configs/opensora-v1-2/inference/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

model = dict(
type="STDiT3-XL/2",
from_pretrained=None,
from_pretrained="/mnt/jfs/sora_checkpoints/042-STDiT3-XL-2/epoch0-global_step7200/ema.pt",
qk_norm=True,
enable_flash_attn=True,
enable_layernorm_kernel=True,
)
vae = dict(
type="OpenSoraVAE_V1_2",
from_pretrained="pretrained_models/vae-pipeline",
from_pretrained="/mnt/jfs/sora_checkpoints/vae-pipeline",
micro_frame_size=17,
micro_batch_size=4,
)
Expand Down
Loading

0 comments on commit df483a5

Please sign in to comment.