Publish curated GeoIntel source from 1dd0ededefb2fa3cfdef771106aec0fc54fd87d3

This commit is contained in:
Public Source Publisher committed 2026-10-01 18:40:33 +00:00
1 parent 6189612863
commit 723625597f
10 files changed
+53 -47

No files matched your search

+4 -4
View File
@@ -474,11 +474,11 @@ def test_all_in_one_dockerfile_caches_dependencies_and_pins_driver_compatible_cu
smoke_index = dockerfile.index("RUN python scripts/gis_import_smoke.py")
assert metadata_copy_index < placeholder_readme_index < dependency_install_index < backend_copy_index < smoke_index
assert "GEOINTEL_TORCH_INDEX_URL=https://download.pytorch.org/whl/cu128" in dockerfile
assert "GEOINTEL_TORCH_INDEX_URL=https://download.pytorch.org/whl/cu126" in dockerfile
assert '--extra-index-url "$GEOINTEL_TORCH_INDEX_URL"' in dockerfile
ai_lock = (ROOT / "backend" / "requirements-ai-linux.lock").read_text(encoding="utf-8")
assert "torch==2.11.0+cu128 --hash=sha256:" in ai_lock
assert "torchvision==0.26.0+cu128 --hash=sha256:" in ai_lock
assert "torch==2.13.0+cu126 --hash=sha256:" in ai_lock
assert "torchvision==0.28.0+cu126 --hash=sha256:" in ai_lock
def test_unraid_deploy_passes_ai_build_arg_and_yolo_runtime_env() -> None:
@@ -509,4 +509,4 @@ def test_unraid_ai_runtime_requests_nvidia_and_fails_closed() -> None:
assert 'YOLO_DEVICE="${YOLO_DEVICE:-cuda:0}"' in run_script
assert 'YOLO_REQUIRE_CUDA="${YOLO_REQUIRE_CUDA:-true}"' in run_script
assert '-e YOLO_REQUIRE_CUDA="$YOLO_REQUIRE_CUDA"' in run_script
assert "https://download.pytorch.org/whl/cu128" in dockerfile
assert "https://download.pytorch.org/whl/cu126" in dockerfile
+1 -1
View File
@@ -182,7 +182,7 @@ def test_release_image_uses_locked_non_ai_dependencies_and_npm_ci() -> None:
assert "-r requirements-build-tools.lock" in dockerfile
assert "--require-hashes" in dockerfile
assert "ultralytics==8.4.99 --hash=sha256:" in read("backend/requirements-ai-linux.lock")
assert "torch==2.11.0+cu128 --hash=sha256:" in read("backend/requirements-ai-linux.lock")
assert "torch==2.13.0+cu126 --hash=sha256:" in read("backend/requirements-ai-linux.lock")
assert "COPY deploy/unraid/gosu-setpriv /usr/local/bin/gosu" in dockerfile
assert "&& pip check" in dockerfile