From 4090bda3615c90649db865330aad7f19cf1dde4e Mon Sep 17 00:00:00 2001 From: "@picocreator (Eugene Cheah)" Date: Thu, 24 Aug 2023 03:11:54 +0000 Subject: [PATCH] fixing the github runner --- .github/workflows/rwkv-x-exp-lane1.yml | 3 +++ notebook/github-runner/hf-download.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rwkv-x-exp-lane1.yml b/.github/workflows/rwkv-x-exp-lane1.yml index 477c3b35..9408eb97 100644 --- a/.github/workflows/rwkv-x-exp-lane1.yml +++ b/.github/workflows/rwkv-x-exp-lane1.yml @@ -2,6 +2,9 @@ name: rwkv-x Experiment Run (priority-lane1) on: workflow_dispatch: + permissions: + users: + - picocreator inputs: notebookFile: description: 'Notebook to run (inside `experiment/rwkv-x-exp` dir)' diff --git a/notebook/github-runner/hf-download.py b/notebook/github-runner/hf-download.py index 2afac12f..2092bc9f 100644 --- a/notebook/github-runner/hf-download.py +++ b/notebook/github-runner/hf-download.py @@ -26,7 +26,7 @@ os.makedirs(HF_DOWNLOAD_DIR, exist_ok=True) # The HF cache directory for models -HF_HOME=os.getenv("HF_HOME", "")) +HF_HOME=os.getenv("HF_HOME", "") if HF_HOME == "": raise Exception("HF_HOME is not set") # Setup the model cache