Skip to content

Unable to run gpt_oss model type #206

@hoblin

Description

@hoblin

A serverless worker can't start with openai/gpt-oss-20b model

Value error, The checkpoint you are trying to load has model type `gpt_oss` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.\n

The fix for this error is already listed on the openai's gpt-oss page.

TL;DR: !pip install -U transformers>=4.55.0 kernels torch==2.6.0

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