-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPEX Duplicate importer V2 #11310
IPEX Duplicate importer V2 #11310
Conversation
5436e14
to
c2fac5d
Compare
4567430
to
c2fac5d
Compare
Add calling package to avoid error when using intel_extension_for_deepspeed, e.g., from intel_extension_for_deepspeed import XPU_Accelerator Or import deepspeed |
497e58f
to
a91906b
Compare
a91906b
to
7e6ca71
Compare
@jason-dai added a control env |
import inspect | ||
from ipex_llm.utils.common import log4Error | ||
|
||
|
||
# Default is True, set to False to disable IPEX duplicate checker | ||
IPEX_DUPLICATE_CHECKER = os.getenv("IPEX_DUPLICATE_CHECKER", 'True').lower() in ('true', '1', 't') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to BIGDL_CHECK_DUPLICATE_IMPORT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Failed unit tests are not related to this PR |
* Add gguf support. * Avoid error when import ipex-llm for multiple times. * Add check to avoid duplicate replace and revert. * Add calling from check to avoid raising exceptions in the submodule. * Add BIGDL_CHECK_DUPLICATE_IMPORT for controlling duplicate checker. Default is true.
Description
1. Why the change?
2. User API changes
3. Summary of the change
4. How to test?
5. New dependencies
- Dependency1
- Dependency2
- ...
- Dependency1 and license1
- Dependency2 and license2
- ...