setfit
                                
                                
                                
                                    setfit copied to clipboard
                            
                            
                            
                        Fix bug where SetFitHead not moved to non-cuda devices on init
On my M2 macbook the SetFitHead is not moved to mps on init.
This is because of a typo in the ternary operation to determine the GPU.
@tomaarsen
cc @pcuenca as well
@pcuenca you're gonna have to do the merging because I don't have that option
~~@ajmssc I know! I wanted to wait a few hours in case @tomaarsen wanted to comment, merging now :)~~
lol, actually I can't do it either (or run the workflow), so let's wait for a maintainer.
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
@tomaarsen @pcuenca what do you want to do with this PR?
Hello!
Big apologies for the long delay - I should have gotten to this PR much sooner. Well spotted, and the fix looks solid as well. I'll merge it in a minute & include it in an upcoming release.
- Tom Aarsen