docling-project / docling-project/docling-jobkit

`test_options_validator` fails with field mismatches (on Darwin)

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36
Forks
47
Avg merge
4d 22h
Merged PRs (30d)
15

Description

Happens while building docling-jobkit 1.1.1 and 1.2.0 for darwin (MacOS) in nixpkgs

```sh
tests/test_options.py:90: in test_options_validator
assert (
E AssertionError: assert InlineVlmOpti...w_tokens=4096) == InlineVlmOpti...w_tokens=4096)
E
E Full diff:
E - InlineVlmOptions(kind='inline_model_options', prompt='Convert this page to docling.', scale=2.0, max_size=None, repo_id='ds4sd/SmolDocling-256M-preview-mlx-bf16', trust_remote_code=False, load_in_8bit=True, llm_int8_threshold=6.0, quantized=False, inference_framework=, transformers_model_type=, response_format=, torch_dtype=None, supported_devices=[], temperature=0.0, stop_strings=[], extra_generation_config={}, use_kv_cache=True, max_new_tokens=4096)
E ? ^^^^^^^^^^^ ^^ ^^^
E + InlineVlmOptions(kind='inline_model_options', prompt='Convert this page to docling.', scale=2.0, max_size=None, repo_id='ds4sd/SmolDocling-256M-preview', trust_remote_code=False, load_in_8bit=True, llm_int8
_threshold=6.0, quantized=False, inference_framework=, transformers_model_type=, response_format=, torch_dtype=None, supported_devices=[, , ], temperature=0.0, stop_strings=[], extra_generation_config={}, use_kv_cache=True, max_new_tokens=4096)
E ? ^^ ++++++++ ^^^ ^^^^^^^^^^^^ +++++++++++ +++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.