transformers
91c512bc - [docs] Replace deprecated torch_dtype with dtype in doc examples (#51051)

Commit
5 hours ago
[docs] Replace deprecated torch_dtype with dtype in doc examples (#51051) from_pretrained logs a deprecation warning for torch_dtype. Use dtype in the eight places that still pass the old argument. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
Parents
Loading