Skip to content

Commit e27dafc

Browse files
author
semantic-release
committed
chore: release 0.82.1
1 parent 7879dee commit e27dafc

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
# CHANGELOG
22

33

4+
## v0.82.1 (2026-03-29)
5+
6+
### Bug Fixes
7+
8+
- Vlmmodelwrapper PEFT isinstance compatibility for TRL validation
9+
([#252](https://github.com/OpenAdaptAI/openadapt-evals/pull/252),
10+
[`7879dee`](https://github.com/OpenAdaptAI/openadapt-evals/commit/7879deef1bc1a50ae3292b3f9861a6a9c5910ac6))
11+
12+
TRL's validate_quantization_for_training() uses isinstance(model, PeftModel) to check for adapters.
13+
The wrapper hid the PeftModel, causing: "You cannot perform fine-tuning on purely quantized
14+
models."
15+
16+
Fix: dynamically create a combined class inheriting from both
17+
18+
VLMModelWrapper and the wrapped model's type. This makes isinstance() pass while keeping our
19+
forward/generate/cache methods via MRO.
20+
21+
Tests added: - test_peft_attributes_delegated: peft_config accessible through wrapper -
22+
test_hasattr_peft_config: hasattr() works for TRL's checks - test_isinstance_peft_model:
23+
isinstance(wrapper, PeftModel) == True - test_wrapper_passes_peft_validation (e2e): full TRL
24+
validation sim - test_wrapper_preserves_trainable_parameters (e2e): optimizer setup
25+
26+
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
27+
28+
429
## v0.82.0 (2026-03-29)
530

631
### Features

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "openadapt-evals"
7-
version = "0.82.0"
7+
version = "0.82.1"
88
description = "Evaluation infrastructure for GUI agent benchmarks"
99
readme = "README.md"
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)