Skip to content

Fuse optimization#1248

Closed
xinhaoc wants to merge 19 commits into
flexflow:BertMLM_fixesfrom
xinhaoc:bert_fix1
Closed

Fuse optimization#1248
xinhaoc wants to merge 19 commits into
flexflow:BertMLM_fixesfrom
xinhaoc:bert_fix1

Conversation

@xinhaoc

@xinhaoc xinhaoc commented Dec 21, 2023

Copy link
Copy Markdown
Collaborator

Description of changes:

Related Issues:

Linked Issues:

  • Issue #

Issues closed by this PR:

  • Closes #

This change is Reviewable

Comment thread src/ops/kernels/dropout_kernels.cu Outdated
cudaStream_t stream;
checkCUDA(get_legion_stream(&stream));
Internal::forward_kernel(m, input_ptr, output_ptr, stream);
Internal::forward_kernel(m, input.get_float_ptr(), output.get_float_ptr(), stream);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This signature does not match dropout_kernels.h, which adds another parameter: size_t num_elements

Comment thread src/ops/kernels/dropout_kernels.cu Outdated
cudaStream_t stream;
checkCUDA(get_legion_stream(&stream));
Internal::backward_kernel(m, output_grad_ptr, input_grad_ptr, stream);
Internal::backward_kernel(m, output_grad.get_float_ptr(), input_grad.get_float_ptr(), stream);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This signature does not match dropout_kernels.h, which adds another parameter: size_t num_elements

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Hi Pinku, I pushed some fix, please tell me if you meet any issue.

Comment thread src/ops/fused.cu
@jiazhihao

Copy link
Copy Markdown
Collaborator

@xinhaoc Should we close this PR?

@xinhaoc

xinhaoc commented Sep 5, 2024

Copy link
Copy Markdown
Collaborator Author

@xinhaoc Should we close this PR?

this is the working pr of candle project, let's keep it know

@goliaro goliaro closed this Jan 9, 2025
@lockshaw

lockshaw commented Jan 9, 2025

Copy link
Copy Markdown
Collaborator

Move to flexflow/flexflow-serve#87

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.

5 participants