mk96
March 29, 2023, 12:39am
1
When I try to see the flame graph for a worker on the dashboard, I get the error:
Looks like ray is using a UNIX command. I have py-spy installed in same environment that ray is installed in. Can I manually tell it where my py-spy is installed?
Are you using Windows or WSL?
For windows, I believe there’s a fix for this issue
ray-project:master ← pcmoritz:ray-dashboard-py-spy-windows
opened 07:31AM - 16 Mar 23 UTC
## Why are these changes needed?
Fixes https://github.com/ray-project/ray/iss… ues/33193
## Related issue number
## Checks
- [ ] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR.
- [ ] I've run `scripts/format.sh` to lint the changes in this PR.
- [ ] I've included any doc changes needed for https://docs.ray.io/en/master/.
- [ ] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
- Testing Strategy
- [ ] Unit tests
- [ ] Release tests
- [ ] This PR is not tested :(
mk96
March 29, 2023, 2:48pm
4
I’m using Windows, not WSL.
mk96
March 29, 2023, 2:59pm
5
Cool, I used this on my local copy of ray and it works now.