Explorar el Código

update demo deploy scripts

dbaranchuk hace 3 años
padre
commit
805e71a35b
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      cli/demo_deploy_server.sh

+ 6 - 1
cli/demo_deploy_server.sh

@@ -1,3 +1,8 @@
+#!/usr/bin/env bash
+
+source ~/miniconda3/etc/profile.d/conda.sh
+# If you use anaconda: source ~/anaconda/etc/profile.d/conda.sh
+
 if conda env list | grep ".*bloom-demo-benchmark.*"  >/dev/null 2>/dev/null; then
     conda activate bloom-demo-benchmark
 else
@@ -11,7 +16,7 @@ else
     pip install -i https://pypi.org/simple -r demo-requirements.txt
 
 # Please set up
-INITIAL_PEER="<DMITRY or YOZH WILL PROVIDE>"
+INITIAL_PEER="/ip4/172.27.77.65/tcp/38457/p2p/QmWCiRzNYhtSUdPT3toMjFpG9BWPMrrce4WYGWCaWqrESV"
 MODEL_NAME="bigscience/test-bloomd"
 HOST_MADDR="/ip4/0.0.0.0/tcp/30000"
 SERVER_ID_PATH="./server.id"