-
Notifications
You must be signed in to change notification settings - Fork 31.3k
Remove Neptune integration references and deprecate NeptuneCallback
#42666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
qgallouedec
commented
Dec 5, 2025
| ) | ||
|
|
||
|
|
||
| class NeptuneCallback(TrainerCallback): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR deprecates the Neptune integration in Transformers by removing documentation references and adding deprecation warnings to the NeptuneCallback class. The callback remains functional to support existing users, but will warn them to migrate to alternative experiment tracking integrations.
Key Changes
- Added deprecation warnings (docstring and runtime) to
NeptuneCallbackclass - Removed Neptune from the list of supported integrations in
TrainingArgumentsdocumentation - Removed Neptune setup guide and examples from PyTorch examples README
- Removed Neptune callback references from documentation across multiple languages (English, Korean, Japanese, Chinese)
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/transformers/training_args.py |
Removed "neptune" from the list of supported platforms in report_to parameter documentation (2 locations) |
src/transformers/integrations/integration_utils.py |
Added warnings import and deprecation warning to NeptuneCallback.__init__() with corresponding docstring warning |
examples/pytorch/README.md |
Removed complete Neptune integration section including installation instructions, usage examples, and environment variable documentation |
docs/source/en/main_classes/callback.md |
Removed NeptuneCallback reference from list of available callbacks and removed autodoc entry |
docs/source/zh/main_classes/callback.md |
Removed NeptuneCallback reference from list of available callbacks and removed autodoc entry (Chinese documentation) |
docs/source/ko/main_classes/callback.md |
Removed NeptuneCallback reference from list of available callbacks and removed autodoc entry (Korean documentation) |
docs/source/ja/main_classes/callback.md |
Removed NeptuneCallback reference from list of available callbacks and removed autodoc entry (Japanese documentation) |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
