Verify packaged workers from Unicode extraction directories
This commit is contained in:
1 parent
aca0a0a4ce
commit
5d9cfc4ea0
2 files changed
+20
-3
No files matched your search
+18
-2
@@ -57,6 +57,22 @@ $env:SEARCHI_GEMMA_WORKER = 'PATH/TO/CURRENT/searchi-gemma-worker.exe'
|
|||||||
cargo test -p searchi-semantic --test unicode_windows_cpu --locked -- --ignored --nocapture
|
cargo test -p searchi-semantic --test unicode_windows_cpu --locked -- --ignored --nocapture
|
||||||
```
|
```
|
||||||
|
|
||||||
Native package restaging and installed Unicode-profile paths require their own
|
## Updated development archive
|
||||||
checks. This focused model-path regression does not certify every filesystem,
|
|
||||||
|
The normal worker was restaged and the embedded desktop Release rebuilt in
|
||||||
|
2m 02s. Executable: 23,924,224 bytes, SHA-256
|
||||||
|
`bce713e7d081095e650756d1b0ed497cb21e451ea2e47bead6676a22327729b9`.
|
||||||
|
The unsigned Windows archive is 145,409,579 bytes, SHA-256
|
||||||
|
`512be4960da197a45710d49bdbc27b84c18e0270364e41bbcc546b8791826842`.
|
||||||
|
|
||||||
|
Both actual package checks extracted under a Unicode directory and verified all
|
||||||
|
39 recorded files. Default `auto` mode used CPU with Vulkan registration disabled
|
||||||
|
only in the child: optimized indexing context 2048 and baseline-only query
|
||||||
|
context 512 both produced normalized 768-dimensional real Google vectors.
|
||||||
|
The packaged FFprobe started successfully in that directory. Local reports are
|
||||||
|
`.searchi/packages/smoke-unicode-{indexing,query-baseline}.json`.
|
||||||
|
|
||||||
|
These are worker/dependency checks outside the build tree, not complete installed
|
||||||
|
desktop interaction, Unicode user-profile, clean-machine, signing or older
|
||||||
|
physical-CPU certification. This regression does not certify every filesystem,
|
||||||
codec, launcher or installer path, or any GPU hardware.
|
codec, launcher or installer path, or any GPU hardware.
|
||||||
@@ -31,7 +31,7 @@ def main():
|
|||||||
assert hashlib.file_digest(stream, "sha256").hexdigest() == manifest["files"][0]["sha256"]
|
assert hashlib.file_digest(stream, "sha256").hexdigest() == manifest["files"][0]["sha256"]
|
||||||
parent = ROOT / ".searchi/packages"
|
parent = ROOT / ".searchi/packages"
|
||||||
parent.mkdir(parents=True, exist_ok=True)
|
parent.mkdir(parents=True, exist_ok=True)
|
||||||
with tempfile.TemporaryDirectory(prefix="smoke-", dir=parent) as folder:
|
with tempfile.TemporaryDirectory(prefix="smoke-Gemäß_日本_😀-", dir=parent) as folder:
|
||||||
target = Path(folder).resolve()
|
target = Path(folder).resolve()
|
||||||
assert target.is_relative_to(parent.resolve())
|
assert target.is_relative_to(parent.resolve())
|
||||||
with zipfile.ZipFile(args.archive) as archive:
|
with zipfile.ZipFile(args.archive) as archive:
|
||||||
@@ -82,6 +82,7 @@ def main():
|
|||||||
"vulkan_module_loaded": hello.get("vulkan_module_loaded"),
|
"vulkan_module_loaded": hello.get("vulkan_module_loaded"),
|
||||||
"baseline_only": args.baseline,
|
"baseline_only": args.baseline,
|
||||||
"worker_role": hello["role"], "context_tokens": hello["context_tokens"],
|
"worker_role": hello["role"], "context_tokens": hello["context_tokens"],
|
||||||
|
"unicode_extraction_directory": True,
|
||||||
"archive_sha256": archive_checksum,
|
"archive_sha256": archive_checksum,
|
||||||
"worker_requested_device": "auto", "worker_actual_device": hello["device"],
|
"worker_requested_device": "auto", "worker_actual_device": hello["device"],
|
||||||
"no_gpu_condition": "GGML_DISABLE_VULKAN=1 only in child; SEARCHI_FORCE_CPU absent",
|
"no_gpu_condition": "GGML_DISABLE_VULKAN=1 only in child; SEARCHI_FORCE_CPU absent",
|
||||||
|
|||||||
Reference in new issue
Block a user