# \[GN\] Whisper.cpp - OpenAI Whisper의 고성능 C/C++ 구현체

**URL:** <https://discuss.pytorch.kr/t/gn-whisper-cpp-openai-whisper-c-c/1157>\
**Category:** 읽을거리&정보공유\
**Tags:** whisper, github, geeknews\
**Created:** [3월 8, 2023, 12:12오전 UTC](https://discuss.pytorch.kr/t/gn-whisper-cpp-openai-whisper-c-c/1157 "2023-03-08T00:12:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![9bow](https://discuss.pytorch.kr/user_avatar/discuss.pytorch.kr/9bow/32/16301_2.png) [@9bow](https://discuss.pytorch.kr/u/9bow)\
**Post date:** [3월 8, 2023, 12:12오전 UTC](https://discuss.pytorch.kr/t/gn-whisper-cpp-openai-whisper-c-c/1157/1 "2023-03-08T00:12:30Z")

</div>

_[GeekNews](https://news.hada.io/)의 xguru님께 허락을 받고 GN에 올라온 글들 중에 AI 관련된 소식들을 공유하고 있습니다. ^^_

**[소개 글]**

- OpenAI Whisper ASR 모델을 일반 C/C++로 의존성 없이 구현
- 애플 실리콘 : Arm Neon 과 Accelerate 프레임워크로 최적화
- x86용 AVX, POWER용 VSX 명령셋 지원
- F16/F32 혼합 정밀도
- 적은 메모리 사용량
- 런타임시에 메모리 할당 없음
- CPU에서 실행
- 지원 플랫폼 : MacOS(인텔&ARM), iOS, Android, Linux/FreeBSD, WebAssembly, Windows(MSVC & MinGW), Raspberry Pi

**[원문]**

[https://github.com/ggerganov/whisper.cpp](https://github.com/ggerganov/whisper.cpp)

**[출처/GeekNews]**

> **[Whisper.cpp - OpenAI Whisper의 고성능 C/C++ 구현체 | GeekNews](https://news.hada.io/topic?id=8621)**
>
> OpenAI Whisper ASR 모델을 일반 C/C++로 의존성 없이 구현애플 실리콘 : Arm Neon 과 Accelerate 프레임워크로 최적화x86용 AVX, POWER용 VSX 명령셋 지원F16/F32 혼합 정밀도적은 메모리 사용량런타임시에 메모리 할당 없음CPU에서 실행지원 플랫폼 : MacOS(인텔&ARM), iOS, Android, Linux

---

<div class="post-metadata">

**Author:** ![9bow](https://discuss.pytorch.kr/user_avatar/discuss.pytorch.kr/9bow/32/16301_2.png) [@9bow](https://discuss.pytorch.kr/u/9bow)\
**Post date:** [3월 8, 2023, 12:25오전 UTC](https://discuss.pytorch.kr/t/gn-whisper-cpp-openai-whisper-c-c/1157/2 "2023-03-08T00:25:22Z")

</div>

Native App으로 만들 때 사용하기 좋을 것 같네요 ㅎㅎ

무엇보다 Whisper API가 실시간을 지원하지 않고 있어서 일정 주기로 요청하라고 가이드하고 있는데, 이러한 부분까지 구현해두었네요 😲

> It doesn't support real-time _per se_, but you could build something similar by e.g. incrementally transcribing the audio every second.

> **[Possible to use for real-time / streaming tasks? · openai/whisper ·...](https://github.com/openai/whisper/discussions/2)**
>
> Is it possible to use whisper for streaming tasks (with syntax)? For example, would it be possible for whisper to be bound to a websocket of streaming PCM data packets?

> **[whisper.cpp/examples/stream at master · ggerganov/whisper.cpp](https://github.com/ggerganov/whisper.cpp/tree/master/examples/stream)**
>
> Port of OpenAI's Whisper model in C/C++. Contribute to ggerganov/whisper.cpp development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![H-J\_S](https://discuss.pytorch.kr/user_avatar/discuss.pytorch.kr/h-j_s/32/901_2.png) [@H-J\_S](https://discuss.pytorch.kr/u/H-J_S)\
**Post date:** [3월 8, 2023, 9:07오전 UTC](https://discuss.pytorch.kr/t/gn-whisper-cpp-openai-whisper-c-c/1157/3 "2023-03-08T09:07:30Z")

</div>

라즈베리 파이라니,, 싼 가격에 실시간 번역기가 탄생했네요.
