Skip to content

Replace deprecated torch_dtype with dtype - #466

Open
xyf5432 wants to merge 1 commit into
ModelTC:mainfrom
xyf5432:fix/use-dtype-instead-of-torch-dtype
Open

Replace deprecated torch_dtype with dtype#466
xyf5432 wants to merge 1 commit into
ModelTC:mainfrom
xyf5432:fix/use-dtype-instead-of-torch-dtype

Conversation

@xyf5432

@xyf5432 xyf5432 commented Aug 28, 2026

Copy link
Copy Markdown

Fixes #465

Replaces the deprecated torch_dtype argument with dtype (transformers >= 4.56.0) in llmc/models/llava_hf.py.

torch_dtype is deprecated in transformers >= 4.56.0
(huggingface/transformers#39782) in favor of dtype.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace deprecated torch_dtype with dtype in llava_hf.py

1 participant