Skip to content

Slot: num_threads

URI: dspy:num_threads

Applicable Classes

Name Description Modifies Slot
Parallel Run modules in parallel across batched inputs (``dspy no
BootstrapFewShotWithRandomSearch BootstrapFewShot + random search over program variants (``dspy no
GEPA Genetic-evolutionary Prompt Adaptation optimizer (``dspy no
BootstrapFinetune Bootstrap demos then fine-tune the underlying LM (``dspy no
Evaluate Parallel program evaluator (``dspy no
Settings Global DSPy configuration singleton (``dspy no

Properties

Type and Range

Property Value
Range Integer
Domain Of Parallel, BootstrapFewShotWithRandomSearch, GEPA, BootstrapFinetune, Evaluate, Settings

Cardinality and Requirements

Property Value
### Value Constraints
Property Value
Minimum Value 1

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:num_threads
native dspy:num_threads

LinkML Source

name: num_threads
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- Parallel
- BootstrapFewShotWithRandomSearch
- GEPA
- BootstrapFinetune
- Evaluate
- Settings
range: integer
minimum_value: 1