Skip to content

Replace deprecated torch_dtype with dtype in eval/liquid/train.py - #36

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

Replace deprecated torch_dtype with dtype in eval/liquid/train.py#36
xyf5432 wants to merge 1 commit into
FoundationVision:mainfrom
xyf5432:fix/use-dtype-instead-of-torch-dtype

Conversation

@xyf5432

@xyf5432 xyf5432 commented Aug 28, 2026

Copy link
Copy Markdown

Fixes #35

Replaces the deprecated torch_dtype argument with dtype (transformers >= 4.56.0) in from_pretrained calls and the config torch_dtype setter in eval/liquid/train.py.

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 eval/liquid/train.py

1 participant