• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IBM / unitxt / 13830772563
81%

Build:
DEFAULT BRANCH: main
Ran 13 Mar 2025 09:33AM UTC
Jobs 1
Files 62
Run time 361min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Mar 2025 09:02AM UTC coverage: 80.702% (-0.02%) from 80.722%
13830772563

push

github

web-flow
Add inference engine caching (#1645)

* Add inference engine caching

- Caching can be disabled via the `use_cache` attribute of the inference
  engine class (default: `True`).
- Caching is performed in batches, with batch size controlled by the
  `cache_batch_size` attribute (default: `100`).
- The disk cache location is configurable via the
  `inference_engine_cache_path` setting
  (default: `./inference_engine_cache/<inference engine class>`).
- Although the cache is updated after each batch, it operates at the
  granularity of a single instance.
- The cache key includes the instance message and all current inference
  engine attributes.

Signed-off-by: Elad Venezian <eladv@il.ibm.com>

* Add tests to inference engine cache.

Signed-off-by: Elad Venezian <eladv@il.ibm.com>

---------

Signed-off-by: Elad Venezian <eladv@il.ibm.com>

1554 of 1918 branches covered (81.02%)

Branch coverage included in aggregate %.

9720 of 12052 relevant lines covered (80.65%)

0.81 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.11
0.02% unitxt/settings_utils.py
3
82.69
-0.48% unitxt/type_utils.py
Jobs
ID Job ID Ran Files Coverage
1 13830772563.1 13 Mar 2025 09:33AM UTC 62
80.7
GitHub Action Run
Source Files on build 13830772563
  • Tree
  • List 62
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #13830772563
  • 3d683795 on github
  • Prev Build on main (#13830562050)
  • Next Build on main (#13832662990)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc