mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 16:31:25 +08:00
Remove debug extras from setup.py (#12751)
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ RLlib Quick Start
|
||||
.. code-block:: bash
|
||||
|
||||
pip install tensorflow # or tensorflow-gpu
|
||||
pip install "ray[rllib]" # also recommended: ray[debug]
|
||||
pip install "ray[rllib]"
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
ray[debug]
|
||||
ray
|
||||
scipy
|
||||
|
||||
@@ -1 +1 @@
|
||||
ray[debug,rllib]
|
||||
ray[rllib]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
ray[debug]
|
||||
ray
|
||||
atoma
|
||||
flask
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
ray[debug]
|
||||
ray
|
||||
wikipedia
|
||||
|
||||
@@ -15,7 +15,7 @@ You can install the latest official version of Ray as follows. Official releases
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install -U ray # also recommended: ray[debug]
|
||||
pip install -U ray
|
||||
|
||||
**Note for Windows Users:** To use Ray on Windows, Visual C++ runtime must be installed (see :ref:`Windows Dependencies <windows-dependencies>` section). If you run into any issues, please see the :ref:`Windows Support <windows-support>` section.
|
||||
|
||||
|
||||
@@ -196,7 +196,7 @@ RLlib Quick Start
|
||||
.. code-block:: bash
|
||||
|
||||
pip install tensorflow # or tensorflow-gpu
|
||||
pip install ray[rllib] # also recommended: ray[debug]
|
||||
pip install ray[rllib]
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ RLlib has extra dependencies on top of ``ray``. First, you'll need to install ei
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install 'ray[rllib]' # also recommended: ray[debug]
|
||||
pip install 'ray[rllib]'
|
||||
|
||||
Then, you can try out training in the following equivalent ways:
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
@@ -1 +1 @@
|
||||
ray[debug]
|
||||
ray
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
ray[debug]
|
||||
ray
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
ray[debug]
|
||||
ray
|
||||
|
||||
@@ -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]):
|
||||
|
||||
@@ -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'"
|
||||
|
||||
@@ -46,7 +46,7 @@ wheel="https://s3-us-west-2.amazonaws.com/ray-wheels/$ray_branch/$commit/ray-$ra
|
||||
conda uninstall -y terminado
|
||||
pip install -U pip
|
||||
pip install -U "$wheel"
|
||||
pip install "ray[rllib]" "ray[debug]"
|
||||
pip install "ray[rllib]" "ray"
|
||||
pip install terminado
|
||||
pip install torch==1.6 torchvision
|
||||
pip install boto3==1.4.8 cython==0.29.0
|
||||
|
||||
@@ -47,7 +47,7 @@ wheel="https://s3-us-west-2.amazonaws.com/ray-wheels/$ray_branch/$commit/ray-$ra
|
||||
conda uninstall -y terminado
|
||||
pip install -U pip
|
||||
pip install -U "$wheel"
|
||||
pip install "ray[rllib]" "ray[debug]"
|
||||
pip install "ray[rllib]" "ray"
|
||||
pip install terminado
|
||||
pip install boto3==1.4.8 cython==0.29.0
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
ray[rllib]
|
||||
ray[debug]
|
||||
ray
|
||||
torch==1.6+cu101
|
||||
torchvision==0.7.0+cu101
|
||||
boto3==1.4.8
|
||||
|
||||
@@ -1 +1 @@
|
||||
ray[debug]
|
||||
ray
|
||||
|
||||
Reference in New Issue
Block a user