Spaces:
Runtime error
Runtime error
Update start_server.sh
Browse files- 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 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
| 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"
|