Skip to content

Commit f682fbf

Browse files
committed
updating to Ray 2.7
1 parent 14671a4 commit f682fbf

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,18 @@ We'll start by setting up our cluster with the environment and compute configura
101101

102102
</details>
103103

104+
### Git setup
105+
106+
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)
107+
108+
Now we're ready to clone the repository that has all of our code:
109+
110+
```bash
111+
git clone https://github.com/GokuMohandas/Made-With-ML.git .
112+
```
113+
104114
### Credentials
115+
105116
```bash
106117
touch .env
107118
```
@@ -113,16 +124,6 @@ GITHUB_USERNAME="CHANGE_THIS_TO_YOUR_USERNAME" # ← CHANGE THIS
113124
source .env
114125
```
115126

116-
### Git setup
117-
118-
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)
119-
120-
Now we're ready to clone the repository that has all of our code:
121-
122-
```bash
123-
git clone https://github.com/GokuMohandas/Made-With-ML.git .
124-
```
125-
126127
### Virtual environment
127128

128129
<details>
@@ -385,7 +386,8 @@ export RUN_ID=$(python madewithml/predict.py get-best-run-id --experiment-name $
385386
pytest --run-id=$RUN_ID tests/model --verbose --disable-warnings
386387

387388
# Coverage
388-
python3 -m pytest tests/code --cov madewithml --cov-report html --disable-warnings
389+
python3 -m pytest tests/code --cov madewithml --cov-report html --disable-warnings # html report
390+
python3 -m pytest tests/code --cov madewithml --cov-report term --disable-warnings # terminal report
389391
```
390392

391393
## Production

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ numpy==1.24.3
88
numpyencoder==0.3.0
99
pandas==2.0.1
1010
python-dotenv==1.0.0
11-
ray[air]==2.6.0
11+
ray[air]==2.7.0
1212
scikit-learn==1.2.2
1313
snorkel==0.9.9
1414
SQLAlchemy==1.4.48

0 commit comments

Comments
 (0)