From 75cb54fa45bbc47a0537cac5764f27ca3a0c3290 Mon Sep 17 00:00:00 2001 From: runame Date: Mon, 11 Nov 2024 10:10:39 -0800 Subject: [PATCH] Fix `uv` setup in GPU tests (#41) Summary: A recent `uv` release broke the GPU tests due to a change in the necessary installation steps. Pull Request resolved: https://github.com/facebookresearch/optimizers/pull/41 Reviewed By: anana10c Differential Revision: D65760504 Pulled By: tsunghsienlee fbshipit-source-id: 4ba75a1102277cb5888b5467c16dc9a2c96e47da --- .github/workflows/gpu-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gpu-tests.yaml b/.github/workflows/gpu-tests.yaml index b41338f..831cd84 100644 --- a/.github/workflows/gpu-tests.yaml +++ b/.github/workflows/gpu-tests.yaml @@ -11,7 +11,7 @@ jobs: - name: Set up and update uv. run: | curl -LsSf https://astral.sh/uv/install.sh | sh - source $HOME/.cargo/env + source $HOME/.local/bin/env uv self update - name: Install Python. run: uv python install 3.10