File tree Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : snyk security scan
2
+ run-name : SNYK security scan for '${{ github.ref }}'
3
+
4
+ on : [push]
5
+
6
+ env :
7
+ SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
8
+
9
+ jobs :
10
+
11
+ SNYK :
12
+ runs-on : ubuntu-latest
13
+ timeout-minutes : 60
14
+
15
+ steps :
16
+ - uses : actions/checkout@master
17
+
18
+ - uses : snyk/actions/setup@master
19
+
20
+ - name : Generate code vulnerability report
21
+ id : run_snyk
22
+ run : |
23
+ snyk code test --project-name="${{ github.repository }}" --report ${{ github.workspace }}
24
+ continue-on-error : true
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key" > /etc/yum.repos.d/amdgpu.repo
45
45
RUN --mount=type=cache,target=/root/.cache/uv \
46
46
export version="$(awk -F. '{print $1"."$2}' <<< $ROCM_VERSION)" && \
47
47
uv pip install --pre \
48
- --index-url "https://download.pytorch.org/whl/nightly/ rocm${version}" \
49
- torch==2.7.0.dev20250308 +rocm${version}\
50
- torchvision==0.22.0.dev20250308 +rocm${version} && \
48
+ --index-url "https://download.pytorch.org/whl/rocm${version}" \
49
+ torch==2.7.0+rocm${version}\
50
+ torchvision==0.22.0+rocm${version} && \
51
51
# Install libdrm-amdgpu to avoid errors when retrieving device information (amdgpu.ids: No such file or directory)
52
52
microdnf install -y --nodocs libdrm-amdgpu && \
53
53
microdnf clean all
You can’t perform that action at this time.
0 commit comments