Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

compute types per platform #16730

Unanswered
okuvshynov asked this question in Q&A
Discussion options

If I get some model in gguf format (say, glm-air-q8), use same type for kv cache (f16) and run it:

  • on M2 Ultra
  • on CUDA
  • on CPU only

Will the types used for compute and activations be the same? Will we first de-quantize weights and cache to the same type (f16/f32/whatever), will we use same types for operations (operate on f16, accumulate to f32), etc.?

Or, will it depend on platform/kernel implementation on that platform? If it is different, what's the right place (pointers to code?) to learn these differences?

Thank you!

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /