Skip to content

Conversation

Artefact2
Copy link
Collaborator

@Artefact2 Artefact2 commented Mar 16, 2024

The old behaviour is to use f16, but bf16 to f16 is not a lossless conversion. Change the outtype to f32 to default to a lossless conversion.

This restores original intended behaviour of #1309.

The old behaviour is to use f16, but bf16 to f16 is not a lossless conversion.
Change the outtype to f32 to default to a lossless conversion.
@cebtenzzre
Copy link
Collaborator

This was originally changed in commit 3839704, which was part of #2635 which was merged into #2398.

@ggerganov ggerganov merged commit 3a6efdd into ggml-org:master Mar 18, 2024
@cebtenzzre cebtenzzre removed the request for review from ivanstepanovftw March 18, 2024 16:29
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
The old behaviour is to use f16, but bf16 to f16 is not a lossless conversion.
Change the outtype to f32 to default to a lossless conversion.
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 3, 2024
The old behaviour is to use f16, but bf16 to f16 is not a lossless conversion.
Change the outtype to f32 to default to a lossless conversion.
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