File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -130,16 +130,6 @@ jobs:
130130 -DSD_BUILD_SHARED_LIBS=ON
131131 cmake --build . --config Release
132132
133- - name : Test ROCm Integration
134- run : |
135- cd build
136- ./bin/sd --help || {
137- echo "Binary execution failed. Checking dependencies..."
138- ldd ./bin/sd || echo "ldd failed"
139- ls -la ./bin/ || echo "bin directory listing failed"
140- exit 1
141- }
142-
143133 - name : Get commit hash
144134 id : commit
145135 if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
@@ -152,11 +142,11 @@ jobs:
152142 # Copy licenses
153143 cp ggml/LICENSE ./build/bin/ggml.txt
154144 cp LICENSE ./build/bin/stable-diffusion.cpp.txt
155-
145+
156146 # Create directories for ROCm libraries
157147 mkdir -p ./build/bin/rocblas/library
158148 mkdir -p ./build/bin/hipblaslt/library
159-
149+
160150 # Copy ROCm runtime libraries (use || true to continue if files don't exist)
161151 cp /opt/rocm/lib/librocsparse.so* ./build/bin/ || true
162152 cp /opt/rocm/lib/libhsa-runtime64.so* ./build/bin/ || true
@@ -166,7 +156,7 @@ jobs:
166156 cp /opt/rocm/lib/librocblas.so* ./build/bin/ || true
167157 cp /opt/rocm/lib/rocblas/library/* ./build/bin/rocblas/library/ || true
168158 cp /opt/rocm/lib/hipblaslt/library/* ./build/bin/hipblaslt/library/ || true
169-
159+
170160 # Create archive
171161 tar -czf sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-linux-rocm-x64.tar.gz -C ./build/bin .
172162
You can’t perform that action at this time.
0 commit comments