Skip to content

fix(core): lazy-import torch so CI tests collect without torch - #106

Merged
loootte merged 1 commit into
mainfrom
fix/104-ci-no-torch
Aug 2, 2026
Merged

loootte merged 1 commit into
mainfrom
fix/104-ci-no-torch

Conversation

@loootte

@loootte loootte commented Aug 2, 2026

Copy link
Copy Markdown
Owner

CI uses requirements-ci without torch. Eager import of learned.model broke collection.

  • Lazy torch in model/loader; package __init__ no longer pulls infer at import
  • Torch-heavy tests skip when torch missing
  • README / core-inference note optional torch

Avoid ModuleNotFoundError when requirements-ci has no torch. Document
optional torch in README and core-inference.md.
@loootte
loootte merged commit 496d279 into main Aug 2, 2026
3 checks passed
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.

1 participant