Skip to content

Commit fd94861

Browse files
ggerganoviThalay
authored andcommitted
whisper : reorganize source code + improve CMake (ggml-org#2256)
* scripts : update sync [no ci] * files : reorganize [no ci] * sync : llama.cpp * cmake : link math library * cmake : build normal ggml library * files : move headers to include * objc : fix path to ggml-metal.h * ci : fix WHISPER_CUDA -> GGML_CUDA * scripts : sync LICENSE [no ci]
1 parent 6501b2d commit fd94861

File tree

359 files changed

+176447
-19723
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

359 files changed

+176447
-19723
lines changed

.devops/cublas.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ COPY . .
2121
# Set nvcc architecture
2222
ENV CUDA_DOCKER_ARCH=${CUDA_DOCKER_ARCH}
2323
# Enable cuBLAS
24-
ENV WHISPER_CUBLAS=1
24+
ENV GGML_CUDA=1
2525

2626
RUN make
2727

.devops/main-cuda.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ARG CUDA_DOCKER_ARCH=all
1414
# Set nvcc architecture
1515
ENV CUDA_DOCKER_ARCH=${CUDA_DOCKER_ARCH}
1616
# Enable cuBLAS
17-
ENV WHISPER_CUBLAS=1
17+
ENV GGML_CUDA=1
1818

1919
RUN apt-get update && \
2020
apt-get install -y build-essential \

.gitignore

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,7 @@
1010
/CMakeSettings.json
1111

1212
build/
13-
build-blas/
14-
build-coreml/
15-
build-em/
16-
build-debug/
17-
build-release/
18-
build-rwdi/
19-
build-static/
20-
build-cublas/
21-
build-no-accel/
22-
build-sanitize-addr/
23-
build-sanitize-thread/
13+
build-*/
2414

2515
# SPM
2616
.build/

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "bindings/ios"]
2-
path = bindings/ios
3-
url = https://github.com/ggerganov/whisper.spm

0 commit comments

Comments
 (0)