Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
wejoncy committed Dec 16, 2024
1 parent dee7ad1 commit a66a473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/execution-providers/CoreML-ExecutionProvider.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ For the given model, if caching is not enabled, CoreML EP will compile and save

The cached information for the model is stored under a model hash in the cache directory. There are three ways the hash may be calculated, in order of preference.

1. Read from the model metadata_props. This provides the user a way to directly control the hash, and is the recommended usage. The value must only contain alphanumeric characters.
1. Read from the model metadata_props. This provides the user a way to directly control the hash, and is the recommended usage. The cache key should satisfy that, (1) The value must only contain alphanumeric characters. (2) len(value) < 32. EP will re-hash the cache-key to satisfy these conditions.
2. Hash of the model url the inference session was created with.
3. Hash of the graph inputs and node outputs if the inference session was created with in memory bytes (i.e. there was no model path).

Expand Down

0 comments on commit a66a473

Please sign in to comment.