Skip to content

Conversation

@GregoryComer
Copy link
Member

@GregoryComer GregoryComer commented Nov 13, 2025

In #265, I disabled Neon dot product instructions on certain Unisoc chipsets due to sporadic SIGILL crashes. This reduced the occurance substantially, but we still saw some crashes on Unisoc phones. I tracked this down to cpuinfo vendor detection failing on some phones due to conflicting Unisoc and Spreadtrum vendor info and thus not hitting the check. I disabled neondot on all unknown chipsets on armv7 in #300, based on the (faulty) assumption that major chipsets would not be considered to have an unknown vendor.

That assumption was not correct, so I've refined the check in this PR to resolve the ambiguity in vendor detection and re-enabling neon dot instructions on unknown chipsets in armv7 mode. This should resolve the issue for unisoc phones and undo any perf regression for non-Unisoc devices.

@meta-cla meta-cla bot added the cla signed label Nov 13, 2025
@GregoryComer GregoryComer marked this pull request as draft November 13, 2025 04:19
@GregoryComer GregoryComer force-pushed the disambiguate-unisoc-vendor branch from c979c67 to 21584c6 Compare November 13, 2025 04:20
@GregoryComer GregoryComer marked this pull request as ready for review November 13, 2025 04:20
@GregoryComer GregoryComer marked this pull request as draft November 13, 2025 04:22
@GregoryComer GregoryComer force-pushed the disambiguate-unisoc-vendor branch from 21584c6 to b28dd45 Compare November 13, 2025 04:23
@GregoryComer GregoryComer marked this pull request as ready for review November 13, 2025 04:25
@GregoryComer GregoryComer marked this pull request as draft November 13, 2025 04:25
@GregoryComer GregoryComer force-pushed the disambiguate-unisoc-vendor branch from b28dd45 to 98fa693 Compare November 13, 2025 04:26
@GregoryComer GregoryComer force-pushed the disambiguate-unisoc-vendor branch from 98fa693 to 68d4e24 Compare November 13, 2025 04:30
@GregoryComer GregoryComer marked this pull request as ready for review November 13, 2025 04:34
@GregoryComer GregoryComer merged commit f858c30 into pytorch:main Nov 14, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants