[ROCm]Keep LMCache OpenTelemetry on the image's 1.40 stack (#59056)

Signed-off-by: Micah Williamson <micah.williamson@amd.com>
This commit is contained in:
Micah Williamson
2026-09-28 15:49:48 +00:00
committed by GitHub
parent 6b24bd8e75
commit b0d2b854f6
2 changed files with 16 additions and 0 deletions
+8
View File
@@ -499,9 +499,17 @@ RUN printf '%s\n' "${LMCACHE_REF}" | grep -Eq '^[0-9a-f]{40}$' \
/app/lmcache/requirements/common.txt)" -eq 2 \
&& test "$(grep -Fxc 'numpy<=2.2.6' \
/app/lmcache/requirements/common.txt)" -eq 1 \
&& test "$(grep -Fxc 'opentelemetry-api >= 1.20.0, <= 1.40.0' \
/app/lmcache/requirements/common.txt)" -eq 1 \
&& test "$(grep -Fxc 'opentelemetry-sdk >= 1.20.0' \
/app/lmcache/requirements/common.txt)" -eq 1 \
&& test "$(grep -Fxc 'opentelemetry-exporter-otlp >= 1.20.0' \
/app/lmcache/requirements/common.txt)" -eq 1 \
&& sed -i -E \
-e '/^(cufile-python|nvtx)([<=>[:space:]]|$)/d' \
-e 's/^numpy<=2\.2\.6$/numpy<=2.3.5/' \
-e 's/^opentelemetry-sdk >= 1\.20\.0$/opentelemetry-sdk >= 1.20.0, <= 1.40.0/' \
-e 's/^opentelemetry-exporter-otlp >= 1\.20\.0$/opentelemetry-exporter-otlp >= 1.20.0, <= 1.40.0/' \
/app/lmcache/requirements/common.txt \
&& rm -rf /app/lmcache/.git
+8
View File
@@ -497,9 +497,17 @@ RUN printf '%s\n' "${LMCACHE_REF}" | grep -Eq '^[0-9a-f]{40}$' \
/app/lmcache/requirements/common.txt)" -eq 2 \
&& test "$(grep -Fxc 'numpy<=2.2.6' \
/app/lmcache/requirements/common.txt)" -eq 1 \
&& test "$(grep -Fxc 'opentelemetry-api >= 1.20.0, <= 1.40.0' \
/app/lmcache/requirements/common.txt)" -eq 1 \
&& test "$(grep -Fxc 'opentelemetry-sdk >= 1.20.0' \
/app/lmcache/requirements/common.txt)" -eq 1 \
&& test "$(grep -Fxc 'opentelemetry-exporter-otlp >= 1.20.0' \
/app/lmcache/requirements/common.txt)" -eq 1 \
&& sed -i -E \
-e '/^(cufile-python|nvtx)([<=>[:space:]]|$)/d' \
-e 's/^numpy<=2\.2\.6$/numpy<=2.3.5/' \
-e 's/^opentelemetry-sdk >= 1\.20\.0$/opentelemetry-sdk >= 1.20.0, <= 1.40.0/' \
-e 's/^opentelemetry-exporter-otlp >= 1\.20\.0$/opentelemetry-exporter-otlp >= 1.20.0, <= 1.40.0/' \
/app/lmcache/requirements/common.txt \
&& rm -rf /app/lmcache/.git