Add feature manager#1926
Merged
Merged
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
uartie
reviewed
Apr 11, 2025
Contributor
|
No objections, also @uartie run some CI tests and they were all passing. Shall we wait for 1.18 to merge it? |
|
The code quality check failed, please run |
a65956a to
1fe6f71
Compare
|
The code quality check failed, please run |
astachowiczhabana
added a commit
to HabanaAI/optimum-habana-fork
that referenced
this pull request
Jul 8, 2025
astachowiczhabana
added a commit
to HabanaAI/optimum-habana-fork
that referenced
this pull request
Jul 8, 2025
astachowiczhabana
added a commit
that referenced
this pull request
Jul 8, 2025
astachowiczhabana
added a commit
to HabanaAI/optimum-habana-fork
that referenced
this pull request
Jul 10, 2025
regisss
reviewed
Jul 10, 2025
Collaborator
regisss
left a comment
There was a problem hiding this comment.
Let's move environment.py, feature_detection_utils.py and features.py to a new utils folder in optimum/habana. I'll move checkpoint_utils.py and utils.py there too after.
|
The code quality check failed, please run |
pbielak
pushed a commit
to HabanaAI/optimum-habana-fork
that referenced
this pull request
Jul 11, 2025
A previous PR [1] introduced a new package `optimum.habana.utils` which created a conflict with the `optimum/habana/utils.py` file. This commit adds the missing `utils/__init__.py` file and moves the `utils.py` file into the `utils/` module (renamed as `misc.py`). [1] huggingface#1926
pbielak
pushed a commit
to HabanaAI/optimum-habana-fork
that referenced
this pull request
Jul 11, 2025
A previous PR [1] introduced a new package `optimum.habana.utils` which created a conflict with the `optimum/habana/utils.py` file. This commit adds the missing `utils/__init__.py` file and moves the `utils.py` file into the `utils/` module (renamed as `misc.py`). [1] huggingface#1926
Merged
astachowiczhabana
pushed a commit
to HabanaAI/optimum-habana-fork
that referenced
this pull request
Jul 11, 2025
A previous PR [1] introduced a new package `optimum.habana.utils` which created a conflict with the `optimum/habana/utils.py` file. This commit adds the missing `utils/__init__.py` file and moves the `utils.py` file into the `utils/` module (renamed as `misc.py`). [1] huggingface#1926
astachowiczhabana
added a commit
that referenced
this pull request
Jul 11, 2025
Fix utils package A previous PR [1] introduced a new package `optimum.habana.utils` which created a conflict with the `optimum/habana/utils.py` file. This commit adds the missing `utils/__init__.py` file and moves the `utils.py` file into the `utils/` module (renamed as `misc.py`). [1] #1926 Co-authored-by: Piotr Bielak <pbielak@habana.ai>
astachowiczhabana
added a commit
that referenced
this pull request
Sep 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit introduces a new feature management system to the repository, which includes functionality to detect and utilize specific hardware features, environment variables, and configurations. It also includes utility functions and test cases to validate the feature detection logic.
Key Changes
Benefits: