Skip to content

Conversation

@tengyifei
Copy link
Collaborator

@tengyifei tengyifei commented Jan 3, 2025

When creating the output tensors holding the result of a scan, I forgot to specify the dtype, leading to all of them having the default dtype. It turns out bfloat16 is quite popular in LLMs so we need to support that.

Here we add a test and add the single missed line.

When creating the output tensor holding the result of a `scan`, I forgot
to specify the dtype, leading to all of them having the default dtype.

Here we add a test and add the single missed line.
@tengyifei tengyifei added the tpuci label Jan 3, 2025
@tengyifei tengyifei requested a review from bhavya01 January 3, 2025 22:41
@tengyifei tengyifei marked this pull request as ready for review January 3, 2025 22:41
@tengyifei tengyifei merged commit d3d00ac into master Jan 4, 2025
12 checks passed
qihqi pushed a commit that referenced this pull request Jan 16, 2025
This was referenced Jan 22, 2025
tengyifei added a commit that referenced this pull request Jan 22, 2025
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