Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ModelZoo
LLaDA2.0-Uni
Commits
00a1a0e0
Commit
00a1a0e0
authored
Jun 02, 2026
by
raojy
💬
Browse files
Update run_Transformers_imgunderstand.py
parent
67f91de8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
LLaDA2.0/run_Transformers_imgunderstand.py
LLaDA2.0/run_Transformers_imgunderstand.py
+1
-1
No files found.
LLaDA2.0/run_Transformers_imgunderstand.py
View file @
00a1a0e0
...
...
@@ -6,7 +6,7 @@ from decoder.smart_img_process import smart_resize_images
model_path
=
"inclusionAI/LLaDA2.0-Uni"
tokenizer
=
AutoTokenizer
.
from_pretrained
(
model_path
,
trust_remote_code
=
True
)
model
=
AutoModelForCausalLM
.
from_pretrained
(
model_path
,
device_map
=
"
cuda
"
,
torch_dtype
=
"bfloat16"
,
trust_remote_code
=
True
model_path
,
device_map
=
"
auto
"
,
torch_dtype
=
"bfloat16"
,
trust_remote_code
=
True
).
eval
()
model
.
tokenizer
=
tokenizer
...
...
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