mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00
parent
08159eb668
commit
5f37231842
4 changed files with 3 additions and 5 deletions
|
@ -15,7 +15,7 @@ RUN set -x; apt update \
|
|||
&& mv bazel.gpg /etc/apt/trusted.gpg.d/ \
|
||||
&& echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list \
|
||||
&& apt update && apt install bazel-3.7.2 -y \
|
||||
&& pip3 install cython==0.29.26 pytest pandas tree tabulate pexpect sklearn joblib black==21.12b0 yapf==0.23.0 flake8==3.9.1 mypy==0.782 flake8-quotes flake8-bugbear==21.9.2 setproctitle==1.1.10 psutil \
|
||||
&& pip3 install cython==0.29.26 pytest pandas tree tabulate pexpect sklearn joblib black==21.12b0 flake8==3.9.1 mypy==0.782 flake8-quotes flake8-bugbear==21.9.2 setproctitle==1.1.10 psutil \
|
||||
&& python3 -c 'print("startup --output_base=/workspace/ray/.bazel-cache\nstartup --host_jvm_args=-Xmx1800m\nbuild --jobs=6")' > /etc/bazel.bazelrc
|
||||
|
||||
RUN update-alternatives --install /usr/local/bin/python python /usr/bin/python3 30 \
|
||||
|
|
|
@ -7,4 +7,3 @@ requests
|
|||
tabulate
|
||||
tensorflow
|
||||
black==21.12b0
|
||||
yapf==0.23.0
|
||||
|
|
|
@ -4,4 +4,3 @@ flake8-quotes==2.0.0
|
|||
flake8-bugbear==21.9.2
|
||||
mypy==0.782
|
||||
black==21.12b0
|
||||
yapf==0.23.0
|
||||
|
|
|
@ -40,7 +40,7 @@ from ray.rllib.utils.typing import (
|
|||
from ray.tune.utils.placement_groups import PlacementGroupFactory
|
||||
from ray.util.timer import _Timer
|
||||
|
||||
# yapf: disable
|
||||
# fmt: off
|
||||
# __sphinx_doc_begin__
|
||||
|
||||
# Adds the following updates to the `IMPALATrainer` config in
|
||||
|
@ -122,7 +122,7 @@ DEFAULT_CONFIG = Trainer.merge_trainer_configs(
|
|||
)
|
||||
|
||||
# __sphinx_doc_end__
|
||||
# yapf: enable
|
||||
# fmt: on
|
||||
|
||||
|
||||
class AlphaStarTrainer(appo.APPOTrainer):
|
||||
|
|
Loading…
Add table
Reference in a new issue