Skip to content

Commit 1f5d3fe

Browse files
yingdachenYingda Chen
andauthored
remove master warning log (modelscope#1336)
Co-authored-by: Yingda Chen <yingda.chen@alibaba-inc.com>
1 parent cba45c4 commit 1f5d3fe

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

modelscope/hub/api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,6 @@ def get_valid_revision_detail(self,
728728
else:
729729
if revision is not None and revision in all_branches:
730730
revision_detail = self.get_branch_tag_detail(all_branches_detail, revision)
731-
logger.warning('Using branch: %s as version is unstable, use with caution' % revision)
732731
return revision_detail
733732

734733
if len(all_tags_detail) == 0: # use no revision use master as default.

0 commit comments

Comments
 (0)