From 0b06e231cd89f416ed0dd0874afffa9775735962 Mon Sep 17 00:00:00 2001 From: Steven Anderson Date: Tue, 1 Aug 2023 02:56:37 -0400 Subject: [PATCH] maybe now --- .github/workflows/test.yml | 6 +++--- test/extra/arm64_dockerfile | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9dc7e6df96..82cf681792 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,14 +60,14 @@ jobs: - name: Build Docker Image run: | docker buildx build \ - --cache-from=type=local,src=/tmp/.buildx-cache \ - --cache-to=type=local,dest=/tmp/.buildx-cache \ + --cache-from=type=local,src=~/.cache/buildx-cache \ + --cache-to=type=local,dest=~/.cache/buildx-cache \ --platform linux/arm64 \ --load \ -t tinygrad-arm64 \ -f test/extra/arm64_dockerfile . - name: Test Ops - run: docker run -e ARM64=1 -e CLANG=1 -e FORWARD_ONLY=1 tinygrad-arm64 python3 -m pytest -n=auto test/test_ops.py + run: docker run -e ARM64=1 -e CLANG=1 -e FORWARD_ONLY=1 tinygrad-arm64 /usr/bin/env python3 -m pytest -n=auto -s test/test_ops.py testcpuimagenet: name: CPU and ImageNet to C Tests diff --git a/test/extra/arm64_dockerfile b/test/extra/arm64_dockerfile index d99a65939a..80af67bf1a 100644 --- a/test/extra/arm64_dockerfile +++ b/test/extra/arm64_dockerfile @@ -2,8 +2,6 @@ FROM ubuntu:20.04 WORKDIR /app -ADD . /app - RUN apt-get update && \ apt-get install -y --no-install-recommends clang g++ ocl-icd-opencl-dev python3.8 python3-pip python3-dev && \ rm -rf /var/lib/apt/lists/*