opensearch-project/remote-vector-index-builder
[FEATURE] Profile Memory for Index Build Service
開放
#45 建立於 2025年3月31日
enhancementgood first issue
倉庫指標
- 星標
- (8 顆星)
- PR 合併指標
- (平均合併 5小時 18分鐘) (30 天內合併 7 個 PR)
描述
Is your feature request related to a problem?
The Index Build Service orchestrates the index build process in three steps
- Building a GPU Index
- Converting a CPU index to GPU Index
- Writing a CPU Index to disc. The artifacts from the previous phase are eagerly deleted during this process. We would like to profile the GPU and CPU memory consumption over the course of this process
What solution would you like?
Specifically GPU and CPU memory consumption before and after every phase of execution must be observed to verify the right amount of memory was assigned and successfully cleaned up after every phase or an error condition.
What alternatives have you considered?
For measuring RAM consumed by CPU, we used Memory Profiler For measuring NVIDIA GPU memory we used nvidia_smi from p3nvml
Do you have any additional context?
Faiss Index Build Process