ray/release/ml_user_tests/ray-lightning/driver_setup.sh
Amog Kamsetty 3408b60d2b
[Release] Refactor User Tests (#20028)
* wip

* add directory

* wip

* try again

* Revert "try again"

This reverts commit 82d33ccea6f92848df025e019b87df73cea49e5d.

* finish

* formatting

* fix merge

* fix path

* chmod

* check

* sudo

* wip

* update

* fix horovod

* try

* typo

* reduce num workers
2021-11-05 17:28:37 -07:00

8 lines
No EOL
404 B
Bash
Executable file

#!/bin/bash
# Install extras (e.g. gym[atari]) are not allowed in constraint files.
# Hack to remove the first line and all brackets in `requirements_tune.txt`
# so that requirements_tune.txt can be used as a constraint in driver_requirements.txt
sed '1d' ./../../../python/requirements/ml/requirements_tune.txt | sed 's/\[//g;s/\]//g' > tune_constraints.txt
pip install -U -r ./driver_requirements.txt