Skip to content

Commit 14150e3

Browse files
committed
fix minimum test 2
1 parent d08d49a commit 14150e3

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.github/workflows/minimum.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
python-version: ${{ matrix.python-version }}
3131
- name: Install dependencies
3232
run: |
33-
python -m pip install --upgrade pip
33+
python -m pip install --upgrade "pip<24.2"
3434
python -m pip install --no-cache-dir invoke .[test]
3535
- name: Test with minimum versions
3636
run: invoke minimum

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ dependencies = [
2828
'compress-pickle>=1.2.0',
2929
'google-cloud-compute>=1.0.0',
3030
'google-auth>=2.0.0',
31-
"grpcio<1.63; platform_system=='Darwin'",
3231
'humanfriendly>=10.0',
3332
"numpy>=1.22.2;python_version<'3.10'",
3433
"numpy>=1.24.0;python_version>='3.10' and python_version<'3.12'",

sdgym/_benchmark/benchmark.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def _get_user_data_script(
169169
set -e
170170
171171
LOG_FILE=/var/log/user-data.log
172-
exec > >(tee -a "$LOG_FILE") 2>&1
172+
exec >> "$LOG_FILE" 2>&1
173173
174174
log() {{
175175
echo "$@"
@@ -183,6 +183,10 @@ def _get_user_data_script(
183183
184184
log "======== Instance: {instance_name} =========="
185185
186+
log "======== Configure kernel OOM behavior =========="
187+
sudo sysctl -w vm.panic_on_oom=1
188+
sudo sysctl -w kernel.panic=10
189+
186190
log "======== Update and Install Dependencies =========="
187191
sudo apt update -y
188192
sudo apt install -y python3-pip python3-venv awscli git jq

sdgym/benchmark.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@
8585
'news',
8686
]
8787
DEFAULT_MULTI_TABLE_DATASETS = [
88-
'NBA',
89-
'financial',
90-
'Student_loan',
91-
'Biodegradability',
9288
'fake_hotels',
89+
'Biodegradability',
90+
'Student_loan',
9391
'restbase',
9492
'airbnb-simplified',
93+
'financial',
94+
'NBA',
9595
]
9696

9797
N_BYTES_IN_MB = 1000 * 1000

0 commit comments

Comments
 (0)