Skip to content

Commit 996e082

Browse files
Logging consistency fixes
1 parent 5f2dae1 commit 996e082

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

grt/evaluate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,7 @@ def evaluate(
205205
for trace, dl_constructor in dataloaders.items():
206206
dataloader = dl_constructor()
207207
_evaluate_trace(dataloader, lightningmodule, device, trace, output)
208-
logging.info(
209-
f"Evaluation completed in {time.perf_counter() - start:.3f}s.")
208+
logger.info(f"Evaluation completed in {time.perf_counter() - start:.3f}s.")
210209

211210
if __name__ == "__main__":
212211
tyro.cli(evaluate)

src/nrdk/framework/lightningmodule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def compile(self) -> None:
112112
"""
113113
jt_disable = os.environ.get("JAXTYPING_DISABLE", "0").lower()
114114
if jt_disable not in ("1", "true"):
115-
self._log.error(
115+
self._log.warning(
116116
"torch.compile is currently incompatible with jaxtyping; "
117117
"if you see type errors, set the environment variable "
118118
"`JAXTYPING_DISABLE=1` to disable jaxtyping checks.")

0 commit comments

Comments
 (0)