Skip to content

Commit 4853487

Browse files
zhangyue19921010zhangyue19921010
andauthored
chore(ci): ignore warnings from hugging face (#6697)
Ignore a warning from hugging face download. Co-authored-by: zhangyue19921010 <zhangyue.1010@bytedance.com>
1 parent f29339b commit 4853487

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

python/pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ filterwarnings = [
114114
'ignore:.*`np\\.object` will be defined as the corresponding NumPy scalar\\..*:FutureWarning',
115115
# Boto3
116116
'ignore:.*datetime\.datetime\.utcnow\(\) is deprecated.*:DeprecationWarning',
117+
# Hugging Face Hub calls this deprecated hf-xet API internally.
118+
'ignore:.*hf_xet\.download_files\(\) is deprecated.*:DeprecationWarning',
117119
# Pandas 2.2 on Python 2.12
118120
'ignore:.*datetime\.datetime\.utcfromtimestamp\(\) is deprecated.*:DeprecationWarning',
119121
# Pytorch 2.2 on Python 3.12

0 commit comments

Comments
 (0)