Skip to content

New ruleset: torch load models with safetensor #386

Open
@thypon

Description

Code similar to:

        $VAR_TOKENIZER = $TOKENIZER.from_pretrained("...")

Should be marked, the advised fix is the same code plus the use_safetensors=True helper

        $VAR_TOKENIZER = $TOKENIZER.from_pretrained("...", use_safetensors=True)

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions