We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Setting up the launcher to process on an MPS device causes the benchmark to be stuck permanently on “Sending report to main process.”
process
Steps to reproduce: Run this configuration on an MPS device (Mac M-series).
defaults: - benchmark - scenario: inference - **launcher: process # launcher: inline works** - backend: pytorch - _base_ - _self_ name: pytorch_bert scenario: latency: true memory: true input_shapes: batch_size: 1 sequence_length: 128 backend: device: mps no_weights: true model: bert-base-uncased
(example adapted from pytorch_bert.yaml)
pytorch_bert.yaml
Temporary Solution: set to launcher: inline
launcher: inline
Remarks: launcher.start_method: fork does not also work on mac
launcher.start_method: fork
The text was updated successfully, but these errors were encountered:
now that I think about it, this might be a problem in your shared memory size, did you run this on docker ?
Sorry, something went wrong.
No, i installed the project from source and ran it
No branches or pull requests
Setting up the launcher to
process
on an MPS device causes the benchmark to be stuck permanently on “Sending report to main process.”Steps to reproduce:
Run this configuration on an MPS device (Mac M-series).
(example adapted from
pytorch_bert.yaml
)Temporary Solution: set to
launcher: inline
Remarks:
launcher.start_method: fork
does not also work on macThe text was updated successfully, but these errors were encountered: