gpt-oss is a collection of reference inference implementations for GPT models, published by OpenAI. Current version is 0.0.9, requiring Python >=3.12. It is in early development with weekly releases.
pip install gpt-ossNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize GPTInference with an API key from environment variable and generate a response.
Upgrade Python to 3.12 or later.
Use `max_new_tokens` instead of `max_tokens`.
Use `from gpt_oss import ...`