Skip to content

Conversation

hongjx175
Copy link

@hongjx175 hongjx175 commented Aug 21, 2025

Before submitting

  • Lint code. If there are lint issues, please format the code first.
# Install and register `pre-commit` in the project folder
pip install pre-commit && pre-commit install

# Process previous code files separately
pre-commit run --file XXXX.py
  • Add test cases into tests folder. If there are codecov issues, please add tests cases first.

PR types

[Bug fixes]

PR changes

[Models]

Description

Modified recompute_disable() in PretrainedModel

Copy link

paddle-bot bot commented Aug 21, 2025

Thanks for your contribution!

@CLAassistant
Copy link

CLAassistant commented Aug 21, 2025

CLA assistant check
All committers have signed the CLA.

@hongjx175 hongjx175 changed the title fix: fix the bug in transformers.model_utils.PretrainedModel.recomput… [BUG]: fix the bug in PretrainedModel.recompute_disable() Aug 21, 2025
@hongjx175 hongjx175 changed the title [BUG]: fix the bug in PretrainedModel.recompute_disable() [BUG]: fix the bug in PretrainedModel.recompute_disable() Aug 22, 2025
@hongjx175 hongjx175 force-pushed the fix_recompute_disable branch from 1fae3e0 to 9354b3e Compare August 22, 2025 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants