derek-thomas commited on
Commit
49b9b7d
·
1 Parent(s): 70ccfe7

Adding more processes

Browse files
Files changed (1) hide show
  1. on_startup.sh +5 -1
on_startup.sh CHANGED
@@ -3,4 +3,8 @@
3
  # For example, to clone transformers and install it in dev mode:
4
  # git clone https://github.com/huggingface/transformers.git
5
  # cd transformers && pip install -e ".[dev]"
6
- git config --global credential.helper store
 
 
 
 
 
3
  # For example, to clone transformers and install it in dev mode:
4
  # git clone https://github.com/huggingface/transformers.git
5
  # cd transformers && pip install -e ".[dev]"
6
+ git config --global credential.helper store
7
+
8
+ # Adding more processes/threads
9
+ echo '* soft nproc 1024' | sudo tee -a /etc/security/limits.conf
10
+ echo '* hard nproc 2048' | sudo tee -a /etc/security/limits.conf