Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

Fixes #3336

bmaltais and others added 2 commits June 23, 2025 08:37
v25.2.1
I replaced the Linux-specific AVX check with a cross-platform solution using the `py-cpuinfo` library. This ensures that the TensorBoard feature is only enabled on systems with AVX support, regardless of the operating system.

The new implementation provides a more robust solution that prevents crashes on incompatible hardware while maintaining a consistent user experience across different platforms.
@bmaltais bmaltais changed the base branch from master to dev July 13, 2025 14:00
@bmaltais bmaltais marked this pull request as ready for review July 13, 2025 14:05
@bmaltais bmaltais merged commit 80a6d1e into dev Jul 13, 2025
2 checks passed
@b-fission
Copy link
Contributor

It might be better to check specifically for avx2

return 'avx2' in info['flags']

In fact, #3336 is experiencing this crash even though avx is visible in their cpuinfo.

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.

The script crashes abnormally; it works fine after commenting out import tensorflow

2 participants