소스 검색

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 \