Replies: 2 comments 1 reply
-
The API CreateEnvWithCustomLogger allows you to register a custom logger. Can you elaborate your use case for using a custom allocator? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Does anyone know of an example for a custom allocator please ? I've tried registering one with CreateAndRegisterAllocatorV2 but my inference session does not use it. Looking at logs, the BCFArena object is created before the session logs that will use the environment allocator (and proceeds to ignore it). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there some C++ example to show how to register a custom memory allocators as well as loggers?
Beta Was this translation helpful? Give feedback.
All reactions