Skip to content

Commit 0a3eb76

Browse files
authored
Update action.py | Fix search by folder name (#156)
* Update action.py
1 parent e823c3e commit 0a3eb76

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/mlperf-inference-bert.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: MLPerf inference bert (deepsparse, tf, onnxruntime, pytorch)
22

33
on:
44
pull_request:
5-
branches: [ "main", "dev" ]
5+
branches: [ "main_off", "dev_off" ]
66
paths:
77
- '.github/workflows/test-mlperf-inference-bert-deepsparse-tf-onnxruntime-pytorch.yml'
88
- '**'

mlc/action.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,13 +707,13 @@ def search(self, i):
707707
for res in target_index:
708708
if os.path.basename(res["path"]) == folder_name:
709709
it = Item(res['path'], res['repo'])
710-
#result.append(it)
710+
result.append(it)
711711
else:
712712
tags = i.get("tags")
713713
if tags:
714714
tags_split = tags.split(",")
715715
else:
716-
return {"return":1, "error": f"Tags are not specifeid for completing the specific action"}
716+
return {"return":1, "error": f"Tags are not specified for completing the requested action"}
717717
if target == "script":
718718
non_variation_tags = [t for t in tags_split if not t.startswith("_")]
719719
tags_to_match = non_variation_tags

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "mlcflow"
7-
version = "1.0.13"
7+
version = "1.0.15"
88

99
description = "An automation interface for ML applications"
1010
authors = [

0 commit comments

Comments
 (0)