Project

General

Profile

Actions

Bug #720

closed

[infra] Fix issue voice clone error insufficient shared memory (shm)

Added by Phước Ngọc Trần 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
05/04/2024
Due date:
05/04/2024
% Done:

100%

Estimated time:
1:00 h
Spent time:

Description

Hiện trạng:
Khi worker xử lý vài chục file audio nhỏ 1MB. Xuất hiện lỗi shm
- ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
Nguyên nhân:
- Có thể nói mỗi worker sẽ được sinh ra để xử lý từng file audio 1MB, nhưng voice clone đang dùng container, việc sinh ra nhiều worker cần tăng share memory size
https://github.com/pytorch/pytorch/blob/main/README.md#docker-image
Cách khắc phục:
- Thêm trường hostIPC: true vào Helm chart của voice-clone

Actions

Also available in: Atom PDF