Skip to content

Conversation

@ggerganov
Copy link
Member

Simplify the compute graph

Copy link
Contributor

@KerfuffleV2 KerfuffleV2 left a comment

Choose a reason for hiding this comment

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

Not sure how much this approval is worth, but I tested inference on CPU and GPU (with the ROCM pull) and perplexity only on GPU. As far as I can see this does not affect the result at all: same perplexity, identical generation with a specific seed.

It also doesn't appear to have any noticeable effect on performance.

@ggerganov
Copy link
Member Author

Thanks for confirming. Yes, this should just reduce the number of nodes and make the code a tiny bit more clear - nothing dramatic.

@ggerganov ggerganov merged commit a73ccf1 into master Aug 17, 2023
@ggerganov ggerganov deleted the k-view3d branch August 17, 2023 07:47
@ggerganov ggerganov mentioned this pull request Aug 17, 2023
34 tasks
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