Skip to content

Conversation

@sammer1107
Copy link
Contributor

Use conditional import for transformer module in logging.py

Only import and configure the logging of the transformer module only if it exists.
This allows the user not to install the nn components when using only linear models.

Test CLI & API (bash tests/autotest.sh)

  • Test Pass
    • (Copy and paste the last outputted line here.)
  • Not Applicable (i.e., the PR does not include API changes.)

Test quickstart & API (bash tests/docs/test_examples.sh)

  • Test Pass
    • (Copy and paste the last outputted line here.)
  • Not Applicable (i.e., the PR does not include API changes.)

Check API Document

  • API document is updated (linear, nn)
  • Not Applicable (i.e., the PR does not include API changes.)

@Eleven1Liu Eleven1Liu merged commit 5b87627 into ASUS-AICS:master Mar 6, 2023
@Eleven1Liu Eleven1Liu deleted the transformer_dependency branch March 6, 2023 13: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