Skip to content

Commit

Permalink
Merge branch 'mlperf-inference' into mixtral+gha+selfhosted
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh authored Oct 5, 2024
2 parents be4efd0 + c86c23d commit 4e95c29
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions script/get-generic-sys-util/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ def preprocess(i):
return {'return': 1, 'error': 'Please select a variation specifying the sys util name'}

package = state.get(util)
package_name = None
if package and pm:
package_name = package.get(pm)

if os_info['platform'] == 'windows' and not package:
if os_info['platform'] == 'windows' and not package_name:
print ('')
print ('WARNING: for now skipping get-generic-sys-util on Windows ...')
print ('')
Expand All @@ -49,7 +52,6 @@ def preprocess(i):
if not package:
return {'return': 1, 'error': 'No package name specified for {} and util name {}'.format(pm, util)}

package_name = package.get(pm)
if not package_name:
return {'return': 1, 'error': 'No package name specified for {} and util name {}'.format(pm, util)}

Expand Down

0 comments on commit 4e95c29

Please sign in to comment.