ggml-org/whisper.spm

whisper.cpp package for the Swift Package Manager

191

stars

42

commits

C

primary language

May 27, 2024

updated

README

THIS REPO WILL SOON BE ARCHIVED AND NO LONGER MAINTAINED

Please use the Swift package directly from whisper.cpp


whisper.spm

whisper.cpp package for the Swift Package Manager

Using as a package in your project

In XCode: File -> Add Packages

Enter package URL: https://github.com/ggerganov/whisper.spm

⚠️ Important: Set Dependency Rule to 'branch' -> 'master' otherwise you get an Error with unsafe build flags

image

Build package from command line

git clone https://github.com/ggeragnov/whisper.spm
cd whisper.spm

# if building standalone
make build

# if building as a submodule for whisper.cpp
make build-submodule

# run tests
.build/debug/test-objc
.build/debug/test-swift

Contributors

ggerganov

40 commits

pannous

1 commits

venkr

1 commits

ggml-org/whisper.spm

whisper.cpp package for the Swift Package Manager

191

stars

42

commits

C

primary language

May 27, 2024

updated

README

THIS REPO WILL SOON BE ARCHIVED AND NO LONGER MAINTAINED

Please use the Swift package directly from whisper.cpp


whisper.spm

whisper.cpp package for the Swift Package Manager

Using as a package in your project

In XCode: File -> Add Packages

Enter package URL: https://github.com/ggerganov/whisper.spm

⚠️ Important: Set Dependency Rule to 'branch' -> 'master' otherwise you get an Error with unsafe build flags

image

Build package from command line

git clone https://github.com/ggeragnov/whisper.spm
cd whisper.spm

# if building standalone
make build

# if building as a submodule for whisper.cpp
make build-submodule

# run tests
.build/debug/test-objc
.build/debug/test-swift

Contributors

ggerganov

40 commits

pannous

1 commits

venkr

1 commits

Languages

C

65.8%

C++

15.5%

Metal

9.7%

Objective-C

8.6%