deepset-ai / deepset-ai/haystack

Batched inferencing using HuggingfaceLocalGenerator

Open
#8,770 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P3
Dominant language
Python
Stars
26.6k
Forks
3.2k
Avg merge
1d 3h
Merged PRs (30d)
194

Description

Is there a way to perform batched inferencing using HuggingfaceLocalGenerator? I could not find any information about this on the docs.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the HuggingfaceLocalGenerator entry point and its existing documentation, then trace how inference inputs are handled. Determine whether batched inferencing is already supported or needs a scoped API change. Done means the supported behavior is implemented or clearly documented, with coverage for batched inputs if the repository has relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface, python
Domain
ai, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.