The CI system is failing for macOS and Windows for different reasons: - [x] General instability, some tests occasionally get server errors but this is not consistent. Needs to be investigated. - [x] macOS: PyTorch CPU fails to install for Python3.12 - [x] Token/URL Issues fail all tests - [ ] macOS: Threading issues. - [x] Windows: `tempfile.NamedTemporaryFile` leads to permission denied errors. Note in the case of Windows this can lead to a thread hang and a CI job that doesnt terminate.  