浏览代码

set client branch to main by default;
remove the concept of base branch (redundant)

justheuristic 3 年之前
父节点
当前提交
41e5a95e8e
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      cli/convert_model.py

+ 0 - 4
cli/convert_model.py

@@ -77,8 +77,4 @@ if __name__ == "__main__":
         tokenizer.save_pretrained(".")
         config.save_pretrained(".")
 
-    repo.git_checkout(args.client_branch, create_branch_ok=True)
-    with repo.commit(commit_message=args.commit_message, branch=args.client_branch, track_large_files=True):
-
-
     logger.info(f"Converted {args.model} and pushed to {args.output_repo}")