Skip to content

Conversation

@seanzhangkx8
Copy link
Collaborator

Description

  • Implemented lazy loading: Core modules imported immediately, others loaded on first access
  • Modules' error handling are done by modules themselves, and would only be displayed if the module is imported
  • Moved LLM dependency package handling from script files to module init.py files
  • Replaced print statements with proper ImportError raising

Copy link
Collaborator

@vianxnguyen vianxnguyen left a comment

Choose a reason for hiding this comment

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

looks great!

@cristiandnm cristiandnm merged commit 0bda800 into CornellNLP:master Oct 3, 2025
4 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.

3 participants