From 05d8cd6f18773f8a1845e20c59f4a59a3e5e0191 Mon Sep 17 00:00:00 2001 From: Yingda Chen Date: Thu, 15 May 2025 15:19:27 +0800 Subject: [PATCH] remove master warning log --- modelscope/hub/api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modelscope/hub/api.py b/modelscope/hub/api.py index 18a9847c..bcce9f65 100644 --- a/modelscope/hub/api.py +++ b/modelscope/hub/api.py @@ -728,7 +728,6 @@ class HubApi: else: if revision is not None and revision in all_branches: revision_detail = self.get_branch_tag_detail(all_branches_detail, revision) - logger.warning('Using branch: %s as version is unstable, use with caution' % revision) return revision_detail if len(all_tags_detail) == 0: # use no revision use master as default.