Skip to content

Fix data type arguments for Transformers - #55

Merged
FKKimura merged 4 commits into
FujitsuResearch:develop/v1-3-2from
y-vectorfield:fix_transformers_dtype
Aug 24, 2026
Merged

Fix data type arguments for Transformers#55
FKKimura merged 4 commits into
FujitsuResearch:develop/v1-3-2from
y-vectorfield:fix_transformers_dtype

Conversation

@y-vectorfield

@y-vectorfield y-vectorfield commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Renamed the deprecated torch_dtype argument to dtype at all Transformers (#51).
API call sites to stop the following
warning:

torch_dtype is deprecated! Use dtype instead!

Only the arguments passed to Transformers were changed. Internal function
signatures, config dict keys (e.g. reading torch_dtype from config.json),
and the public load_quantized_model(torch_dtype=...) API are left unchanged
to preserve backward compatibility.

@y-vectorfield
y-vectorfield force-pushed the fix_transformers_dtype branch from 052c032 to a4e21a5 Compare August 22, 2026 07:15
@y-vectorfield
y-vectorfield changed the base branch from develop/v1-3-2 to main August 22, 2026 07:21
@FKKimura
FKKimura changed the base branch from main to develop/v1-3-2 August 24, 2026 05:28
@FKKimura
FKKimura changed the base branch from develop/v1-3-2 to main August 24, 2026 05:30
@FKKimura
FKKimura changed the base branch from main to develop/v1-3-2 August 24, 2026 06:28
@FKKimura
FKKimura merged commit 5479db1 into FujitsuResearch:develop/v1-3-2 Aug 24, 2026
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.

2 participants