Skip to content

Fix: use torch_dtype instead of dtype in model loading#284

Open
10Unknownboy wants to merge 1 commit intomicrosoft:mainfrom
10Unknownboy:main
Open

Fix: use torch_dtype instead of dtype in model loading#284
10Unknownboy wants to merge 1 commit intomicrosoft:mainfrom
10Unknownboy:main

Conversation

@10Unknownboy
Copy link
Copy Markdown

This fixes model initialization by replacing the unsupported dtype argument
with torch_dtype in from_pretrained().

This ensures compatibility with Hugging Face API and prevents potential issues
with ignored or invalid parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant