Skip to content
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

Bug Fix: off is parsed as False in yaml file #4446

Merged
merged 3 commits into from
Jun 24, 2024
Merged

Conversation

stceum
Copy link
Contributor

@stceum stceum commented Jun 24, 2024

Bug Fix: off is parsed as False in yaml file, changed to disabled to avoid this.

What does this PR do?

Fixes # (issue)

I have tried to set flash_attn to off, and got error Unknown attention type: False.
Then this bug is found and fixed as submitted.

Reference:
[1] yaml/pyyaml#376

Before submitting

@hiyouga hiyouga self-requested a review June 24, 2024 13:12
Copy link
Owner

@hiyouga hiyouga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hiyouga hiyouga merged commit cc452c3 into hiyouga:main Jun 24, 2024
1 check passed
@hiyouga hiyouga added the solved This problem has been already solved label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved This problem has been already solved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants