Skip to content

Commit

Permalink
remove jit warning in __init__ (#10403)
Browse files Browse the repository at this point in the history
#10395 这个 PR 里多此一举给
jit/\_\_init__.py 加了一个 warning,导致 import oneflow 的时候就会显示这个 warning,这里去掉
  • Loading branch information
marigoold authored Jan 11, 2024
1 parent 3bf53a0 commit 76b7560
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions python/oneflow/jit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
import warnings
from typing import Any, Dict, List, Set, Tuple, Union, Callable

warnings.warn(
"The oneflow.jit interface is just to align the torch.jit interface and has no practical significance."
)


def script(
obj,
Expand Down

0 comments on commit 76b7560

Please sign in to comment.