Skip to content

Commit 5e3e3aa

Browse files
Merge pull request #500 from THUDM/main
Merge
2 parents e7a35ea + cd5ceca commit 5e3e3aa

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ models we currently offer, along with their foundational information.
189189
<tr>
190190
<td style="text-align: center;">Video Resolution</td>
191191
<td colspan="1" style="text-align: center;">1360 * 768</td>
192-
<td colspan="1" style="text-align: center;">256 <= W <=1360<br> 256 <= H <=768<br> W,H % 16 == 0</td>
192+
<td colspan="1" style="text-align: center;"> Min(W, H) = 768 <br> 768 ≤ Max(W, H) ≤ 1360 <br> Max(W, H) % 16 = 0 </td>
193193
<td colspan="3" style="text-align: center;">720 * 480</td>
194194
</tr>
195195
<tr>

README_ja.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ CogVideoXは、[清影](https://chatglm.cn/video?fr=osm_cogvideox) と同源の
181181
<tr>
182182
<td style="text-align: center;">ビデオ解像度</td>
183183
<td colspan="1" style="text-align: center;">1360 * 768</td>
184-
<td colspan="1" style="text-align: center;">256 <= W <=1360<br> 256 <= H <=768<br> W,H % 16 == 0</td>
184+
<td colspan="1" style="text-align: center;"> Min(W, H) = 768 <br> 768 ≤ Max(W, H) ≤ 1360 <br> Max(W, H) % 16 = 0 </td>
185185
<td colspan="3" style="text-align: center;">720 * 480</td>
186186
</tr>
187187
<tr>

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ CogVideoX是 [清影](https://chatglm.cn/video?fr=osm_cogvideox) 同源的开源
171171
<tr>
172172
<td style="text-align: center;">视频分辨率</td>
173173
<td colspan="1" style="text-align: center;">1360 * 768</td>
174-
<td colspan="1" style="text-align: center;">256 <= W <=1360<br> 256 <= H <=768<br> W,H % 16 == 0</td>
174+
<td colspan="1" style="text-align: center;"> Min(W, H) = 768 <br> 768 ≤ Max(W, H) ≤ 1360 <br> Max(W, H) % 16 = 0 </td>
175175
<td colspan="3" style="text-align: center;">720 * 480</td>
176176
</tr>
177177
<tr>

tools/parallel_inference/parallel_inference_xdit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ def main():
7878
num_frames=input_config.num_frames,
7979
prompt=input_config.prompt,
8080
num_inference_steps=input_config.num_inference_steps,
81-
generator=torch.Generator(device="cuda").manual_seed(input_config.seed),
81+
generator=torch.Generator().manual_seed(input_config.seed),
8282
guidance_scale=6,
83+
use_dynamic_cfg=True,
8384
).frames[0]
8485

8586
end_time = time.time()

0 commit comments

Comments
 (0)