Download code/bin/capped from JagritGumber/shortlist: direct link, hf CLI and curl.
- Browser
- Download file 347 Bytes
-
https://huggingface.co/datasets/JagritGumber/shortlist/resolve/main/code/bin/capped
- Command line
-
hf download hf://datasets/JagritGumber/shortlist/code/bin/capped
-
curl -L -o capped https://huggingface.co/datasets/JagritGumber/shortlist/resolve/main/code/bin/capped
347 Bytes
| # Run a command inside the shortlist.slice cgroup: everything Shortlist runs shares one 3 GB memory cap, | |
| # so the rest of the machine keeps its memory. Set with: | |
| # systemctl --user set-property --runtime shortlist.slice MemoryMax=3G MemoryHigh=2800M MemorySwapMax=0 | |
| exec systemd-run --user --scope --slice=shortlist.slice --quiet "$@" | |