Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
skottmckay committed Feb 29, 2024
1 parent 8608f25 commit d272dcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion onnxruntime/core/providers/coreml/dump_mlprogram_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

if len(sys.argv) < 2:
print(f"Usage: {sys.argv[0]} <path to model.mlmodel in ML Package>")
print(f"If generated by onnxruntime this will be <ML Package root>/Data/com.microsoft.onnxruntime/model.mlmodel")
print("If generated by onnxruntime this will be <ML Package root>/Data/com.microsoft.onnxruntime/model.mlmodel")
sys.exit(-1)

model_path = sys.argv[1]
Expand Down
4 changes: 2 additions & 2 deletions onnxruntime/core/providers/coreml/model/host_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ std::string GetTemporaryFilePath();

#if !defined(NDEBUG) && defined(__APPLE__)
// Override location the model is written to so that a) it's easily found and b) it is not automatically deleted
// when the EP exits. Use to debug the model that is generated.
// See onnxruntime/core/providers/coreml/dump_mlprogram_model.py for a script to dump the ML Program.
// when the EP exits. Use to debug the model that is generated.
// See onnxruntime/core/providers/coreml/dump_mlprogram_model.py for a script to dump the ML Program.
constexpr const char* kOverrideModelOutputDirectoryEnvVar = "ORT_COREML_EP_MODEL_DIR";
#endif
} // namespace util
Expand Down

0 comments on commit d272dcb

Please sign in to comment.