Commit 64916419 authored by helloyongyang's avatar helloyongyang
Browse files

update readme

parent 84ece5f5
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
[Wan2.1-T2V-CausVid](https://huggingface.co/lightx2v/Wan2.1-T2V-14B-CausVid) [Wan2.1-T2V-CausVid](https://huggingface.co/lightx2v/Wan2.1-T2V-14B-CausVid)
## Fast Start Up With Conda ## Build Env With Conda
```shell ```shell
# clone repo and submodules # clone repo and submodules
...@@ -39,16 +39,32 @@ cd lightx2v/3rd/flash-attention && pip install --no-cache-dir -v -e . ...@@ -39,16 +39,32 @@ cd lightx2v/3rd/flash-attention && pip install --no-cache-dir -v -e .
# install flash-attention 3, only if hopper # install flash-attention 3, only if hopper
cd lightx2v/3rd/flash-attention/hopper && pip install --no-cache-dir -v -e . cd lightx2v/3rd/flash-attention/hopper && pip install --no-cache-dir -v -e .
```
## Build Env With Docker
```shell
docker pull lightx2v/lightx2v:latest
docker run -it --rm --name lightx2v --gpus all --ipc=host lightx2v/lightx2v:latest
```
## Run
Infer
```shell
# modify the parameters of the running script # modify the parameters of the running script
bash scripts/run_hunyuan_t2v.sh bash scripts/run_hunyuan_t2v.sh
``` ```
## Fast Start Up With Docker Start A Server
```shell ```shell
docker pull lightx2v/lightx2v:latest # modify the parameters of the running script
docker run -it --rm --name lightx2v --gpus all --ipc=host lightx2v/lightx2v:latest bash scripts/start_server.sh
# modify the message of the post.py
python post.py
``` ```
## Contributing Guidelines ## Contributing Guidelines
......
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