Repository navigation
GLiNER2 2.2.0
pip install -U gliner2Training
- Add resumable training sessions and shared managed schedules (#203)
- Attest consumed training row order per attempt (#212)
- Fix DDP: gradients were never averaged across GPUs (#199)
- Fix positive-gradient dilution, false-empty supervision, and field confidence veto in BoundaryExtractor (#211)
- Keep BoundaryExtractor head encoders in the task_lr optimizer group (#210)
- Remove a CUDA host sync from the split positive/negative candidate loss
Loading
- Load PEFT LoRA adapter checkpoints and forward Hub kwargs (
revision,token,subfolder) in AutoExtractor (#208)
Extraction and decoding
- Relation pair selection shares the relation-independent ordering, fixing OOM on large schemas (#195)
- Do not anchor records on schema-prefix tokens of a
choices=field (#198) - Do not widen a partial-word SurfaceSpan onto the full token in SchemaTransformer (#209)
- Index attribute logits on their own device (#197)
- Apply
ClassificationConfig.calibratorat decode time (#173) - Cap span end offsets after an appended full stop (#201)
- Preserve JointIE relation descriptions (#204)
- Fix stale validate docs, name the CJK splitter fix, unpad dense list loss (#205)
Testing notes
Validated on an NVIDIA L4 (torch 2.6.0+cu124, CUBLAS_WORKSPACE_CONFIG=:4096:8): 1,099 passed, 12 failed, 3 skipped; compile tests pass.
- Skipped:
disentangled_flashnot installed; NCCL DDP integration requires 2 GPUs. - Known failures: numeric drift against stored golden outputs (3), tests not yet updated for #208's loading changes and the
lora.pyline budget (4), and CUDA-only training-session checks under investigation (5).
Full changelog: v2.1.0...v2.2.0