Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
coderai
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
coderai
Commits
d5f7b07c
Commit
d5f7b07c
authored
Mar 14, 2026
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename --vision-ctx and --vision-offload to --image-ctx and --image-offload
parent
2cdd7538
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
coderai
coderai
+6
-6
No files found.
coderai
View file @
d5f7b07c
...
@@ -4437,13 +4437,13 @@ def parse_args():
...
@@ -4437,13 +4437,13 @@ def parse_args():
help
=
"Port for whisper-server (default: 8744)."
,
help
=
"Port for whisper-server (default: 8744)."
,
)
)
parser
.
add_argument
(
parser
.
add_argument
(
"--
vision
-ctx"
,
"--
image
-ctx"
,
type
=
int
,
type
=
int
,
default
=
2048
,
default
=
2048
,
help
=
"Vision model context size (default: 2048)"
,
help
=
"Vision model context size (default: 2048)"
,
)
)
parser
.
add_argument
(
parser
.
add_argument
(
"--
vision
-offload"
,
"--
image
-offload"
,
type
=
float
,
type
=
float
,
default
=
None
,
default
=
None
,
help
=
"Vision model GPU offload percentage (0-100). If not set, loads fully on GPU"
,
help
=
"Vision model GPU offload percentage (0-100). If not set, loads fully on GPU"
,
...
@@ -5343,8 +5343,8 @@ def main():
...
@@ -5343,8 +5343,8 @@ def main():
if
image_models
:
if
image_models
:
print
(
f
"
\n
Image generation model(s): {image_models}"
)
print
(
f
"
\n
Image generation model(s): {image_models}"
)
multi_model_manager
.
set_image_model
(
image_models
[
0
],
{
multi_model_manager
.
set_image_model
(
image_models
[
0
],
{
'ctx'
:
args
.
vision
_ctx
,
'ctx'
:
args
.
image
_ctx
,
'offload'
:
args
.
vision
_offload
,
'offload'
:
args
.
image
_offload
,
'llm_path'
:
args
.
llm_path
,
'llm_path'
:
args
.
llm_path
,
'vae_path'
:
args
.
vae_path
,
'vae_path'
:
args
.
vae_path
,
'sample_method'
:
args
.
image_sample_method
,
'sample_method'
:
args
.
image_sample_method
,
...
@@ -5356,8 +5356,8 @@ def main():
...
@@ -5356,8 +5356,8 @@ def main():
#
Register
all
image
models
#
Register
all
image
models
for
img_m
in
image_models
[
1
:]:
for
img_m
in
image_models
[
1
:]:
multi_model_manager
.
set_image_model
(
img_m
,
{
multi_model_manager
.
set_image_model
(
img_m
,
{
'ctx'
:
args
.
vision
_ctx
,
'ctx'
:
args
.
image
_ctx
,
'offload'
:
args
.
vision
_offload
,
'offload'
:
args
.
image
_offload
,
})
})
#
Pre
-
load
image
model
if
it
's configured (even with audio models)
#
Pre
-
load
image
model
if
it
's configured (even with audio models)
...
...
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