Skip to content

Conversation

@xenova
Copy link
Collaborator

@xenova xenova commented Dec 12, 2025

Fixes TypeError: Tensor.data must be a typed array (4) for float16 tensors, but got typed array (0).

Closes #1481

Fixes `TypeError: Tensor.data must be a typed array (4) for float16 tensors, but got typed array (0).`
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@neonwatty
Copy link

neonwatty commented Dec 12, 2025

Looks great. Closed #1481 in favor of this better fix.

@xenova xenova merged commit b125e82 into main Dec 12, 2025
4 checks passed
@xenova xenova deleted the node-24-Float16Array-fix branch December 12, 2025 18:45
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.

4 participants