Skip to content

Commit

Permalink
Merge pull request #44 from nathan-weinberg/e2e-update
Browse files Browse the repository at this point in the history
Update e2e config to optimize pip caching
  • Loading branch information
russellb authored Jun 25, 2024
2 parents 78d54f5 + 6349081 commit 3a73037
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,19 @@ jobs:

steps:
# No step-security/harden-runner since this is a self-hosted runner
- name: Checkout
- name: Checkout instructlab/sdg
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
# https://github.com/actions/checkout/issues/249
fetch-depth: 0

- name: Checkout instructlab/instructlab
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: "instructlab/instructlab"
path: "instructlab"
fetch-depth: 0

- name: Install Packages
run: |
sudo apt-get install -y cuda-toolkit git cmake build-essential virtualenv
Expand Down Expand Up @@ -68,7 +75,6 @@ jobs:
export PATH="/home/runner/.local/bin:/usr/local/cuda/bin:$PATH"
python3 -m venv venv
. venv/bin/activate
git clone https://github.com/instructlab/instructlab.git
cd instructlab
sed 's/\[.*\]//' requirements.txt > constraints.txt
python3 -m pip cache remove llama_cpp_python
Expand Down

0 comments on commit 3a73037

Please sign in to comment.