witrin's picture
Upload folder using huggingface_hub (part 14)
b2e0625 verified
Raw
History Blame Contribute Delete
44.1 kB
{"time": "2019-08-14T00:27:03+00:00", "type": "commit", "payload": {"sha": "d22691847477bce0f3f2af4f7bf181b1b79f70e0", "node_id": "MDY6Q29tbWl0MjAxOTkxNTU4OmQyMjY5MTg0NzQ3N2JjZTBmM2YyYWY0ZjdiZjE4MWIxYjc5ZjcwZTA=", "commit": {"author": {"name": "Cecilia Liu", "email": "ziyl@microsoft.com", "date": "2019-08-14T00:27:03Z"}, "committer": {"name": "Cecilia Liu", "email": "ziyl@microsoft.com", "date": "2019-08-14T00:27:03Z"}, "message": "update build", "tree": {"sha": "5cfb81498eb85692dcfc2a7d10b529a18cb7d3a4", "url": "https://api.github.com/repos/microsoft/Olive/git/trees/5cfb81498eb85692dcfc2a7d10b529a18cb7d3a4"}, "url": "https://api.github.com/repos/microsoft/Olive/git/commits/d22691847477bce0f3f2af4f7bf181b1b79f70e0", "comment_count": 0, "verification": {"verified": false, "reason": "unsigned", "signature": null, "payload": null, "verified_at": null}}, "url": "https://api.github.com/repos/microsoft/Olive/commits/d22691847477bce0f3f2af4f7bf181b1b79f70e0", "html_url": "https://github.com/microsoft/Olive/commit/d22691847477bce0f3f2af4f7bf181b1b79f70e0", "comments_url": "https://api.github.com/repos/microsoft/Olive/commits/d22691847477bce0f3f2af4f7bf181b1b79f70e0/comments", "author": {"login": "liuziyue", "id": 9273813, "node_id": "MDQ6VXNlcjkyNzM4MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/9273813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liuziyue", "html_url": "https://github.com/liuziyue", "followers_url": "https://api.github.com/users/liuziyue/followers", "following_url": "https://api.github.com/users/liuziyue/following{/other_user}", "gists_url": "https://api.github.com/users/liuziyue/gists{/gist_id}", "starred_url": "https://api.github.com/users/liuziyue/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liuziyue/subscriptions", "organizations_url": "https://api.github.com/users/liuziyue/orgs", "repos_url": "https://api.github.com/users/liuziyue/repos", "events_url": "https://api.github.com/users/liuziyue/events{/privacy}", "received_events_url": "https://api.github.com/users/liuziyue/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "committer": {"login": "liuziyue", "id": 9273813, "node_id": "MDQ6VXNlcjkyNzM4MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/9273813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liuziyue", "html_url": "https://github.com/liuziyue", "followers_url": "https://api.github.com/users/liuziyue/followers", "following_url": "https://api.github.com/users/liuziyue/following{/other_user}", "gists_url": "https://api.github.com/users/liuziyue/gists{/gist_id}", "starred_url": "https://api.github.com/users/liuziyue/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liuziyue/subscriptions", "organizations_url": "https://api.github.com/users/liuziyue/orgs", "repos_url": "https://api.github.com/users/liuziyue/repos", "events_url": "https://api.github.com/users/liuziyue/events{/privacy}", "received_events_url": "https://api.github.com/users/liuziyue/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "parents": [{"sha": "6cbb856181894b910925d170cb1dff99b58fcd3e", "url": "https://api.github.com/repos/microsoft/Olive/commits/6cbb856181894b910925d170cb1dff99b58fcd3e", "html_url": "https://github.com/microsoft/Olive/commit/6cbb856181894b910925d170cb1dff99b58fcd3e"}], "stats": {"total": 194, "additions": 101, "deletions": 93}, "files": [{"sha": "59226545e5eb540edb367bc111c093fb4c356eb9", "filename": "components/perf-test/build_perf_test.py", "status": "modified", "additions": 23, "deletions": 18, "changes": 41, "blob_url": "https://github.com/microsoft/Olive/blob/d22691847477bce0f3f2af4f7bf181b1b79f70e0/components%2Fperf-test%2Fbuild_perf_test.py", "raw_url": "https://github.com/microsoft/Olive/raw/d22691847477bce0f3f2af4f7bf181b1b79f70e0/components%2Fperf-test%2Fbuild_perf_test.py", "contents_url": "https://api.github.com/repos/microsoft/Olive/contents/components%2Fperf-test%2Fbuild_perf_test.py?ref=d22691847477bce0f3f2af4f7bf181b1b79f70e0", "patch": "@@ -27,11 +27,11 @@ def build_onnxruntime(onnxruntime_dir, config, build_args, build_name, args):\n \n copy(os.path.join(onnxruntime_dir, \"build/Windows\", config, config, \"onnxruntime_perf_test.exe\"), target_dir)\n copy(os.path.join(onnxruntime_dir, \"build/Windows\", config, config, \"onnxruntime.dll\"), target_dir)\n- if \"mkldnn\" in build_name:\n+ if \"--use_mkldnn\" in build_args:\n copy(os.path.join(onnxruntime_dir, \"build/Windows\", config, config, \"mkldnn.dll\"), target_dir)\n- if \"cuda\" in build_name or \"tensorrt\" == build_name:\n+ if args.use_cuda or args.use_tensorrt:\n copy(os.path.join(args.cudnn_home, \"bin/cudnn*.dll\"), target_dir)\n- if \"tensorrt\" in build_name:\n+ if args.use_tensorrt:\n copy(os.path.join(args.tensorrt_home, \"lib/nvinfer.dll\"), target_dir)\n else:\n build_env = os.environ.copy()\n@@ -47,19 +47,19 @@ def build_onnxruntime(onnxruntime_dir, config, build_args, build_name, args):\n copy(os.path.join(onnxruntime_dir, \"build/Linux\", config, \"onnxruntime_perf_test\"), target_dir)\n copy(os.path.join(onnxruntime_dir, \"build/Linux\", config, \"libonnxruntime.so*\"), target_dir)\n copy(os.path.join(onnxruntime_dir, \"build/Linux\", config, \"mklml/src/project_mklml/lib/*.so*\"), target_dir)\n- if \"mkldnn\" in build_name:\n+ if \"--use_mkldnn\" in build_args:\n copy(os.path.join(onnxruntime_dir, \"build/Linux\", config, \"mkl-dnn/install/lib/libmkldnn.so*\"), target_dir)\n- if \"cuda\" in build_name or \"tensorrt\" == build_name:\n+ if args.use_cuda or args.use_tensorrt:\n if is_windows():\n copy(os.path.join(args.cudnn_home, \"bin/cudnn*.dll\"), target_dir)\n else:\n copy(os.path.join(args.cudnn_home, \"lib64/libcudnn.so*\"), target_dir)\n- if \"tensorrt\" in build_name:\n+ if args.use_tensorrt:\n if is_windows():\n copy(os.path.join(args.tensorrt_home, \"lib/nvinfer.dll\"), target_dir)\n else:\n copy(os.path.join(args.tensorrt_home, \"lib/libnvinfer.so*\"), target_dir)\n- if \"ngraph\" in build_name:\n+ if args.use_ngraph:\n if is_windows():\n pass\n else:\n@@ -94,29 +94,32 @@ def parse_arguments():\n if __name__ == \"__main__\":\n args = parse_arguments()\n \n- build_onnxruntime(args.onnxruntime_home, args.config, [\"--parallel\"], \"cpu\", args)\n+ build_args = [\"--parallel\", \"--use_mkldnn\", \"--use_openmp\"]\n+ # build_onnxruntime(args.onnxruntime_home, args.config, [\"--parallel\"], \"cpu\", args)\n \n- build_onnxruntime(args.onnxruntime_home, args.config, [\"--use_openmp\", \"--parallel\"], \"cpu_openmp\", args)\n+ # build_onnxruntime(args.onnxruntime_home, args.config, [\"--use_openmp\", \"--parallel\"], \"cpu_openmp\", args)\n \n- build_onnxruntime(args.onnxruntime_home, args.config, [\"--use_mkldnn\", \"--parallel\"], \"mkldnn\", args)\n+ # build_onnxruntime(args.onnxruntime_home, args.config, [\"--use_mkldnn\", \"--parallel\"], \"mkldnn\", args)\n \n- build_onnxruntime(args.onnxruntime_home, args.config, [\"--use_mkldnn\", \"--use_openmp\", \"--parallel\"], \"mkldnn_openmp\", args)\n+ # build_onnxruntime(args.onnxruntime_home, args.config, [\"--use_mkldnn\", \"--use_openmp\", \"--parallel\"], \"mkldnn_openmp\", args)\n \n if args.use_mklml:\n- build_onnxruntime(args.onnxruntime_home, args.config, [\"--use_mkldnn\", \"--use_mklml\", \"--parallel\"], \"mkldnn_mklml\", args)\n+ build_onnxruntime(args.onnxruntime_home, args.config, [\"--use_mklml\", \"--parallel\"], \"mklml\", args)\n+ # build_args += [\"--use_mklml\"]\n \n if args.use_cuda:\n- build_args = [\"--use_cuda\", \"--parallel\"]\n+ # build_args = [\"--use_cuda\", \"--parallel\"]\n+ build_args += [\"--use_cuda\"]\n if args.cuda_version:\n build_args = build_args + [\"--cuda_version\", args.cuda_version]\n if args.cuda_home:\n build_args = build_args + [\"--cuda_home\", args.cuda_home]\n if args.cudnn_home:\n build_args = build_args + [\"--cudnn_home\", args.cudnn_home]\n- build_onnxruntime(args.onnxruntime_home, args.config, build_args, \"cuda\", args)\n+ # build_onnxruntime(args.onnxruntime_home, args.config, build_args, \"cuda\", args)\n \n if args.use_tensorrt:\n- build_args = [\"--use_tensorrt\", \"--use_full_protobuf\"]\n+ build_args += [\"--use_tensorrt\", \"--use_full_protobuf\"]\n if args.tensorrt_home:\n build_args = build_args + [\"--tensorrt_home\", args.tensorrt_home]\n if args.cuda_version:\n@@ -125,8 +128,10 @@ def parse_arguments():\n build_args = build_args + [\"--cuda_home\", args.cuda_home]\n if args.cudnn_home:\n build_args = build_args + [\"--cudnn_home\", args.cudnn_home]\n- build_onnxruntime(args.onnxruntime_home, args.config, build_args, \"tensorrt\", args)\n+ # build_onnxruntime(args.onnxruntime_home, args.config, build_args, \"tensorrt\", args)\n \n if args.use_ngraph:\n- build_args = [\"--use_ngraph\"]\n- build_onnxruntime(args.onnxruntime_home, args.config, build_args, \"ngraph\", args)\n+ build_args += [\"--use_ngraph\"]\n+ # build_onnxruntime(args.onnxruntime_home, args.config, build_args, \"ngraph\", args)\n+ \n+ build_onnxruntime(args.onnxruntime_home, args.config, build_args, \"all_eps\", args)"}, {"sha": "38573b9103030508cfc2f2d4d4cc2b5b51423d8b", "filename": "components/perf-test/perf_test.py", "status": "modified", "additions": 78, "deletions": 75, "changes": 153, "blob_url": "https://github.com/microsoft/Olive/blob/d22691847477bce0f3f2af4f7bf181b1b79f70e0/components%2Fperf-test%2Fperf_test.py", "raw_url": "https://github.com/microsoft/Olive/raw/d22691847477bce0f3f2af4f7bf181b1b79f70e0/components%2Fperf-test%2Fperf_test.py", "contents_url": "https://api.github.com/repos/microsoft/Olive/contents/components%2Fperf-test%2Fperf_test.py?ref=d22691847477bce0f3f2af4f7bf181b1b79f70e0", "patch": "@@ -363,7 +363,7 @@ def parse_arguments():\n bin_dir = os.path.join(os.path.dirname(__file__), \"bin\", args.config)\n build_dirs = os.listdir(bin_dir)\n \n- providers = [p for p in args.execution_provider.split(\",\") if p != \"\"] if len(args.execution_provider) > 0 else build_dirs\n+ providers = [p for p in args.execution_provider.split(\",\") if p != \"\"] if len(args.execution_provider) > 0 else [\"mklml\", \"cpu_openmp\", \"mkldnn\", \"mkldnn_openmp\", \"cpu\", \"tensorrt\", \"ngraph\", \"cuda\"]\n \n if len(GPUtil.getGPUs()) == 0:\n print(\"No GPU found on current device. Cuda and TensorRT performance tuning might not be available. \")\n@@ -377,86 +377,89 @@ def parse_arguments():\n successful = []\n failed = []\n # Loop for every pre-built execution provider\n- for build_name in build_dirs:\n- build_path = os.path.join(bin_dir, build_name)\n+ for build_name in providers:\n+ if \"mklml\" in build_name:\n+ build_path = os.path.join(bin_dir, build_name)\n+ else:\n+ build_path = os.path.join(bin_dir, \"all_eps\")\n if os.path.isdir(build_path):\n- # If current build is requested by user, run perf tuning\n- if build_name in providers: \n- test_args = []\n-\n- if \"mkldnn\" in build_name:\n- test_args = test_args + [\"-e\", \"mkldnn\"]\n- if \"cuda\" in build_name:\n- test_args = test_args + [\"-e\", \"cuda\"]\n- if \"tensorrt\" in build_name:\n- test_args = test_args + [\"-e\", \"tensorrt\"]\n- if \"ngraph\" in build_name:\n- test_args = test_args + [\"-e\", \"ngraph\"]\n- \n- env_vars = ep_envvar_map.get(build_name)\n- env_var_combos = get_env_var_combos(env_vars)\n- env_names = list(env_vars.keys()) if env_vars is not None else []\n- # Tune all possible combinations of environment variables, including defaults\n- for combo in env_var_combos:\n- # generate env var dict {env_var_name: env_var_option}. \n- env = gen_env_var_dict(env_names, combo)\n- env_option = \"\"\n- for e in env:\n- env_option += \"_\" + e + \"_\" + env.get(e)\n-\n- best_run = -1\n- is_omp = \"openmp\" in build_name\n- num_threads = int(args.num_threads) if is_omp else int(args.threadpool_size)\n- if args.parallel and \"cuda\" not in build_name and \"tensorrt\" not in build_name: \n- # Tune environment variables and thread pool size using parallel executor \n- best_run = run_perf_test_binary(\n- PerfTestParams(\n- build_name + \"_parallel_\",\n- build_name + \" \",\n- build_path,\n- test_args + [\"-P\"],\n- env,\n- args,\n- build_name,\n- ), num_threads, \"_threads\" + env_option, \" threads, \" + env_option, failed, successful, is_omp)\n- if best_run != None and best_run > 1:\n- # Run the best thread pool candidate with environment variable on sequential executor\n- param = PerfTestParams(\n- build_name + \"_\" + str(best_run) + \"_threads\" + env_option,\n- build_name + \" \" + str(best_run) + \" threads, \" + env_option,\n+ # # If current build is requested by user, run perf tuning\n+ # if build_name in providers: \n+ test_args = []\n+\n+ if \"mkldnn\" in build_name:\n+ test_args = test_args + [\"-e\", \"mkldnn\"]\n+ if \"cuda\" in build_name:\n+ test_args = test_args + [\"-e\", \"cuda\"]\n+ if \"tensorrt\" in build_name:\n+ test_args = test_args + [\"-e\", \"tensorrt\"]\n+ if \"ngraph\" in build_name:\n+ test_args = test_args + [\"-e\", \"ngraph\"]\n+ \n+ env_vars = ep_envvar_map.get(build_name)\n+ env_var_combos = get_env_var_combos(env_vars)\n+ env_names = list(env_vars.keys()) if env_vars is not None else []\n+ # Tune all possible combinations of environment variables, including defaults\n+ for combo in env_var_combos:\n+ # generate env var dict {env_var_name: env_var_option}. \n+ env = gen_env_var_dict(env_names, combo)\n+ env_option = \"\"\n+ for e in env:\n+ env_option += \"_\" + e + \"_\" + env.get(e)\n+\n+ best_run = -1\n+ is_omp = \"openmp\" in build_name\n+ num_threads = int(args.num_threads) if is_omp else int(args.threadpool_size)\n+ if args.parallel and \"cuda\" not in build_name and \"tensorrt\" not in build_name: \n+ # Tune environment variables and thread pool size using parallel executor \n+ best_run = run_perf_test_binary(\n+ PerfTestParams(\n+ build_name + \"_parallel_\",\n+ build_name + \" \",\n build_path,\n- test_args,\n+ test_args + [\"-P\"],\n env,\n- args, \n- build_name\n- )\n- if is_omp:\n- param.env.update({\"OMP_NUM_THREADS\": str(best_run)})\n- else:\n- param.test_args += [\"-x\", str(best_run)]\n- tests.append(param)\n- else:\n- # Tune environment variables and thread pool size using sequential executor\n- run_perf_test_binary(\n- PerfTestParams(\n- build_name + \"_\",\n- build_name + \" \",\n- build_path,\n- test_args,\n- env,\n- args,\n- build_name\n- ), num_threads, \"_threads\" + env_option, \" threads, \" + env_option, failed, successful, is_omp)\n- # Tune environment variables using sequential executor\n- params = PerfTestParams(\n- build_name + env_option,\n- build_name + \" \" + env_option,\n+ args,\n+ build_name,\n+ ), num_threads, \"_threads\" + env_option, \" threads, \" + env_option, failed, successful, is_omp)\n+ if best_run != None and best_run > 1:\n+ # Run the best thread pool candidate with environment variable on sequential executor\n+ param = PerfTestParams(\n+ build_name + \"_\" + str(best_run) + \"_threads\" + env_option,\n+ build_name + \" \" + str(best_run) + \" threads, \" + env_option,\n build_path,\n test_args,\n env,\n- args,\n- build_name)\n- tests.append(params) \n+ args, \n+ build_name\n+ )\n+ if is_omp:\n+ param.env.update({\"OMP_NUM_THREADS\": str(best_run)})\n+ else:\n+ param.test_args += [\"-x\", str(best_run)]\n+ tests.append(param)\n+ else:\n+ # Tune environment variables and thread pool size using sequential executor\n+ run_perf_test_binary(\n+ PerfTestParams(\n+ build_name + \"_\",\n+ build_name + \" \",\n+ build_path,\n+ test_args,\n+ env,\n+ args,\n+ build_name\n+ ), num_threads, \"_threads\" + env_option, \" threads, \" + env_option, failed, successful, is_omp)\n+ # Tune environment variables using sequential executor\n+ params = PerfTestParams(\n+ build_name + env_option,\n+ build_name + \" \" + env_option,\n+ build_path,\n+ test_args,\n+ env,\n+ args,\n+ build_name)\n+ tests.append(params) \n \n # Run the tests.\n for test in tests:"}]}}
{"time": "2019-08-14T00:27:03+00:00", "type": "timeline:committed", "payload": {"sha": "d22691847477bce0f3f2af4f7bf181b1b79f70e0", "node_id": "MDY6Q29tbWl0MjAxOTkxNTU4OmQyMjY5MTg0NzQ3N2JjZTBmM2YyYWY0ZjdiZjE4MWIxYjc5ZjcwZTA=", "url": "https://api.github.com/repos/microsoft/Olive/git/commits/d22691847477bce0f3f2af4f7bf181b1b79f70e0", "html_url": "https://github.com/microsoft/Olive/commit/d22691847477bce0f3f2af4f7bf181b1b79f70e0", "author": {"name": "Cecilia Liu", "email": "ziyl@microsoft.com", "date": "2019-08-14T00:27:03Z"}, "committer": {"name": "Cecilia Liu", "email": "ziyl@microsoft.com", "date": "2019-08-14T00:27:03Z"}, "tree": {"sha": "5cfb81498eb85692dcfc2a7d10b529a18cb7d3a4", "url": "https://api.github.com/repos/microsoft/Olive/git/trees/5cfb81498eb85692dcfc2a7d10b529a18cb7d3a4"}, "message": "update build", "parents": [{"sha": "6cbb856181894b910925d170cb1dff99b58fcd3e", "url": "https://api.github.com/repos/microsoft/Olive/git/commits/6cbb856181894b910925d170cb1dff99b58fcd3e", "html_url": "https://github.com/microsoft/Olive/commit/6cbb856181894b910925d170cb1dff99b58fcd3e"}], "verification": {"verified": false, "reason": "unsigned", "signature": null, "payload": null, "verified_at": null}, "event": "committed"}}
{"time": "2019-08-14T00:28:36+00:00", "type": "pr", "payload": {"url": "https://api.github.com/repos/microsoft/Olive/pulls/1", "id": 307127567, "node_id": "MDExOlB1bGxSZXF1ZXN0MzA3MTI3NTY3", "html_url": "https://github.com/microsoft/Olive/pull/1", "diff_url": "https://github.com/microsoft/Olive/pull/1.diff", "patch_url": "https://github.com/microsoft/Olive/pull/1.patch", "issue_url": "https://api.github.com/repos/microsoft/Olive/issues/1", "number": 1, "state": "closed", "locked": false, "title": "Update Perf Tuning Build ", "user": {"login": "liuziyue", "id": 9273813, "node_id": "MDQ6VXNlcjkyNzM4MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/9273813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liuziyue", "html_url": "https://github.com/liuziyue", "followers_url": "https://api.github.com/users/liuziyue/followers", "following_url": "https://api.github.com/users/liuziyue/following{/other_user}", "gists_url": "https://api.github.com/users/liuziyue/gists{/gist_id}", "starred_url": "https://api.github.com/users/liuziyue/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liuziyue/subscriptions", "organizations_url": "https://api.github.com/users/liuziyue/orgs", "repos_url": "https://api.github.com/users/liuziyue/repos", "events_url": "https://api.github.com/users/liuziyue/events{/privacy}", "received_events_url": "https://api.github.com/users/liuziyue/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "body": "Update ONNX Runtime build to use a single command line to build all execution providers. ", "created_at": "2019-08-14T00:28:36Z", "updated_at": "2019-08-14T00:28:52Z", "closed_at": "2019-08-14T00:28:48Z", "merged_at": "2019-08-14T00:28:48Z", "merge_commit_sha": "6a4061ca1c31dea43738b19d8b6f3fee990de5bf", "assignees": [], "requested_reviewers": [], "requested_teams": [], "labels": [], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/microsoft/Olive/pulls/1/commits", "review_comments_url": "https://api.github.com/repos/microsoft/Olive/pulls/1/comments", "review_comment_url": "https://api.github.com/repos/microsoft/Olive/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/microsoft/Olive/issues/1/comments", "statuses_url": "https://api.github.com/repos/microsoft/Olive/statuses/d22691847477bce0f3f2af4f7bf181b1b79f70e0", "head": {"label": "microsoft:ziyl/build", "ref": "ziyl/build", "sha": "d22691847477bce0f3f2af4f7bf181b1b79f70e0", "user": {"login": "microsoft", "id": 6154722, "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/6154722?v=4", "gravatar_id": "", "url": "https://api.github.com/users/microsoft", "html_url": "https://github.com/microsoft", "followers_url": "https://api.github.com/users/microsoft/followers", "following_url": "https://api.github.com/users/microsoft/following{/other_user}", "gists_url": "https://api.github.com/users/microsoft/gists{/gist_id}", "starred_url": "https://api.github.com/users/microsoft/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/microsoft/subscriptions", "organizations_url": "https://api.github.com/users/microsoft/orgs", "repos_url": "https://api.github.com/users/microsoft/repos", "events_url": "https://api.github.com/users/microsoft/events{/privacy}", "received_events_url": "https://api.github.com/users/microsoft/received_events", "type": "Organization", "user_view_type": "public", "site_admin": false}, "repo": {"id": 201991558, "node_id": "MDEwOlJlcG9zaXRvcnkyMDE5OTE1NTg=", "name": "Olive", "full_name": "microsoft/Olive", "private": false, "owner": {"login": "microsoft", "id": 6154722, "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/6154722?v=4", "gravatar_id": "", "url": "https://api.github.com/users/microsoft", "html_url": "https://github.com/microsoft", "followers_url": "https://api.github.com/users/microsoft/followers", "following_url": "https://api.github.com/users/microsoft/following{/other_user}", "gists_url": "https://api.github.com/users/microsoft/gists{/gist_id}", "starred_url": "https://api.github.com/users/microsoft/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/microsoft/subscriptions", "organizations_url": "https://api.github.com/users/microsoft/orgs", "repos_url": "https://api.github.com/users/microsoft/repos", "events_url": "https://api.github.com/users/microsoft/events{/privacy}", "received_events_url": "https://api.github.com/users/microsoft/received_events", "type": "Organization", "user_view_type": "public", "site_admin": false}, "html_url": "https://github.com/microsoft/Olive", "description": "Olive: Simplify ML Model Finetuning, Conversion, Quantization, and Optimization for CPUs, GPUs and NPUs.", "fork": false, "url": "https://api.github.com/repos/microsoft/Olive", "forks_url": "https://api.github.com/repos/microsoft/Olive/forks", "keys_url": "https://api.github.com/repos/microsoft/Olive/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/microsoft/Olive/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/microsoft/Olive/teams", "hooks_url": "https://api.github.com/repos/microsoft/Olive/hooks", "issue_events_url": "https://api.github.com/repos/microsoft/Olive/issues/events{/number}", "events_url": "https://api.github.com/repos/microsoft/Olive/events", "assignees_url": "https://api.github.com/repos/microsoft/Olive/assignees{/user}", "branches_url": "https://api.github.com/repos/microsoft/Olive/branches{/branch}", "tags_url": "https://api.github.com/repos/microsoft/Olive/tags", "blobs_url": "https://api.github.com/repos/microsoft/Olive/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/microsoft/Olive/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/microsoft/Olive/git/refs{/sha}", "trees_url": "https://api.github.com/repos/microsoft/Olive/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/microsoft/Olive/statuses/{sha}", "languages_url": "https://api.github.com/repos/microsoft/Olive/languages", "stargazers_url": "https://api.github.com/repos/microsoft/Olive/stargazers", "contributors_url": "https://api.github.com/repos/microsoft/Olive/contributors", "subscribers_url": "https://api.github.com/repos/microsoft/Olive/subscribers", "subscription_url": "https://api.github.com/repos/microsoft/Olive/subscription", "commits_url": "https://api.github.com/repos/microsoft/Olive/commits{/sha}", "git_commits_url": "https://api.github.com/repos/microsoft/Olive/git/commits{/sha}", "comments_url": "https://api.github.com/repos/microsoft/Olive/comments{/number}", "issue_comment_url": "https://api.github.com/repos/microsoft/Olive/issues/comments{/number}", "contents_url": "https://api.github.com/repos/microsoft/Olive/contents/{+path}", "compare_url": "https://api.github.com/repos/microsoft/Olive/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/microsoft/Olive/merges", "archive_url": "https://api.github.com/repos/microsoft/Olive/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/microsoft/Olive/downloads", "issues_url": "https://api.github.com/repos/microsoft/Olive/issues{/number}", "pulls_url": "https://api.github.com/repos/microsoft/Olive/pulls{/number}", "milestones_url": "https://api.github.com/repos/microsoft/Olive/milestones{/number}", "notifications_url": "https://api.github.com/repos/microsoft/Olive/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/microsoft/Olive/labels{/name}", "releases_url": "https://api.github.com/repos/microsoft/Olive/releases{/id}", "deployments_url": "https://api.github.com/repos/microsoft/Olive/deployments", "created_at": "2019-08-12T19:00:23Z", "updated_at": "2026-05-25T09:26:24Z", "pushed_at": "2026-05-25T16:07:45Z", "git_url": "git://github.com/microsoft/Olive.git", "ssh_url": "git@github.com:microsoft/Olive.git", "clone_url": "https://github.com/microsoft/Olive.git", "svn_url": "https://github.com/microsoft/Olive", "homepage": "https://microsoft.github.io/Olive/", "size": 171806, "stargazers_count": 2319, "watchers_count": 2319, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, "has_discussions": true, "forks_count": 297, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 42, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "has_pull_requests": true, "pull_request_creation_policy": "all", "topics": [], "visibility": "public", "forks": 297, "open_issues": 42, "watchers": 2319, "default_branch": "main"}}, "base": {"label": "microsoft:master", "ref": "master", "sha": "588b7cb96bd28a24b95b70813eb6ba8ae68a733f", "user": {"login": "microsoft", "id": 6154722, "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/6154722?v=4", "gravatar_id": "", "url": "https://api.github.com/users/microsoft", "html_url": "https://github.com/microsoft", "followers_url": "https://api.github.com/users/microsoft/followers", "following_url": "https://api.github.com/users/microsoft/following{/other_user}", "gists_url": "https://api.github.com/users/microsoft/gists{/gist_id}", "starred_url": "https://api.github.com/users/microsoft/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/microsoft/subscriptions", "organizations_url": "https://api.github.com/users/microsoft/orgs", "repos_url": "https://api.github.com/users/microsoft/repos", "events_url": "https://api.github.com/users/microsoft/events{/privacy}", "received_events_url": "https://api.github.com/users/microsoft/received_events", "type": "Organization", "user_view_type": "public", "site_admin": false}, "repo": {"id": 201991558, "node_id": "MDEwOlJlcG9zaXRvcnkyMDE5OTE1NTg=", "name": "Olive", "full_name": "microsoft/Olive", "private": false, "owner": {"login": "microsoft", "id": 6154722, "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/6154722?v=4", "gravatar_id": "", "url": "https://api.github.com/users/microsoft", "html_url": "https://github.com/microsoft", "followers_url": "https://api.github.com/users/microsoft/followers", "following_url": "https://api.github.com/users/microsoft/following{/other_user}", "gists_url": "https://api.github.com/users/microsoft/gists{/gist_id}", "starred_url": "https://api.github.com/users/microsoft/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/microsoft/subscriptions", "organizations_url": "https://api.github.com/users/microsoft/orgs", "repos_url": "https://api.github.com/users/microsoft/repos", "events_url": "https://api.github.com/users/microsoft/events{/privacy}", "received_events_url": "https://api.github.com/users/microsoft/received_events", "type": "Organization", "user_view_type": "public", "site_admin": false}, "html_url": "https://github.com/microsoft/Olive", "description": "Olive: Simplify ML Model Finetuning, Conversion, Quantization, and Optimization for CPUs, GPUs and NPUs.", "fork": false, "url": "https://api.github.com/repos/microsoft/Olive", "forks_url": "https://api.github.com/repos/microsoft/Olive/forks", "keys_url": "https://api.github.com/repos/microsoft/Olive/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/microsoft/Olive/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/microsoft/Olive/teams", "hooks_url": "https://api.github.com/repos/microsoft/Olive/hooks", "issue_events_url": "https://api.github.com/repos/microsoft/Olive/issues/events{/number}", "events_url": "https://api.github.com/repos/microsoft/Olive/events", "assignees_url": "https://api.github.com/repos/microsoft/Olive/assignees{/user}", "branches_url": "https://api.github.com/repos/microsoft/Olive/branches{/branch}", "tags_url": "https://api.github.com/repos/microsoft/Olive/tags", "blobs_url": "https://api.github.com/repos/microsoft/Olive/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/microsoft/Olive/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/microsoft/Olive/git/refs{/sha}", "trees_url": "https://api.github.com/repos/microsoft/Olive/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/microsoft/Olive/statuses/{sha}", "languages_url": "https://api.github.com/repos/microsoft/Olive/languages", "stargazers_url": "https://api.github.com/repos/microsoft/Olive/stargazers", "contributors_url": "https://api.github.com/repos/microsoft/Olive/contributors", "subscribers_url": "https://api.github.com/repos/microsoft/Olive/subscribers", "subscription_url": "https://api.github.com/repos/microsoft/Olive/subscription", "commits_url": "https://api.github.com/repos/microsoft/Olive/commits{/sha}", "git_commits_url": "https://api.github.com/repos/microsoft/Olive/git/commits{/sha}", "comments_url": "https://api.github.com/repos/microsoft/Olive/comments{/number}", "issue_comment_url": "https://api.github.com/repos/microsoft/Olive/issues/comments{/number}", "contents_url": "https://api.github.com/repos/microsoft/Olive/contents/{+path}", "compare_url": "https://api.github.com/repos/microsoft/Olive/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/microsoft/Olive/merges", "archive_url": "https://api.github.com/repos/microsoft/Olive/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/microsoft/Olive/downloads", "issues_url": "https://api.github.com/repos/microsoft/Olive/issues{/number}", "pulls_url": "https://api.github.com/repos/microsoft/Olive/pulls{/number}", "milestones_url": "https://api.github.com/repos/microsoft/Olive/milestones{/number}", "notifications_url": "https://api.github.com/repos/microsoft/Olive/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/microsoft/Olive/labels{/name}", "releases_url": "https://api.github.com/repos/microsoft/Olive/releases{/id}", "deployments_url": "https://api.github.com/repos/microsoft/Olive/deployments", "created_at": "2019-08-12T19:00:23Z", "updated_at": "2026-05-25T09:26:24Z", "pushed_at": "2026-05-25T16:07:45Z", "git_url": "git://github.com/microsoft/Olive.git", "ssh_url": "git@github.com:microsoft/Olive.git", "clone_url": "https://github.com/microsoft/Olive.git", "svn_url": "https://github.com/microsoft/Olive", "homepage": "https://microsoft.github.io/Olive/", "size": 171806, "stargazers_count": 2319, "watchers_count": 2319, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, "has_discussions": true, "forks_count": 297, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 42, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "has_pull_requests": true, "pull_request_creation_policy": "all", "topics": [], "visibility": "public", "forks": 297, "open_issues": 42, "watchers": 2319, "default_branch": "main"}}, "_links": {"self": {"href": "https://api.github.com/repos/microsoft/Olive/pulls/1"}, "html": {"href": "https://github.com/microsoft/Olive/pull/1"}, "issue": {"href": "https://api.github.com/repos/microsoft/Olive/issues/1"}, "comments": {"href": "https://api.github.com/repos/microsoft/Olive/issues/1/comments"}, "review_comments": {"href": "https://api.github.com/repos/microsoft/Olive/pulls/1/comments"}, "review_comment": {"href": "https://api.github.com/repos/microsoft/Olive/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/microsoft/Olive/pulls/1/commits"}, "statuses": {"href": "https://api.github.com/repos/microsoft/Olive/statuses/d22691847477bce0f3f2af4f7bf181b1b79f70e0"}}, "author_association": "CONTRIBUTOR", "auto_merge": null, "assignee": null, "active_lock_reason": null, "merged": true, "mergeable": false, "rebaseable": false, "mergeable_state": "dirty", "merged_by": {"login": "liuziyue", "id": 9273813, "node_id": "MDQ6VXNlcjkyNzM4MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/9273813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liuziyue", "html_url": "https://github.com/liuziyue", "followers_url": "https://api.github.com/users/liuziyue/followers", "following_url": "https://api.github.com/users/liuziyue/following{/other_user}", "gists_url": "https://api.github.com/users/liuziyue/gists{/gist_id}", "starred_url": "https://api.github.com/users/liuziyue/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liuziyue/subscriptions", "organizations_url": "https://api.github.com/users/liuziyue/orgs", "repos_url": "https://api.github.com/users/liuziyue/repos", "events_url": "https://api.github.com/users/liuziyue/events{/privacy}", "received_events_url": "https://api.github.com/users/liuziyue/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "comments": 0, "review_comments": 0, "maintainer_can_modify": false, "commits": 1, "additions": 101, "deletions": 93, "changed_files": 2}}
{"time": "2019-08-14T00:28:48+00:00", "type": "timeline:merged", "payload": {"id": 2555084803, "node_id": "MDExOk1lcmdlZEV2ZW50MjU1NTA4NDgwMw==", "url": "https://api.github.com/repos/microsoft/Olive/issues/events/2555084803", "actor": {"login": "liuziyue", "id": 9273813, "node_id": "MDQ6VXNlcjkyNzM4MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/9273813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liuziyue", "html_url": "https://github.com/liuziyue", "followers_url": "https://api.github.com/users/liuziyue/followers", "following_url": "https://api.github.com/users/liuziyue/following{/other_user}", "gists_url": "https://api.github.com/users/liuziyue/gists{/gist_id}", "starred_url": "https://api.github.com/users/liuziyue/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liuziyue/subscriptions", "organizations_url": "https://api.github.com/users/liuziyue/orgs", "repos_url": "https://api.github.com/users/liuziyue/repos", "events_url": "https://api.github.com/users/liuziyue/events{/privacy}", "received_events_url": "https://api.github.com/users/liuziyue/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "event": "merged", "commit_id": "6a4061ca1c31dea43738b19d8b6f3fee990de5bf", "commit_url": "https://api.github.com/repos/microsoft/Olive/commits/6a4061ca1c31dea43738b19d8b6f3fee990de5bf", "created_at": "2019-08-14T00:28:48Z", "performed_via_github_app": null}}
{"time": "2019-08-14T00:28:48+00:00", "type": "timeline:closed", "payload": {"id": 2555084804, "node_id": "MDExOkNsb3NlZEV2ZW50MjU1NTA4NDgwNA==", "url": "https://api.github.com/repos/microsoft/Olive/issues/events/2555084804", "actor": {"login": "liuziyue", "id": 9273813, "node_id": "MDQ6VXNlcjkyNzM4MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/9273813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liuziyue", "html_url": "https://github.com/liuziyue", "followers_url": "https://api.github.com/users/liuziyue/followers", "following_url": "https://api.github.com/users/liuziyue/following{/other_user}", "gists_url": "https://api.github.com/users/liuziyue/gists{/gist_id}", "starred_url": "https://api.github.com/users/liuziyue/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liuziyue/subscriptions", "organizations_url": "https://api.github.com/users/liuziyue/orgs", "repos_url": "https://api.github.com/users/liuziyue/repos", "events_url": "https://api.github.com/users/liuziyue/events{/privacy}", "received_events_url": "https://api.github.com/users/liuziyue/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "event": "closed", "commit_id": null, "commit_url": null, "created_at": "2019-08-14T00:28:48Z", "state_reason": null, "performed_via_github_app": null}}
{"time": "2019-08-14T00:28:52+00:00", "type": "timeline:head_ref_deleted", "payload": {"id": 2555084887, "node_id": "MDE5OkhlYWRSZWZEZWxldGVkRXZlbnQyNTU1MDg0ODg3", "url": "https://api.github.com/repos/microsoft/Olive/issues/events/2555084887", "actor": {"login": "liuziyue", "id": 9273813, "node_id": "MDQ6VXNlcjkyNzM4MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/9273813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liuziyue", "html_url": "https://github.com/liuziyue", "followers_url": "https://api.github.com/users/liuziyue/followers", "following_url": "https://api.github.com/users/liuziyue/following{/other_user}", "gists_url": "https://api.github.com/users/liuziyue/gists{/gist_id}", "starred_url": "https://api.github.com/users/liuziyue/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liuziyue/subscriptions", "organizations_url": "https://api.github.com/users/liuziyue/orgs", "repos_url": "https://api.github.com/users/liuziyue/repos", "events_url": "https://api.github.com/users/liuziyue/events{/privacy}", "received_events_url": "https://api.github.com/users/liuziyue/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "event": "head_ref_deleted", "commit_id": null, "commit_url": null, "created_at": "2019-08-14T00:28:52Z", "performed_via_github_app": null}}
{"time": "2025-09-17T12:05:31+00:00", "type": "timeline:referenced", "payload": {"id": 19748832895, "node_id": "REFE_lADODAolhs4cor9GzwAAAASZH0Z_", "url": "https://api.github.com/repos/microsoft/Olive/issues/events/19748832895", "actor": {"login": "skywall", "id": 5667370, "node_id": "MDQ6VXNlcjU2NjczNzA=", "avatar_url": "https://avatars.githubusercontent.com/u/5667370?v=4", "gravatar_id": "", "url": "https://api.github.com/users/skywall", "html_url": "https://github.com/skywall", "followers_url": "https://api.github.com/users/skywall/followers", "following_url": "https://api.github.com/users/skywall/following{/other_user}", "gists_url": "https://api.github.com/users/skywall/gists{/gist_id}", "starred_url": "https://api.github.com/users/skywall/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/skywall/subscriptions", "organizations_url": "https://api.github.com/users/skywall/orgs", "repos_url": "https://api.github.com/users/skywall/repos", "events_url": "https://api.github.com/users/skywall/events{/privacy}", "received_events_url": "https://api.github.com/users/skywall/received_events", "type": "User", "user_view_type": "public", "site_admin": false}, "event": "referenced", "commit_id": "58561f74a632612991c46fe05aa33c0b6995e2ec", "commit_url": "https://api.github.com/repos/NXP/eiq-olive/commits/58561f74a632612991c46fe05aa33c0b6995e2ec", "created_at": "2025-09-17T12:05:31Z", "performed_via_github_app": null}}