mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 12:02:04 +08:00
Update call to py-spy to conform to new API (#5758)
This commit is contained in:
committed by
Robert Nishihara
parent
249ca2cf9e
commit
b03147e7bf
@@ -751,7 +751,7 @@ workers=$(
|
||||
for worker in $workers; do
|
||||
echo "Stack dump for $worker";
|
||||
pid=`echo $worker | awk '{print $2}'`;
|
||||
sudo $pyspy --pid $pid --dump;
|
||||
sudo $pyspy dump --pid $pid;
|
||||
echo;
|
||||
done
|
||||
"""
|
||||
|
||||
+1
-1
@@ -73,7 +73,7 @@ extras = {
|
||||
"rllib": [
|
||||
"pyyaml", "gym[atari]", "opencv-python-headless", "lz4", "scipy"
|
||||
],
|
||||
"debug": ["psutil", "setproctitle", "py-spy"],
|
||||
"debug": ["psutil", "setproctitle", "py-spy >= 0.2.0"],
|
||||
"dashboard": ["aiohttp", "psutil", "setproctitle"],
|
||||
"serve": ["uvicorn", "pygments", "werkzeug"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user