瀏覽代碼

export initial peers

justheuristic 3 年之前
父節點
當前提交
3db3769e98
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/run-tests.yaml

+ 1 - 1
.github/workflows/run-tests.yaml

@@ -61,7 +61,7 @@ jobs:
           hivemind-dht &> dht.log &
           INITIAL_PID=$$
           sleep 3
-          INITIAL_PEERS=$(python -c "with open('dht.log') as f: print(f.readlines()[1].split()[-1])" )
+          export INITIAL_PEERS=$(python -c "with open('dht.log') as f: print(f.readlines()[1].split()[-1])" )
           echo "Initial peer: ${INITIAL_PEERS}"
           
           python -m cli.run_server --converted_model_name_or_path bloom-testing/test-bloomd-350m \