Skip to content

Replace bfloat16 dtype from bfloat16 package by one from ml_dtypes package#330

Merged
benvanwerkhoven merged 2 commits intomasterfrom
fix-bfloat16-dtype
Jan 21, 2026
Merged

Replace bfloat16 dtype from bfloat16 package by one from ml_dtypes package#330
benvanwerkhoven merged 2 commits intomasterfrom
fix-bfloat16-dtype

Conversation

@stijnh
Copy link
Member

@stijnh stijnh commented Sep 15, 2025

This imports the bfloat16 numpy data type from ml_dtypes instead of the bfloat16 package. It seems that the original bfloat16 package does not seem to work anymore with the latest version of Numpy.

@stijnh stijnh self-assigned this Sep 15, 2025
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@benvanwerkhoven benvanwerkhoven merged commit 5855b1a into master Jan 21, 2026
2 checks 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