Skip to content

Commit

Permalink
Fix OOM guard location (#142)
Browse files Browse the repository at this point in the history
* Fix oom_guard location

* Fix build

* Fix neuro-cli

* More test fix

* Damn it!
  • Loading branch information
anayden authored Jun 8, 2021
1 parent 38dfe09 commit f140b7c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
python -m venv venv
source venv/bin/activate
pip install -U neuro-cli
pip install -U neuro-cli packaging neuro-sdk
- name: Configure environment
run: |
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# jupyterlab latest (pip)
# pytorch 1.6.0 (docker-hub)
# tensorflow 2.3.0 (pip)
# neuro-cli 21.5.17 (pip)
# neuro-flow 21.5.25 (pip)
# neuro-cli 21.6.3 (pip)
# neuro-flow 21.6.2 (pip)
# neuro-extras 21.3.19 (pip)
# ==================================================================

Expand Down Expand Up @@ -125,9 +125,10 @@ RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \
# ------------------------------------------------------------------

$PIP_INSTALL \
neuro-cli==21.5.17 \
neuro-flow==21.5.25 \
neuro-cli==21.6.3 \
neuro-flow==21.6.2 \
neuro-extras==21.3.19 \
packaging \
&& \

# ==================================================================
Expand Down Expand Up @@ -197,8 +198,8 @@ RUN APT_INSTALL="apt-get install -y --no-install-recommends" && \
# Adds a script to tune oom_killer behavior and puts it into the crontab
# ==================================================================

COPY files/root/oom_guard.sh /root/oom_guard.sh
RUN crontab -l 2>/dev/null | { cat; echo '* * * * * /root/oom_guard.sh'; } | crontab
COPY files/usr/local/sbin/oom_guard.sh /usr/local/sbin/oom_guard.sh
RUN crontab -l 2>/dev/null | { cat; echo '* * * * * /usr/local/sbin/oom_guard.sh'; } | crontab

# ==================================================================
# Documentation notebook
Expand Down

0 comments on commit f140b7c

Please sign in to comment.