Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
videogen
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
videogen
Commits
b6d177d8
Commit
b6d177d8
authored
Feb 25, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix model selection for I2V generation by checking capabilities before scoring
parent
0a0e2084
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
videogen
videogen
+10
-0
No files found.
videogen
View file @
b6d177d8
...
...
@@ -3947,6 +3947,16 @@ def select_best_model(gen_type, models, vram_gb=24, prefer_quality=True, return_
# Check model capabilities
caps = detect_model_type(info)
# Skip models that don'
t
support
the
required
generation
type
if
gen_type_str
==
"t2v"
and
not
caps
[
"t2v"
]:
continue
elif
gen_type_str
==
"i2v"
and
not
caps
[
"i2v"
]:
continue
elif
gen_type_str
==
"t2i"
and
not
caps
[
"t2i"
]:
continue
elif
gen_type_str
==
"i2i"
and
not
caps
[
"i2i"
]:
continue
#
Score
the
model
score
=
0
reasons
=
[]
...
...
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