From f682fbffa420dd8a51928f39e742d92e61dfad0f Mon Sep 17 00:00:00 2001 From: GokuMohandas Date: Tue, 19 Sep 2023 13:56:16 -0700 Subject: [PATCH] updating to Ray 2.7 --- README.md | 24 +++++++++++++----------- requirements.txt | 2 +- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 3e8b91c1..f9b1e0e5 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,18 @@ We'll start by setting up our cluster with the environment and compute configura +### Git setup + +Create a repository by following these instructions: [Create a new repository](https://github.com/new) → name it `Made-With-ML` → Toggle `Add a README file` (**very important** as this creates a `main` branch) → Click `Create repository` (scroll down) + +Now we're ready to clone the repository that has all of our code: + +```bash +git clone https://github.com/GokuMohandas/Made-With-ML.git . +``` + ### Credentials + ```bash touch .env ``` @@ -113,16 +124,6 @@ GITHUB_USERNAME="CHANGE_THIS_TO_YOUR_USERNAME" # ← CHANGE THIS source .env ``` -### Git setup - -Create a repository by following these instructions: [Create a new repository](https://github.com/new) → name it `Made-With-ML` → Toggle `Add a README file` (**very important** as this creates a `main` branch) → Click `Create repository` (scroll down) - -Now we're ready to clone the repository that has all of our code: - -```bash -git clone https://github.com/GokuMohandas/Made-With-ML.git . -``` - ### Virtual environment
@@ -385,7 +386,8 @@ export RUN_ID=$(python madewithml/predict.py get-best-run-id --experiment-name $ pytest --run-id=$RUN_ID tests/model --verbose --disable-warnings # Coverage -python3 -m pytest tests/code --cov madewithml --cov-report html --disable-warnings +python3 -m pytest tests/code --cov madewithml --cov-report html --disable-warnings # html report +python3 -m pytest tests/code --cov madewithml --cov-report term --disable-warnings # terminal report ``` ## Production diff --git a/requirements.txt b/requirements.txt index 64cfd34b..8b0f5360 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ numpy==1.24.3 numpyencoder==0.3.0 pandas==2.0.1 python-dotenv==1.0.0 -ray[air]==2.6.0 +ray[air]==2.7.0 scikit-learn==1.2.2 snorkel==0.9.9 SQLAlchemy==1.4.48