Skip to content

Conversation

@bukejiyu
Copy link
Contributor

Currently, weights stored as U16 in safetensors are actually BF16 weights in Paddle. Therefore, we add a trick to avoid errors from paddle.utils.dlpack.from_dlpack.

@takeshi-yoshimura
Copy link
Collaborator

LGTM
please add the signed off by line

Signed-off-by: tangbinhan <[email protected]>
@bukejiyu
Copy link
Contributor Author

bukejiyu commented Jul 1, 2025

I have added the Signed-off-by line. @takeshi-yoshimura

@takeshi-yoshimura takeshi-yoshimura merged commit 427f4be into foundation-model-stack:main Jul 1, 2025
1 check passed
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.

2 participants