Open-Sora: Democratizing Efficient Video Production for All
Python
update readme
Zangwei Zheng6bd2d9cbbb35
diff --git a/README.md b/README.mdindex 361bba7..1769d93 100644--- a/README.md+++ b/README.md@@ -137,14 +137,14 @@ To run inference with our provided weights, first download [T5](https://huggingftorchrun --standalone --nproc_per_node 1 scripts/inference.py configs/opensora/inference/16x256x256.py --ckpt-path ./path/to/your/ckpt.pth --prompt-path ./asserts/texts/t2v_samples.txt# Sample 16x512x512 (20s/sample, 100 time steps)-torchrun --standalone --nproc_per_node 1 scripts/inference.py configs/opensora/inference/16x512x512.py --ckpt-path ./path/to/your/ckpt.pth+torchrun --standalone --nproc_per_node 1 scripts/inference.py configs/opensora/inference/16x512x512.py --ckpt-path ./path/to/your/ckpt.pth --prompt-path ./asserts/texts/t2v_samples.txt# Sample 64x512x512 (40s/sample, 100 time steps)-torchrun --standalone --nproc_per_node 1 scripts/inference.py configs/opensora/inference/64x512x512.py --ckpt-path ./path/to/your/ckpt.pth+torchrun --standalone --nproc_per_node 1 scripts/inference.py configs/opensora/inference/64x512x512.py --ckpt-path ./path/to/your/ckpt.pth --prompt-path ./asserts/texts/t2v_samples.txt# Sample 64x512x512 with sequence parallelism (30s/sample, 100 time steps)# sequence parallelism is enabled automatically when nproc_per_node is larger than 1-torchrun --standalone --nproc_per_node 2 scripts/inference.py configs/opensora/inference/64x512x512.py --ckpt-path ./path/to/your/ckpt.pth+torchrun --standalone --nproc_per_node 2 scripts/inference.py configs/opensora/inference/64x512x512.py --ckpt-path ./path/to/your/ckpt.pth --prompt-path ./asserts/texts/t2v_samples.txt```The speed is tested on H800 GPUs. For inference with other models, see [here](docs/commands.md) for more instructions.