Skip to content

Commit

Permalink
remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kprokofi committed Nov 12, 2024
1 parent da9c3cc commit 7be2712
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/otx/engine/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1147,8 +1147,6 @@ def _build_trainer(self, **kwargs) -> None:
self._cache.update(strategy="xpu_single")
# add plugin for Automatic Mixed Precision on XPU
if self._cache.args.get("precision", 32) == 16:
msg = "XPU doesn't support fp16 now, so bfp16 will be used instead."
warn(msg, stacklevel=1)
self._cache.update(
plugins=[
MixedPrecision(
Expand Down

0 comments on commit 7be2712

Please sign in to comment.