Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ci-demos
wan2.1
Commits
ce271da9
Commit
ce271da9
authored
Jan 31, 2026
by
jerrrrry
Browse files
Update .gitlab-ci.yml
parent
6499d200
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
4 deletions
+22
-4
.gitlab-ci.yml
.gitlab-ci.yml
+22
-4
No files found.
.gitlab-ci.yml
View file @
ce271da9
...
...
@@ -77,8 +77,19 @@ benchmark_wan2.1:
# 运行第一次测试(seed=2675441231)
-
echo "Running first test with seed=2675441231"
-
|
# 修改Python脚本以使用第一个seed
sed 's/prompt\["3"\]\["inputs"\]\["seed"\] = args.seed/prompt["3"]["inputs"]["seed"] = 2675441231/' wan_t2v_14B_1_gpu.py > temp_test1.py
# 先检查原始文件中的seed设置行
echo "Checking original seed line in wan_t2v_14B_1_gpu.py:"
grep -n "seed" wan_t2v_14B_1_gpu.py || echo "No seed line found"
# 创建第一个测试文件,直接替换seed值
cp wan_t2v_14B_1_gpu.py temp_test1.py
# 使用更简单的方法:直接替换数字
sed -i 's/args\.seed/2675441231/g' temp_test1.py
# 验证替换是否成功
echo "Verifying seed replacement in temp_test1.py:"
grep -n "2675441231" temp_test1.py || echo "Seed replacement failed!"
# 记录开始时间
start_time=$(date +%s)
...
...
@@ -116,8 +127,15 @@ benchmark_wan2.1:
# 运行第二次测试(seed=1234567890)
-
echo "Running second test with seed=1234567890"
-
|
# 修改Python脚本以使用第二个seed
sed 's/prompt\["3"\]\["inputs"\]\["seed"\] = args.seed/prompt["3"]["inputs"]["seed"] = 1234567890/' wan_t2v_14B_1_gpu.py > temp_test2.py
# 创建第二个测试文件
cp wan_t2v_14B_1_gpu.py temp_test2.py
# 使用更简单的方法:直接替换数字
sed -i 's/args\.seed/1234567890/g' temp_test2.py
# 验证替换是否成功
echo "Verifying seed replacement in temp_test2.py:"
grep -n "1234567890" temp_test2.py || echo "Seed replacement failed!"
# 记录开始时间
start_time=$(date +%s)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment