Closed 4R7I5T closed 5 years ago
OOM stands for "Out of memory". What is the size of RAM on your GPU?
In order to decrease memory usage you may set lower params OUTPUT_SEQUENCE_LENGTH
and SAMPLES_NUM_FOR_RERANKING
in config file.
This device has 40GB of RAM and 24GB GDDR5
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@4R7I5T Did you try reducing the params values, as suggested above?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
make sure you also put content caching off in your OS and keep it well contained if on OS you might wanna take a look at using metal to handle gpu MTLStorageMode.managed The CPU and GPU may maintain separate copies of the resource, and any changes must be explicitly synchronized. SDKs
In macOS, this is the default storage mode for MTLTexture objects. In iOS and tvOS, the managed storage mode is not available. You explicitly decide when to synchronize changes between the CPU and GPU. If you use the CPU to change the contents of a resource, you must use one or more of the methods provided by the MTLBuffer or MTLTexture protocols to copy the changes to the GPU. If you use the GPU to change the contents of a resource, you must encode a blit pass to copy the changes to the CPU. See the MTLBlitCommandEncoder protocol.
case shared
The resource is stored in system memory and is accessible to both the CPU and the GPU.
case private
The resource can be accessed only by the GPU.
case memoryless
The resource’s contents can be accessed only by the GPU and only exist temporarily during a render pass."
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
CLIENT:
Output:
SERVER output: