Skip to content

Conversation

@scotts
Copy link
Contributor

@scotts scotts commented Apr 9, 2025

Summary:
We were running into the Static Initialization Order Fiasco: https://en.cppreference.com/w/cpp/language/siof

We avoid this problem by delaying the initialization of the device map until runtime.

Differential Revision: D72722867

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 9, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D72722867

…ytorch#631)

Summary:
Pull Request resolved: meta-pytorch#631

We were running into the Static Initialization Order Fiasco: https://en.cppreference.com/w/cpp/language/siof

We avoid this problem by delaying the initialization of the device map until runtime.

Differential Revision: D72722867
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D72722867

@scotts scotts force-pushed the export-D72722867 branch from 3c1ba4d to f63639b Compare April 9, 2025 19:42
@facebook-github-bot facebook-github-bot merged commit 619f1ce into meta-pytorch:main Apr 10, 2025
46 of 48 checks passed
@scotts scotts deleted the export-D72722867 branch June 23, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants