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 #1

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

  • Tracker changed from Feature to Bug
  • % Done changed from 0 to 100
Actions #2

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

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. Container bản chất là 1 môi trường mới nên default sẽ không có đủ permission để share memory size ở tầng machine. Nên cần 1 permission allow container voice-clone làm việc đó.
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 #3

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

PR:https://github.com/AINNATE-TTS/ttsopeai-chart/pull/20

Actions #4

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

  • Status changed from In Progress to Resolved - Dev

Done

Actions #5

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

  • Status changed from Resolved - Dev to Closed
Actions

Also available in: Atom PDF