Skip to content

Commit 3073c7d

Browse files
Update GPULlama3 versioning and verification steps in Quarkus-LangChain4j workflow
1 parent 09f4118 commit 3073c7d

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/integration-quarkus-langchain4j.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,16 @@ jobs:
117117
export PATH="$TORNADOVM_HOME/bin:$JAVA_HOME/bin:$PATH"
118118
119119
# Update the GPULlama3 version used by quarkus-langchain4j
120-
RUNTIME_POM="model-providers/gpu-llama3/runtime/pom.xml"
121-
sed -i 's/<version>${gpu-llama3.version}<\/version>/<version>'$GPULLAMA3_VERSION'<\/version>/' "$RUNTIME_POM"
120+
POM="pom.xml"
121+
sed -i 's/<gpu-llama3\.version>.*<\/gpu-llama3\.version>/<gpu-llama3.version>'$GPULLAMA3_VERSION'<\/gpu-llama3.version>/' "$POM"
122122
123123
# Use reactor to build *only *GPULlama3 integration test + dependencies
124124
# This recompiles everything with the same Java version, avoiding compatibility issues
125125
# The -Dtornado flag activates the TornadoVM profile which includes gpu-llama3 module
126126
mvn clean install -pl integration-tests/gpu-llama3 -am -DskipTests -Dtornado
127127
128128
# Step 4.5: Verify GPULlama3 JAR
129-
- name: Verify GPULlama3 JAR
129+
- name: Verify GPULlama3 Dependency
130130
run: |
131131
cd ${{ github.workspace }}/quarkus-langchain4j/integration-tests/gpu-llama3
132132
echo "GPULlama3 dependency used by Quarkus-LangChain4j:"
@@ -245,12 +245,12 @@ jobs:
245245
fi
246246
247247
ATTEMPT=$((ATTEMPT + 1))
248-
done
248+
done
249249
250-
if [ "$SUCCESS" = false ]; then
251-
echo "ERROR: Streaming endpoint failed after $MAX_ATTEMPTS attempts"
252-
exit 1
253-
fi
250+
if [ "$SUCCESS" = false ]; then
251+
echo "ERROR: Streaming endpoint failed after $MAX_ATTEMPTS attempts"
252+
exit 1
253+
fi
254254
255255
# Step 8: Cleanup & Shutdown
256256
- name: Cleanup & Shutdown

0 commit comments

Comments
 (0)