This repository was archived by the owner on Jun 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +20
-8
lines changed
Expand file tree Collapse file tree 3 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,12 @@ def _setup_extras() -> Dict:
118118
119119
120120def _setup_entry_points () -> Dict :
121- return {}
121+ return {
122+ "console_scripts" : [
123+ "sparseml.framework=sparseml.framework.info:_main" ,
124+ "sparseml.sparsification=sparseml.sparsification.info:_main" ,
125+ ]
126+ }
122127
123128
124129def _setup_long_description () -> Tuple [str , str ]:
Original file line number Diff line number Diff line change 3030 detect_framework ,
3131 execute_in_sparseml_framework ,
3232)
33- from .framework import FrameworkInferenceProviderInfo , FrameworkInfo , framework_info
34- from .sparsification import SparsificationInfo , sparsification_info
33+ from .framework import (
34+ FrameworkInferenceProviderInfo ,
35+ FrameworkInfo ,
36+ framework_info ,
37+ save_framework_info ,
38+ load_framework_info ,
39+ )
40+ from .sparsification import (
41+ SparsificationInfo ,
42+ sparsification_info ,
43+ save_sparsification_info ,
44+ load_sparsification_info ,
45+ )
Original file line number Diff line number Diff line change 1414
1515
1616def test_imports ():
17- # logging imports
18- # sparsification imports
19- # framework imports
20- # base imports
21- # version imports
17+ # flake8: noqa
2218 from sparseml import (
2319 Framework ,
2420 FrameworkInferenceProviderInfo ,
You can’t perform that action at this time.
0 commit comments