Skip to content

Update sequence_parallel for predict#8547

Merged
DesmonDay merged 1 commit into
PaddlePaddle:release/2.8from
DesmonDay:release/2.8
Jun 5, 2024
Merged

Update sequence_parallel for predict#8547
DesmonDay merged 1 commit into
PaddlePaddle:release/2.8from
DesmonDay:release/2.8

Conversation

@DesmonDay
Copy link
Copy Markdown
Contributor

PR types

Bug fixes

PR changes

Others

Description

Add try and except for sequence parallel.

@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented Jun 5, 2024

Thanks for your contribution!

Comment thread paddlenlp/trainer/trainer.py Outdated
try:
from paddle.base import core
except:
base = None
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
base = None
core = None

@DesmonDay DesmonDay merged commit 7c8d713 into PaddlePaddle:release/2.8 Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants