Skip to content

Commit

Permalink
WIP - B2 based sync
Browse files Browse the repository at this point in the history
  • Loading branch information
pic-o committed Feb 18, 2024
1 parent aa83aeb commit 29c57b0
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/actions/gh-upload-output/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ runs:
if: always()
run: |
# Upload to backblaze
b2 upload-file $B2_BUCKET ./upload/ output-files/
b2 sync ./upload/ $B2_PATH_LM_EVAL_OUTPUT
# This has been disabled, due to rate limits =[
# ------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/gh-task-runner-Alignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ env:
# Model HF repo
MODEL_HF_REPO: ${{ github.event.inputs.model_hf_repo }}

# Secrets
# HF / B2 sync settings
HUGGING_FACE_HUB_TOKEN: ${{secrets.HUGGING_FACE_HUB_TOKEN}}
B2_APPLICATION_KEY_ID: ${{secrets.B2_APPLICATION_KEY_ID}}
B2_APPLICATION_KEY: ${{secrets.B2_APPLICATION_KEY}}
B2_PATH_LM_EVAL_OUTPUT: ${{vars.B2_PATH_LM_EVAL_OUTPUT}}

jobs:
gh-task-runner:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/gh-task-runner-Error-Suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ env:
# Model HF repo
MODEL_HF_REPO: ${{ github.event.inputs.model_hf_repo }}

# Secrets
# HF / B2 sync settings
HUGGING_FACE_HUB_TOKEN: ${{secrets.HUGGING_FACE_HUB_TOKEN}}
B2_APPLICATION_KEY_ID: ${{secrets.B2_APPLICATION_KEY_ID}}
B2_APPLICATION_KEY: ${{secrets.B2_APPLICATION_KEY}}
B2_PATH_LM_EVAL_OUTPUT: ${{vars.B2_PATH_LM_EVAL_OUTPUT}}

jobs:
gh-task-runner:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/gh-task-runner-Few-Shot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ env:
# Model HF repo
MODEL_HF_REPO: ${{ github.event.inputs.model_hf_repo }}

# Secrets
# HF / B2 sync settings
HUGGING_FACE_HUB_TOKEN: ${{secrets.HUGGING_FACE_HUB_TOKEN}}
B2_APPLICATION_KEY_ID: ${{secrets.B2_APPLICATION_KEY_ID}}
B2_APPLICATION_KEY: ${{secrets.B2_APPLICATION_KEY}}
B2_PATH_LM_EVAL_OUTPUT: ${{vars.B2_PATH_LM_EVAL_OUTPUT}}

jobs:
gh-task-runner:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/gh-task-runner-Large-Suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ env:
# Model HF repo
MODEL_HF_REPO: ${{ github.event.inputs.model_hf_repo }}

# Secrets
# HF / B2 sync settings
HUGGING_FACE_HUB_TOKEN: ${{secrets.HUGGING_FACE_HUB_TOKEN}}
B2_APPLICATION_KEY_ID: ${{secrets.B2_APPLICATION_KEY_ID}}
B2_APPLICATION_KEY: ${{secrets.B2_APPLICATION_KEY}}
B2_PATH_LM_EVAL_OUTPUT: ${{vars.B2_PATH_LM_EVAL_OUTPUT}}

jobs:
gh-task-runner:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/gh-task-runner-Single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1722,10 +1722,11 @@ env:
# Model HF repo
MODEL_HF_REPO: ${{ github.event.inputs.model_hf_repo }}

# Secrets
# HF / B2 sync settings
HUGGING_FACE_HUB_TOKEN: ${{secrets.HUGGING_FACE_HUB_TOKEN}}
B2_APPLICATION_KEY_ID: ${{secrets.B2_APPLICATION_KEY_ID}}
B2_APPLICATION_KEY: ${{secrets.B2_APPLICATION_KEY}}
B2_PATH_LM_EVAL_OUTPUT: ${{vars.B2_PATH_LM_EVAL_OUTPUT}}

jobs:
gh-task-runner:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/gh-task-runner-Slow-Suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ env:
# Model HF repo
MODEL_HF_REPO: ${{ github.event.inputs.model_hf_repo }}

# Secrets
# HF / B2 sync settings
HUGGING_FACE_HUB_TOKEN: ${{secrets.HUGGING_FACE_HUB_TOKEN}}
B2_APPLICATION_KEY_ID: ${{secrets.B2_APPLICATION_KEY_ID}}
B2_APPLICATION_KEY: ${{secrets.B2_APPLICATION_KEY}}
B2_PATH_LM_EVAL_OUTPUT: ${{vars.B2_PATH_LM_EVAL_OUTPUT}}

jobs:
gh-task-runner:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/gh-task-runner-XLang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ env:
# Model HF repo
MODEL_HF_REPO: ${{ github.event.inputs.model_hf_repo }}

# Secrets
# HF / B2 sync settings
HUGGING_FACE_HUB_TOKEN: ${{secrets.HUGGING_FACE_HUB_TOKEN}}
B2_APPLICATION_KEY_ID: ${{secrets.B2_APPLICATION_KEY_ID}}
B2_APPLICATION_KEY: ${{secrets.B2_APPLICATION_KEY}}
B2_PATH_LM_EVAL_OUTPUT: ${{vars.B2_PATH_LM_EVAL_OUTPUT}}

jobs:
gh-task-runner:
Expand Down

0 comments on commit 29c57b0

Please sign in to comment.