Skip to content

Commit a209db9

Browse files
authored
Merge branch 'dev' into dev
2 parents 8df286b + 3d50dae commit a209db9

File tree

6 files changed

+10
-16
lines changed

6 files changed

+10
-16
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.12", "3.11", "3.8"]
18+
python-version: ["3.13", "3.11", "3.9"]
1919
on: [ubuntu-latest, macos-latest, windows-latest]
2020
backend: [ "onnxruntime", "tf" ]
2121
implementation: [ "python", "cpp" ]

.github/workflows/test-mlc-core-actions.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python-version: ["3.12", "3.8"]
20+
python-version: ["3.14", "3.8"]
2121
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
2222
exclude:
2323
- os: windows-latest
@@ -152,13 +152,7 @@ jobs:
152152
mlc add repo https://github.com/mlcommons/inference
153153
mlc add repo https://mygit.com/myrepo
154154
155-
' Disabled now as MLCFlow automatically deletes corrupted entries
156-
- name: Test 13 - rm repo where we have a corrupt entry
157-
run: |
158-
rm -r $HOME/MLC/repos/mlcommons@mlperf-automations
159-
mlc rm repo mlcommons@mlperf-automations
160-
mlc pull repo mlcommons@mlperf-automations --branch=dev
161-
'
155+
162156
- name: Test 14 - add script - Add a new MLC script
163157
run: |
164158
mlc add script my-script-1 --tags=my,new-tags-1
@@ -232,7 +226,7 @@ jobs:
232226
strategy:
233227
fail-fast: false
234228
matrix:
235-
python-version: ["3.12", "3.8"]
229+
python-version: ["3.14", "3.8"]
236230
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
237231
exclude:
238232
- os: windows-latest
@@ -286,7 +280,7 @@ jobs:
286280
strategy:
287281
fail-fast: false
288282
matrix:
289-
python-version: ["3.12", "3.8"]
283+
python-version: ["3.14", "3.8"]
290284
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
291285

292286
steps:
@@ -372,7 +366,7 @@ jobs:
372366
strategy:
373367
fail-fast: false
374368
matrix:
375-
python-version: ["3.13", "3.8"]
369+
python-version: ["3.14", "3.8"]
376370
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
377371
action: ["mlcr", "mlce", "mlct"]
378372

.github/workflows/test-mlc-docker-core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.13", "3.8"]
19+
python-version: ["3.14", "3.9"]
2020
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
2121
exclude:
2222
- os: windows-latest

.github/workflows/test-mlc-podman.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
python-version: ["3.12", "3.8"]
21+
python-version: ["3.14", "3.9"]
2222
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
2323
exclude:
2424
- os: windows-latest

mlc/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,6 @@ def _save_indices(self):
370370
try:
371371
with open(output_file, "w") as f:
372372
json.dump(index_data, f, indent=4, cls=CustomJSONEncoder)
373-
logger.debug(f"Shared index for {folder_type} saved to {output_file}.")
373+
#logger.debug(f"Shared index for {folder_type} saved to {output_file}.")
374374
except Exception as e:
375375
logger.error(f"Error saving shared index for {folder_type}: {e}")

mlc/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def build_run_args(args):
192192

193193
run_args = res['args_dict']
194194
if not mlc_run_cmd:
195-
mlc_run_cmd = shlex.join(sys.argv)
195+
mlc_run_cmd = shlex.join([os.path.basename(sys.argv[0]), *sys.argv[1:]])
196196
run_args['mlc_run_cmd'] = mlc_run_cmd
197197

198198
if args.command in ['pull', 'rm', 'add', 'find'] and args.target == "repo":

0 commit comments

Comments
 (0)