grayling 0.1.1__tar.gz → 0.1.2__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 (56) hide show
  1. {grayling-0.1.1 → grayling-0.1.2}/Cargo.toml +1 -1
  2. {grayling-0.1.1 → grayling-0.1.2}/PKG-INFO +1 -1
  3. {grayling-0.1.1 → grayling-0.1.2}/bindings/python/Cargo.lock +4 -4
  4. {grayling-0.1.1 → grayling-0.1.2}/bindings/python/Cargo.toml +1 -1
  5. {grayling-0.1.1 → grayling-0.1.2}/bindings/python/examples/try_it.py +2 -2
  6. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/README.md +2 -2
  7. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling-pins/src/lib.rs +4 -3
  8. {grayling-0.1.1 → grayling-0.1.2}/LICENSE +0 -0
  9. {grayling-0.1.1 → grayling-0.1.2}/NOTICE +0 -0
  10. {grayling-0.1.1 → grayling-0.1.2}/README.md +0 -0
  11. {grayling-0.1.1 → grayling-0.1.2}/bindings/python/LICENSE +0 -0
  12. {grayling-0.1.1 → grayling-0.1.2}/bindings/python/NOTICE +0 -0
  13. {grayling-0.1.1 → grayling-0.1.2}/bindings/python/README.md +0 -0
  14. {grayling-0.1.1 → grayling-0.1.2}/bindings/python/examples/host_client.py +0 -0
  15. {grayling-0.1.1 → grayling-0.1.2}/bindings/python/examples/server.py +0 -0
  16. {grayling-0.1.1 → grayling-0.1.2}/bindings/python/src/lib.rs +0 -0
  17. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/Cargo.toml +0 -0
  18. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/LICENSE +0 -0
  19. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/api.rs +0 -0
  20. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/cache.rs +0 -0
  21. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/chars.rs +0 -0
  22. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/config.rs +0 -0
  23. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/data/misspellings.json +0 -0
  24. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/data/typo.json +0 -0
  25. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/decode.rs +0 -0
  26. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/engine/tests.rs +0 -0
  27. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/engine.rs +0 -0
  28. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/error.rs +0 -0
  29. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/fixes.rs +0 -0
  30. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/infill.rs +0 -0
  31. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/lib.rs +0 -0
  32. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/lid.rs +0 -0
  33. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/llm.rs +0 -0
  34. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/mix.rs +0 -0
  35. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/rows.rs +0 -0
  36. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/simd.rs +0 -0
  37. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/slm.rs +0 -0
  38. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/text.rs +0 -0
  39. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/tokbytes.rs +0 -0
  40. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling/src/vocab.rs +0 -0
  41. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling-pins/Cargo.toml +0 -0
  42. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling-protocol/Cargo.toml +0 -0
  43. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling-protocol/src/client.rs +0 -0
  44. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling-protocol/src/kept.rs +0 -0
  45. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling-protocol/src/lib.rs +0 -0
  46. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling-protocol/src/messages.rs +0 -0
  47. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling-protocol/src/paths.rs +0 -0
  48. {grayling-0.1.1 → grayling-0.1.2}/crates/grayling-protocol/src/winproc.rs +0 -0
  49. {grayling-0.1.1 → grayling-0.1.2}/pyproject.toml +0 -0
  50. {grayling-0.1.1 → grayling-0.1.2}/python/grayling/__init__.py +0 -0
  51. {grayling-0.1.1 → grayling-0.1.2}/python/grayling/__main__.py +0 -0
  52. {grayling-0.1.1 → grayling-0.1.2}/python/grayling/_download.py +0 -0
  53. {grayling-0.1.1 → grayling-0.1.2}/python/grayling/_errors.py +0 -0
  54. {grayling-0.1.1 → grayling-0.1.2}/python/grayling/_grayling.pyi +0 -0
  55. {grayling-0.1.1 → grayling-0.1.2}/python/grayling/py.typed +0 -0
  56. {grayling-0.1.1 → grayling-0.1.2}/python/grayling/types.py +0 -0
