Commit f8e1a2ec authored by xuwx1's avatar xuwx1
Browse files

Update README.md

parent e1c52887
Pipeline #3154 canceled with stages
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
### 1. 模型量化 ### 1. 模型量化
#### 1.1 Wan2.2-lightning-I2V-A14B 量化为 INT8 #### 1.1 Wan2.2-lightning-I2V-A14B 量化为 INT8
```bash ```bash
python converter.py \ python tools/convert/converter.py \
--source /path/to/Wan2.2-I2V-A14B/low_noise_model \ --source /path/to/Wan2.2-I2V-A14B/low_noise_model \
--output /path/to/Wan2.2-I2V-A14B-INT8/low_noise_model \ --output /path/to/Wan2.2-I2V-A14B-INT8/low_noise_model \
--output_ext .safetensors \ --output_ext .safetensors \
...@@ -20,7 +20,7 @@ python converter.py \ ...@@ -20,7 +20,7 @@ python converter.py \
--save_by_block --save_by_block
``` ```
```bash ```bash
python converter.py \ python tools/convert/converter.py \
--source /path/to/Wan2.2-I2V-A14B/high_noise_model \ --source /path/to/Wan2.2-I2V-A14B/high_noise_model \
--output /path/to/Wan2.2-I2V-A14B-INT8/high_noise_model \ --output /path/to/Wan2.2-I2V-A14B-INT8/high_noise_model \
--output_ext .safetensors \ --output_ext .safetensors \
...@@ -35,7 +35,7 @@ python converter.py \ ...@@ -35,7 +35,7 @@ python converter.py \
#### 1.2 Wan2.1-I2V-14B-480P 量化为 INT8 #### 1.2 Wan2.1-I2V-14B-480P 量化为 INT8
```bash ```bash
python converter.py \ python tools/convert/converter.py \
--source /path/to/Wan2.1-I2V-14B-480P \ --source /path/to/Wan2.1-I2V-14B-480P \
--output /path/to/Wan2.1-I2V-14B-480P-INT8 \ --output /path/to/Wan2.1-I2V-14B-480P-INT8 \
--output_ext .safetensors \ --output_ext .safetensors \
...@@ -50,7 +50,7 @@ python converter.py \ ...@@ -50,7 +50,7 @@ python converter.py \
#### 1.3 Wan2.2-TI2V-5B 量化为 INT8 #### 1.3 Wan2.2-TI2V-5B 量化为 INT8
```bash ```bash
python converter.py \ python tools/convert/converter.py \
--source /path/to/Wan2.2-TI2V-5B \ --source /path/to/Wan2.2-TI2V-5B \
--output /path/to/Wan2.2-TI2V-5B-INT8 \ --output /path/to/Wan2.2-TI2V-5B-INT8 \
--output_ext .safetensors \ --output_ext .safetensors \
...@@ -67,7 +67,7 @@ python converter.py \ ...@@ -67,7 +67,7 @@ python converter.py \
### 2. LoRA 融合 ### 2. LoRA 融合
#### 2.1 融合单个 LoRA #### 2.1 融合单个 LoRA
```bash ```bash
python converter.py \ python tools/convert/converter.py \
--source /path/to/base_model/ \ --source /path/to/base_model/ \
--output /path/to/output \ --output /path/to/output \
--output_ext .safetensors \ --output_ext .safetensors \
...@@ -80,7 +80,7 @@ python converter.py \ ...@@ -80,7 +80,7 @@ python converter.py \
#### 2.2 融合多个 LoRA #### 2.2 融合多个 LoRA
```bash ```bash
python converter.py \ python tools/convert/converter.py \
--source /path/to/base_model/ \ --source /path/to/base_model/ \
--output /path/to/output \ --output /path/to/output \
--output_ext .safetensors \ --output_ext .safetensors \
......
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