mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-30 02:53:41 +08:00
remove transformer flax/torch warning
This commit is contained in:
parent
00b67e2f97
commit
db7d3c7a76
@ -1,4 +1,10 @@
|
||||
# Copyright © 2023-2024 Apple Inc.
|
||||
|
||||
from ._version import __version__
|
||||
|
||||
import os
|
||||
os.environ["TRANSFORMERS_NO_ADVISORY_WARNINGS"] = "1"
|
||||
|
||||
from .utils import convert, generate, load, stream_generate
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user