Skip to content

Primitive's vjp not implemented. #132

Closed Answered by awni
h-0-0 asked this question in Q&A
Discussion options

You must be logged in to vote

From looking at it, I think it is this line:

output_neg[i] = self.projection(toProj_neg)

I believe this is implemented with a Scatter which does not have a vjp yet. You can workaround that by using concatenate for now.

So

...
  output_negs.append(self.projection(toProj_neg))
output_neg = mx.concatenate(output_negs, axis=...)

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by awni
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants