nateraw commited on
Commit
77c5e39
1 Parent(s): db1b3a3

Update start_server.sh

Browse files
Files changed (1) hide show
  1. start_server.sh +14 -12
start_server.sh CHANGED
@@ -3,18 +3,20 @@ JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"
3
 
4
  echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"
5
  make install
6
- cd server
7
  # make install-flash-attention
8
  # cd ..
9
 
10
- jupyter-lab \
11
- --ip 0.0.0.0 \
12
- --port 7860 \
13
- --no-browser \
14
- --allow-root \
15
- --ServerApp.token="$JUPYTER_TOKEN" \
16
- --ServerApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
17
- --ServerApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
18
- --ServerApp.disable_check_xsrf=True \
19
- --LabApp.news_url=None \
20
- --LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate"
 
 
 
3
 
4
  echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"
5
  make install
6
+ # cd server
7
  # make install-flash-attention
8
  # cd ..
9
 
10
+ text-generation-launcher --model-id bigscience/bloom-560m --num-shard 1 --port 7860
11
+
12
+ # jupyter-lab \
13
+ # --ip 0.0.0.0 \
14
+ # --port 7860 \
15
+ # --no-browser \
16
+ # --allow-root \
17
+ # --ServerApp.token="$JUPYTER_TOKEN" \
18
+ # --ServerApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
19
+ # --ServerApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
20
+ # --ServerApp.disable_check_xsrf=True \
21
+ # --LabApp.news_url=None \
22
+ # --LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate"