From 99ebf9ca5ff9d8caa093d9930efed2074ab7d6b4 Mon Sep 17 00:00:00 2001 From: Daniel Falbel Date: Tue, 28 Jan 2025 17:13:50 -0300 Subject: [PATCH] Try some debugging. --- .github/workflows/main.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 3481467255..bbfd988c97 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -104,5 +104,18 @@ jobs: error-on: '"error"' args: 'c("--no-multiarch", "--no-manual", "--as-cran")' + - run: | + if (!require(torch)) { + install.packages("remotes") + remotes::install_local() + } + readLines(file.path(torch:::torch_install_path(), "build-version")) + shell: Rscript {0} + + - run: | + torch::torch_randn(10, 10, device="cuda") + shell: Rscript {0} + +