Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Minifier dumps checkpoints that are malformed Python (none is not capitalized) #1378

@ezyang

Description

@ezyang

do the repro instructions at pytorch/pytorch#93694

pick one of the big checkpoints, like 615.py

it has this line

        self.self_transformer_blocks_0__feed_forward_activation = GELU(approximate=none)

none is not a valid Python identifier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions