Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 087b485

Browse files
authored
Merge branch 'main' into interface-framework-onnx
2 parents 1a5ade4 + 2b24f6f commit 087b485

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ CHECKGLOBS := 'examples/**/*.py' 'integrations/**/*.py' 'scripts/**/*.py' 'src/*
66
DOCDIR := docs
77
MDCHECKGLOBS := 'docs/**/*.md' 'docs/**/*.rst' 'examples/**/*.md' 'integrations/**/*.md' 'notebooks/**/*.md' 'scripts/**/*.md'
88
MDCHECKFILES := CODE_OF_CONDUCT.md CONTRIBUTING.md DEVELOPING.md README.md
9+
SPARSEZOO_TEST_MODE := "true"
910

1011
BUILD_ARGS := # set nightly to build nightly release
1112
TARGETS := "" # targets for running pytests: keras,onnx,pytorch,pytorch_models,pytorch_datasets,tensorflow_v1,tensorflow_v1_models,tensorflow_v1_datasets

src/sparseml/framework/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def save_framework_info(framework: Any, path: Optional[str] = None):
237237
"saved framework info for framework %s in file at %s", framework, path
238238
),
239239
else:
240-
print(info.json())
240+
print(info.json(indent=4))
241241
_LOGGER.info("printed out framework info for framework %s", framework)
242242

243243

src/sparseml/sparsification/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def save_sparsification_info(framework: Any, path: Optional[str] = None):
241241
"saved sparsification info for framework %s in file at %s", framework, path
242242
),
243243
else:
244-
print(info.json())
244+
print(info.json(indent=4))
245245
_LOGGER.info("printed out sparsification info for framework %s", framework)
246246

247247

0 commit comments

Comments
 (0)