@@ -20,7 +20,7 @@ members = [
20
20
  exclude = ["apps/desktop/src-tauri", "bindings/python"]
21
21
 
22
22
  [workspace.package]
23
- version = "0.1.1"
23
+ version = "0.1.2"
24
24
  edition = "2024"
25
25
  rust-version = "1.89"
26
26
  license = "AGPL-3.0-only"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: grayling
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: Programming Language :: Python :: 3
@@ -350,7 +350,7 @@ dependencies = [
350
350
 
351
351
  [[package]]
352
352
  name = "grayling"
353
- version = "0.1.1"
353
+ version = "0.1.2"
354
354
  dependencies = [
355
355
  "bytemuck",
356
356
  "half",
@@ -366,11 +366,11 @@ dependencies = [
366
366
 
367
367
  [[package]]
368
368
  name = "grayling-pins"
369
- version = "0.1.1"
369
+ version = "0.1.2"
370
370
 
371
371
  [[package]]
372
372
  name = "grayling-protocol"
373
- version = "0.1.1"
373
+ version = "0.1.2"
374
374
  dependencies = [
375
375
  "interprocess",
376
376
  "libc",
@@ -382,7 +382,7 @@ dependencies = [
382
382
 
383
383
  [[package]]
384
384
  name = "grayling-python"
385
- version = "0.1.1"
385
+ version = "0.1.2"
386
386
  dependencies = [
387
387
  "grayling",
388
388
  "grayling-pins",
@@ -4,7 +4,7 @@
4
4
 
5
5
  [package]
6
6
  name = "grayling-python"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "Grayling for Python: the engine (PyO3, abi3) and a client of the engine host. The wheel carries no network code."
9
9
  edition = "2024"
10
10
  rust-version = "1.89"
@@ -1,7 +1,7 @@
1
- """The seven texts of the model card (https://huggingface.co/algoprog/hydor-suggest-49m), through the Python package.
1
+ """The seven texts of the model card (https://huggingface.co/algoprog/grayling-49m), through the Python package.
2
2
 
3
3
  python try_it.py # downloads the small model (314 MB) once, into the cache folder of the engine host
4
- GRAYLING_MODEL_DIR=/path/to/hydor-suggest-49m python try_it.py # a folder you have already
4
+ GRAYLING_MODEL_DIR=/path/to/grayling-49m python try_it.py # a folder you have already
5
5
  """
6
6
 
7
7
  import os
@@ -12,8 +12,8 @@ use grayling::{Engine, LoadOptions, Request};
12
12
 
13
13
  fn main() -> grayling::Result<()> {
14
14
  let mut engine = Engine::new();
15
- // The small model's folder: https://huggingface.co/algoprog/hydor-suggest-49m (about 314 MB; 195 MB without `replay/`).
16
- engine.load(Path::new("hydor-suggest-49m"), None, None, &LoadOptions::default(), None, None)?;
15
+ // The small model's folder: https://huggingface.co/algoprog/grayling-49m (about 314 MB; 195 MB without `replay/`).
16
+ engine.load(Path::new("grayling-49m"), None, None, &LoadOptions::default(), None, None)?;
17
17
 
18
18
  let request = Request { text: "Please let me know if you have any ques".into(), precision: Some(0.3), ..Request::default() };
19
19
  let answer = engine.suggest(&request, None)?;
@@ -1,6 +1,6 @@
1
1
  //! What is downloaded, pinned: llama.cpp's prebuilt `llama-server` (one release, each asset's size and SHA-256),
2
2
  //! Qwen3.5-0.8B-Base as GGUF files (one revision of ggml-org's repository), the small model of Grayling's own (a release on
3
- //! Hugging Face, `algoprog/hydor-suggest-49m`, at one revision), and the `uv` program that makes the private Python.
3
+ //! Hugging Face, `algoprog/grayling-49m`, at one revision), and the `uv` program that makes the private Python.
4
4
  //!
5
5
  //! A port of Hydor's `server/suggest/pins.ts`; the numbers are the same. [`Pins`] holds them as owned values so that a test can
6
6
  //! put others in their place; [`Pins::real`] is what the program uses.
@@ -100,8 +100,9 @@ pub struct PinnedFile {
100
100
  pub sha256: &'static str,
101
101
  }
102
102
 
103
- /// The small model's release (<https://huggingface.co/algoprog/hydor-suggest-49m>, AGPL-3.0-only; its tokenizer Apache-2.0).
104
- pub const SMALL_MODEL_REPO: &str = "algoprog/hydor-suggest-49m";
103
+ /// The small model's release (<https://huggingface.co/algoprog/grayling-49m>, called `algoprog/hydor-suggest-49m` until 30 November 2026, an address Hugging Face still
104
+ /// leads here; AGPL-3.0-only; its tokenizer Apache-2.0).
105
+ pub const SMALL_MODEL_REPO: &str = "algoprog/grayling-49m";
105
106
  pub const SMALL_MODEL_REVISION: &str = "db7f41395e51501c99b8896bf63c98e7e445a18b";
106
107
  pub const SMALL_MODEL_FILES: &[PinnedFile] = &[
107
108
  PinnedFile {
File without changes
File without changes
File without changes
File without changes