Remove debug extras from setup.py (#12751)

This commit is contained in:
Eric Squires
2020-12-10 17:23:11 -05:00
committed by GitHub
parent 3fd3cb96ed
commit 9f70293700
20 changed files with 19 additions and 20 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ setup_commands:
# has your Ray repo pre-cloned. Then, you can replace the pip installs
# below with a git checkout <your_sha> (and possibly a recompile).
- source activate pytorch_p36 && pip install -U ray
- source activate pytorch_p36 && pip install -U ray[rllib] ray[tune] ray[debug]
- source activate pytorch_p36 && pip install -U ray[rllib] ray[tune] ray
# Consider uncommenting these if you also want to run apt-get commands during setup
# - sudo pkill -9 apt-get || true
# - sudo pkill -9 dpkg || true
+1 -1
View File
@@ -91,7 +91,7 @@ class MemoryMonitor:
if not psutil:
logger.warn("WARNING: Not monitoring node memory since `psutil` "
"is not installed. Install this with "
"`pip install psutil` (or ray[debug]) to enable "
"`pip install psutil` to enable "
"debugging of memory-related crashes.")
def get_memory_usage(self):
+1 -1
View File
@@ -1290,7 +1290,7 @@ def stack():
COMMAND = """
pyspy=`which py-spy`
if [ ! -e "$pyspy" ]; then
echo "ERROR: Please 'pip install py-spy' (or ray[debug]) first"
echo "ERROR: Please 'pip install py-spy' first"
exit 1
fi
# Set IFS to iterate over lines instead of over words.
+1 -1
View File
@@ -460,7 +460,7 @@ def memory_debug_str():
round(used_gb, 1), round(total_gb, 1), warn)
except ImportError:
return ("Unknown memory usage. Please run `pip install psutil` "
"(or ray[debug]) to resolve)")
"to resolve)")
def _get_trials_by_state(trials: List[Trial]):
-1
View File
@@ -95,7 +95,6 @@ ray_files += [
# also update the matching section of requirements.txt
# in this directory
extras = {
"debug": [],
"serve": [
"uvicorn", "flask", "requests", "pydantic<1.7",
"dataclasses; python_version < '3.7'"