-
Notifications
You must be signed in to change notification settings - Fork 339
feature: add mps kernel for compute_puff_advantage
#422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3.0
Are you sure you want to change the base?
Conversation
| torch_deterministic = True | ||
| cpu_offload = False | ||
| device = cuda | ||
| device = default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is controversial or not, but just means people don't need to manually pass --train.device mps every time, automatically select the best one based off of the get_accelerator function
|
To get working (at least for me) on my Macbook Pro with an M2 chip: I ran into an issue with xcode
I tested:
|





features
compute_puff_advantagenn.init.orthogonal_not being supported on mpsbenchmarks
Macbook Pro M4 Pro Max (14 core)
build and run
ARCHFLAGS="-arch arm64"env variable--train.device=mps