Spaces:
Runtime error
Runtime error
Update start_server.sh
Browse files- start_server.sh +3 -4
start_server.sh
CHANGED
|
@@ -1,7 +1,4 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
-
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
|
|
@@ -9,6 +6,8 @@ make install
|
|
| 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 \
|
|
@@ -19,4 +18,4 @@ text-generation-launcher --model-id bigscience/bloom-560m --num-shard 1 --port 7
|
|
| 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"
|
|
|
|
| 1 |
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
| 2 |
make install
|
| 3 |
# cd server
|
| 4 |
# make install-flash-attention
|
|
|
|
| 6 |
|
| 7 |
text-generation-launcher --model-id bigscience/bloom-560m --num-shard 1 --port 7860
|
| 8 |
|
| 9 |
+
# JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"
|
| 10 |
+
# echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"
|
| 11 |
# jupyter-lab \
|
| 12 |
# --ip 0.0.0.0 \
|
| 13 |
# --port 7860 \
|
|
|
|
| 18 |
# --ServerApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
|
| 19 |
# --ServerApp.disable_check_xsrf=True \
|
| 20 |
# --LabApp.news_url=None \
|
| 21 |
+
# --LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate"v
|