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

refactored compute forward to not pass in the src tensors each time #729

Merged
merged 8 commits into from
Feb 21, 2024

Conversation

siddharthvader
Copy link
Contributor

intended to address issue #724

src/ggml.c Outdated
@@ -2607,7 +2607,7 @@ static struct ggml_tensor * ggml_new_tensor_impl(
/*.nb =*/ { 0, 0, 0, 0 },
/*.op =*/ GGML_OP_NONE,
/*.op_params =*/ { 0 },
/*.flags =*/ 0,
/*.is_param =*/ false,
Copy link
Collaborator

Choose a reason for hiding this comment

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

It looks like something went wrong while merging with the latest changes, this and all other uses of flags shouldn't be changed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hmm got it, will take a look

Copy link
Contributor Author

Choose a reason for hiding this comment

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

okay I should have fixed all the instances where there were merge issues affecting flags. the code builds now after running make -j4 gpt-2-backend gpt-j so I think it should be in good shape now!

@siddharthvader
Copy link
Contributor Author

looking into why the customop test is failing

@siddharthvader
Copy link
Contributor Author

all tests are passing locally now!

@ggerganov ggerganov merged commit 4712fd1 into ggerganov:master Feb 21, 2024
4 checks passed
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