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

update dcu paddlenlp_ops #9430

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions csrc/setup_hip.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def update_git_submodule():
except subprocess.CalledProcessError as e:
print(f"Error occurred while updating git submodule: {str(e)}")
raise

update_git_submodule()
setup(
name="paddlenlp_ops",
Expand Down Expand Up @@ -50,6 +51,8 @@ def update_git_submodule():
"./gpu/quant_int8.cu",
"./gpu/dequant_int8.cu",
"./gpu/flash_attn_bwd.cc",
"./gpu/update_inputs_v2.cu",
"./gpu/set_preids_token_penalty_multi_scores.cu",
],
extra_compile_args={
"cxx": ["-O3"],
Expand Down
Loading