Segfault on macOS (MPS) when loading a bf16 checkpoint with dtype=torch.float32 and device_map=”auto” (async loading)

这个 SIGSEGV 通常出现在 macOS Apple Silicon(MPS)上,用 device_map="auto" 加载 bf16 权重、同时强制 dtype=torch.float32 触发权重转换时。异步加载线程池内有多个 worker 并发做 MPS 转换会踩到竞态;优先排查是否命中
![[Cloud] deepseek-v4.1-flash silently discards all image input while advertising `vision` in capabilities](https://www.chat-gpts.plus/wp-content/uploads/2026/10/18527-9a7ba542-768x403.jpg)







