mod-trace 0.4.2__tar.gz → 0.4.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. {mod_trace-0.4.2 → mod_trace-0.4.3}/Cargo.lock +1 -1
  2. {mod_trace-0.4.2 → mod_trace-0.4.3}/Cargo.toml +1 -1
  3. {mod_trace-0.4.2 → mod_trace-0.4.3}/PKG-INFO +17 -1
  4. {mod_trace-0.4.2 → mod_trace-0.4.3}/README.md +16 -0
  5. {mod_trace-0.4.2 → mod_trace-0.4.3}/pyproject.toml +1 -1
  6. {mod_trace-0.4.2 → mod_trace-0.4.3}/.github/workflows/release.yml +0 -0
  7. {mod_trace-0.4.2 → mod_trace-0.4.3}/.gitignore +0 -0
  8. {mod_trace-0.4.2 → mod_trace-0.4.3}/LICENSE +0 -0
  9. {mod_trace-0.4.2 → mod_trace-0.4.3}/benchmarks/tiny_pytorch.py +0 -0
  10. {mod_trace-0.4.2 → mod_trace-0.4.3}/docs/ARCHITECTURE.md +0 -0
  11. {mod_trace-0.4.2 → mod_trace-0.4.3}/docs/REAL_MODELS.md +0 -0
  12. {mod_trace-0.4.2 → mod_trace-0.4.3}/docs/tensor-lab.md +0 -0
  13. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/broken_shape.json +0 -0
  14. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/lightgbm/README.md +0 -0
  15. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/lightgbm/clf_v1.txt +0 -0
  16. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/lightgbm/clf_v2.txt +0 -0
  17. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/lightgbm/generate_demo_models.py +0 -0
  18. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/make_sample_catboost.py +0 -0
  19. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/mlp.json +0 -0
  20. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/onnx/README.md +0 -0
  21. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/onnx/generate_demo_models.py +0 -0
  22. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/onnx/mlp_retrain_a.onnx +0 -0
  23. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/onnx/mlp_retrain_b.onnx +0 -0
  24. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/onnx/mlp_v1.onnx +0 -0
  25. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/onnx/mlp_v2.onnx +0 -0
  26. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/pytorch/README.md +0 -0
  27. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/pytorch/generate_demo_models.py +0 -0
  28. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/pytorch/mlp_v1.pt +0 -0
  29. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/pytorch/mlp_v2.pt +0 -0
  30. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/tiny_attention.json +0 -0
  31. {mod_trace-0.4.2 → mod_trace-0.4.3}/examples/tiny_attention_plan.json +0 -0
  32. {mod_trace-0.4.2 → mod_trace-0.4.3}/src/catboost_deep_diff.py +0 -0
  33. {mod_trace-0.4.2 → mod_trace-0.4.3}/src/catboost_explain.py +0 -0
  34. {mod_trace-0.4.2 → mod_trace-0.4.3}/src/cbm.rs +0 -0
  35. {mod_trace-0.4.2 → mod_trace-0.4.3}/src/demo.rs +0 -0
  36. {mod_trace-0.4.2 → mod_trace-0.4.3}/src/explain.rs +0 -0
  37. {mod_trace-0.4.2 → mod_trace-0.4.3}/src/lgbm.rs +0 -0
  38. {mod_trace-0.4.2 → mod_trace-0.4.3}/src/main.rs +0 -0
  39. {mod_trace-0.4.2 → mod_trace-0.4.3}/src/model.rs +0 -0
  40. {mod_trace-0.4.2 → mod_trace-0.4.3}/src/onnx.rs +0 -0
  41. {mod_trace-0.4.2 → mod_trace-0.4.3}/src/pt.rs +0 -0
  42. {mod_trace-0.4.2 → mod_trace-0.4.3}/src/tensor.rs +0 -0
@@ -16,7 +16,7 @@ checksum = "6b947ae49db0d222b1dbc6b113ce7248a3fc3a6ca21b696717bfc000ba4484d8"
16
16
 
17
17
  [[package]]
18
18
  name = "mod-trace"
19
- version = "0.4.2"
19
+ version = "0.4.3"
20
20
  dependencies = [
21
21
  "serde",
22
22
  "serde_json",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "mod-trace"
3
- version = "0.4.2"
3
+ version = "0.4.3"
4
4
  edition = "2024"
5
5
  description = "Rust CLI for inspecting ML model artifacts without loading the framework"
6
6
  license = "MIT"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mod-trace
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3 :: Only
@@ -35,6 +35,22 @@ mod-trace explain-diff old_model.onnx new_model.onnx
35
35
 
36
36
  (A secondary "tensor lab" for handcrafted JSON plans lives in [docs/tensor-lab.md](docs/tensor-lab.md).)
37
37
 
38
+ ## Install
39
+
40
+ mod-trace is a single self-contained binary (written in Rust, published to PyPI as a wheel). The core commands need **no Python and no ML framework** at runtime.
41
+
42
+ ```sh
43
+ pipx install mod-trace # recommended: isolated, puts `mod-trace` on your PATH
44
+ # or
45
+ pip install mod-trace
46
+
47
+ mod-trace doctor # shows which formats and helpers are available
48
+ ```
49
+
50
+ - Prebuilt wheels for **Apple Silicon macOS**, **Linux x86_64**, and **Windows x64** — `pip` just downloads the binary, no build step.
51
+ - **Intel macOS** has no prebuilt wheel yet, so `pip install` there builds from source (needs a Rust toolchain).
52
+ - Optional: CatBoost `--deep` (decoded tree/leaf diffs) shells out to Python `catboost`; point `MODELLENS_PYTHON` at a Python that has it if needed. Everything else — including all of LightGBM, ONNX, and PyTorch — needs nothing extra.
53
+
38
54
  ## Core Commands
39
55
 
40
56
  ```sh
@@ -18,6 +18,22 @@ mod-trace explain-diff old_model.onnx new_model.onnx
18
18
 
19
19
  (A secondary "tensor lab" for handcrafted JSON plans lives in [docs/tensor-lab.md](docs/tensor-lab.md).)
20
20
 
21
+ ## Install
22
+
23
+ mod-trace is a single self-contained binary (written in Rust, published to PyPI as a wheel). The core commands need **no Python and no ML framework** at runtime.
24
+
25
+ ```sh
26
+ pipx install mod-trace # recommended: isolated, puts `mod-trace` on your PATH
27
+ # or
28
+ pip install mod-trace
29
+
30
+ mod-trace doctor # shows which formats and helpers are available
31
+ ```
32
+
33
+ - Prebuilt wheels for **Apple Silicon macOS**, **Linux x86_64**, and **Windows x64** — `pip` just downloads the binary, no build step.
34
+ - **Intel macOS** has no prebuilt wheel yet, so `pip install` there builds from source (needs a Rust toolchain).
35
+ - Optional: CatBoost `--deep` (decoded tree/leaf diffs) shells out to Python `catboost`; point `MODELLENS_PYTHON` at a Python that has it if needed. Everything else — including all of LightGBM, ONNX, and PyTorch — needs nothing extra.
36
+
21
37
  ## Core Commands
22
38
 
23
39
  ```sh
@@ -4,7 +4,7 @@ build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "mod-trace"
7
- version = "0.4.2"
7
+ version = "0.4.3"
8
8
  description = "Rust CLI for inspecting ML model artifacts without loading the framework"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes