updating to Ray 2.7

This commit is contained in:
GokuMohandas 2023-09-19 13:56:16 -07:00
parent 14671a438a
commit f682fbffa4
2 changed files with 14 additions and 12 deletions

View File

@ -101,7 +101,18 @@ We'll start by setting up our cluster with the environment and compute configura
</details>
### 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
<details>
@ -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

View File

@ -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