Skip to content

lazy import heavy dependencies#267

Merged
voorhs merged 54 commits intodevfrom
feat/lazy-import-heavy-dependencies
Mar 19, 2026
Merged

lazy import heavy dependencies#267
voorhs merged 54 commits intodevfrom
feat/lazy-import-heavy-dependencies

Conversation

@voorhs
Copy link
Collaborator

@voorhs voorhs commented Oct 23, 2025

No description provided.

@voorhs voorhs changed the title bug fix tests lazy import heavy dependencies Feb 10, 2026
# Conflicts:
#	pyproject.toml
#	src/autointent/_dump_tools/unit_dumpers.py
#	src/autointent/modules/scoring/_bert.py
# Conflicts:
#	src/autointent/_dump_tools/unit_dumpers.py
#	src/autointent/_wrappers/embedder/openai.py
#	src/autointent/_wrappers/embedder/sentence_transformers.py
#	src/autointent/_wrappers/ranker.py
#	src/autointent/context/data_handler/_stratification.py
#	src/autointent/generation/_generator.py
#	src/autointent/modules/scoring/_bert.py
#	src/autointent/modules/scoring/_catboost/catboost_scorer.py
#	src/autointent/modules/scoring/_lora/lora.py
#	src/autointent/modules/scoring/_ptuning/ptuning.py
Samoed and others added 16 commits March 13, 2026 16:20
# Conflicts:
#	src/autointent/modules/scoring/_bert.py
#	tests/modules/scoring/test_bert.py
#	tests/modules/scoring/test_catboost.py
#	tests/modules/scoring/test_lora.py
#	tests/modules/scoring/test_ptuning.py
# Conflicts:
#	pyproject.toml
#	src/autointent/context/data_handler/_stratification.py
* add embedder

* add test embedder config

* update tests

* update assertions in some tests

* Feat/extras matrix for tests (#269)

* add dependencies matrix

* add pipeline tests for each scoring module

* bug fix

* upd extras installation in gh actions

* upd extras in mypy ci

* fix issues with dependencies for bert scorer test

* fix gcn scorer tests

* fix typing errors

* upd assertions about catboost predictions

* upd ci with presets tests

* try to fix unit tests

* Feat/extras matrix for tests (#270)

* add dependencies matrix

* add pipeline tests for each scoring module

* bug fix

* upd extras installation in gh actions

* upd extras in mypy ci

* fix issues with dependencies for bert scorer test

* fix gcn scorer tests

* fix typing errors

* upd assertions about catboost predictions

* upd ci with presets tests

* try to fix unit tests

* try to fix mypy

* fix catboost test

* skip incremental evolver tests for now

* upd callback test

* run ruff

* add missing transformers dependency to embedder ci

* update test for tunable decision module

* move callback testing to the env with sentence-transformers installed

* fix embedder tests

* remove catboost from classic-medium

* lint

* small fixes

* lint

---------

Co-authored-by: Roman Solomatin <36135455+Samoed@users.noreply.github.com>
Copy link
Collaborator Author

@voorhs voorhs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

на мой взгляд в тестах все совсем не то. может мы недопоняли друг друга?

@Samoed Samoed requested review from Samoed and removed request for Samoed March 19, 2026 10:13
@voorhs voorhs merged commit 9c4c534 into dev Mar 19, 2026
60 checks passed
@voorhs voorhs deleted the feat/lazy-import-heavy-dependencies branch March 19, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants