Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mszhanyi committed Dec 21, 2023
1 parent 0c277f8 commit 2fbde0e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/nuget/validate_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,7 @@ def validate_nuget(args):
full_nuget_path = os.path.join(args.package_path, nuget_file_name)

is_gpu_package = bool("microsoft.ml.onnxruntime.gpu.1" in args.package_name.lower())
is_gpu_dependent_package = bool("microsoft.ml.onnxruntime.gpu.windows" in args.package_name.lower() or "microsoft.ml.onnnxruntime.gpu.linux" in args.package_name.lower())
print("is_gpu_package: " + str(is_gpu_package))
print("is_gpu_dependent_package: " + str(is_gpu_dependent_package))
is_gpu_dependent_package = bool("microsoft.ml.onnxruntime.gpu.windows" in args.package_name.lower() or "microsoft.ml.onnxruntime.gpu.linux" in args.package_name.lower())
if "directml" in nuget_file_name.lower():
is_dml_package = True
else:
Expand Down

0 comments on commit 2fbde0e

Please sign in to comment.