Download code/oomwrap.sh from aqualaguna/MOSS-Image-SFT-OpenVINO: direct link, hf CLI and curl.
- Browser
- Download file 158 Bytes
-
https://huggingface.co/aqualaguna/MOSS-Image-SFT-OpenVINO/resolve/main/code/oomwrap.sh
- Command line
-
hf download hf://aqualaguna/MOSS-Image-SFT-OpenVINO/code/oomwrap.sh
-
curl -L -o oomwrap.sh https://huggingface.co/aqualaguna/MOSS-Image-SFT-OpenVINO/resolve/main/code/oomwrap.sh
158 Bytes
| # equivalent of systemd OOMScoreAdjust=1000: make this process (and children) the first OOM victim | |
| echo 1000 > /proc/self/oom_score_adj | |
| exec "$@" | |