Georgi Gerganov
01d3bd7d5c
ci : use local ggml in Android build ( #2567 )
2024-11-16 20:45:41 +02:00
Georgi Gerganov
19dca2bb14
ci : fix openblas build ( #2511 )
...
* ci : fix openblas build
* cont : would this work?
* ci : I'm sorry, windows
* cont : disabled wrong build
* ci : fix openblas build with pkgconfiglite (#2517 )
- choco install pkgconfiglite (vcpkg-pkgconf doesn't contain pkg-config executable?)
- vcpkg install openblas (otherwise it is not detected now)
---------
Co-authored-by: Tamotsu Takahashi <ttakah+github@gmail.com>
2024-10-30 12:58:26 +02:00
Georgi Gerganov
69339af2d1
ci : disable failing CUDA and Java builds
2024-09-25 10:05:04 +03:00
Georgi Gerganov
2e9a5bd2c4
ci : try to fix FreeBSD ( #0 )
2024-08-08 22:48:46 +03:00
Georgi Gerganov
64a56ebf13
ci : disable java build
2024-07-08 14:26:59 +03:00
Georgi Gerganov
e30c679928
whisper : reorganize source code + improve CMake ( #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]
2024-06-26 19:34:09 +03:00
Georgi Gerganov
c55964c956
ci : fix CUDA builds ( #2232 )
2024-06-11 17:21:30 +03:00
Georgi Gerganov
87acd6d629
whisper : whisper_state/backend fixes ( #2217 )
...
* whisper : fixes
* ci : WHISPER_CUBLAS -> WHISPER_CUDA
2024-06-06 18:51:36 +03:00
Tamotsu Takahashi
4798be1f9a
ci: Update build.yml to suppress warnings about node.js versions ( #2166 )
...
* Update actions to suppress warnings about old node.js
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
* Update actions/upload-artifact, specify android cmdline-tools-version
* Use java 20
gradle 8.1 complains against 21
https://docs.gradle.org/current/userguide/compatibility.html
2024-05-19 11:49:26 +03:00
Przemysław Pawełczyk
ac283dbce7
ci : add building in MSYS2 environments (Windows) ( #1994 )
2024-03-30 09:20:20 +02:00
Georgi Gerganov
2948c740a2
sync : ggml ( #2001 )
...
* sync : update scripts
* sync : ggml
* talk-llama : sync llama.cpp
* make : WHISPER_CUBLAS -> WHISPER_CUDA
* ci : try to fix sycl build
* talk-llama : fix make build
2024-03-27 18:55:10 +02:00
Abhilash Majumder
a0ddd8392c
whisper : add SYCL support ( #1863 )
...
* add changes from llama upstream
* add sycl abstraction
* add sycl build
* update cmake
* add sycl build config
* fix bug
* fix bug
* refactor build
* fix bug
* update build
* call build
* use sycl header
* add examples
* add target
* fix typecast in quant.c
* readd fp16 and readme
* fix quant typecast
* add sample
* add readme
* remove cxx file check
2024-02-23 09:22:24 +02:00
Georgi Gerganov
31891db2e3
ci : fix whitespace
2024-02-22 20:20:34 +02:00
Neuman Vong
19f8048139
whisper.android : how to build with CLBlast ( #1809 )
...
* FetchContent
* OpenCL
* Documentation and make optional
* Specify GGML build options in build.gradle
* Use gradle properties
* @ggerganov
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
* @gpokat
---------
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-02-09 17:39:05 +02:00
Tamotsu Takahashi
d87de61ae6
ci : build with CLBlast + ggml-opencl use GGML_API ( #1576 )
...
* Build with CLBlast
* Declare GGML_API
After rebasing, examples/talk-llama failed:
"D:\a\whisper.cpp\whisper.cpp\build\ALL_BUILD.vcxproj" (build target) (1) ->
"D:\a\whisper.cpp\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj" (default target) (14) ->
(Link target) ->
llama.obj : error LNK2019: unresolved external symbol ggml_cl_free_data referenced in function "public: __cdecl llama_model::~llama_model(void)" (??1llama_model@@QEAA@XZ) [D:\a\whisper.cpp\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cl_transform_tensor referenced in function "public: void __cdecl llama_model_loader::load_all_data(struct ggml_context *,void (__cdecl*)(float,void *),void *,struct llama_mlock *)" (?load_all_data@llama_model_loader@@QEAAXPEAUggml_context@@P6AXMPEAX@Z1PEAUllama_mlock@@@Z) [D:\a\whisper.cpp\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
D:\a\whisper.cpp\whisper.cpp\build\bin\Release\talk-llama.exe : fatal error LNK1120: 2 unresolved externals [D:\a\whisper.cpp\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
2023-12-29 12:23:27 +02:00
bobqianic
db8ccdb850
CI : Add coverage for talk-llama when WHISPER_CUBLAS=1 ( #1672 )
2023-12-21 22:39:46 +00:00
bobqianic
bfacd9f8ce
CI : Add CUDA 11.8.0 support ( #1554 )
...
* try to fix cublas build in CI
* add multiple cuda-toolkit version
* Update build.yml
* Disable CUDA-toolkit 10.2.89
2023-11-27 12:03:16 +02:00
bobqianic
f52e74d4dc
CI : Rectify the Clang-Related workflow issues ( #1551 )
...
* fix bugs in workflow
* fix missing clang in workflow
* Update build.yml
2023-11-27 11:35:37 +02:00
Tamotsu Takahashi
7516d9c16d
ci : redistribute CUDA DLLs ( #1522 )
...
see https://docs.nvidia.com/cuda/eula/index.html#attachment-a
2023-11-19 12:43:22 +02:00
Tong Li
54a08bde29
examples : add whisper.android.java for compatibility with older Android versions using Java ( #1382 )
...
* save the recorded audio to a file
* Alignment -help
* Save the correct audio
* chage to a consistent coding style
* Correct typo
* Update examples/stream/stream.cpp
* Update examples/stream/stream.cpp
* Correct variable misuse
* Update examples/stream/stream.cpp
* Update examples/stream/stream.cpp
* Update examples/stream/stream.cpp
* Update examples/stream/stream.cpp
* add *.bin .cxx/ .gradle/ cmake-build-debug/ to gitignore
* add whisper.android.java
* Added support for older versions of Android of Java
* add examples for android java
* add README.md for android java
* add fullTranscribeWithTime
* 增加 toString()方法和测试
* change return type to void
* update to v1.4.1
* add WhisperService
* chage to whisper_full_get_segment_t1
* add method transcribeDataWithTime
* modified toString
```
return "[" + start + " --> " + end + "]:" + sentence;
```
* Optimize code logic
* update text view on handle
* set max lines
* change Chinese to English
* Update bindings/java/build.gradle
* Update .gitignore
* add android.java to github action
* chage android.java to android_java in build.yml
* remove gradle
* chage jdk to temurin in android_java of CI
* chage jdk to temurin 11 in android_java of CI
* add x to gradlew
* set api-level for android_java of CI
* Update examples/whisper.android.java/app/src/main/jni/whisper/CMakeLists.txt
* add ndk version in build.gradle
* remove local.properties
* add testFullTranscribeWithTime
---------
Co-authored-by: litongmacos <litongjava@qq.com>
Co-authored-by: bobqianic <129547291+bobqianic@users.noreply.github.com>
2023-11-12 18:31:58 +02:00
iamthad
435a6b74e3
ci : fix variable names in GitHub actions config ( #1440 )
...
* Remove _SUPPORT from variables
* Change blasdir to OPENBLAS_PATH
* Update OpenBLAS URLs
2023-11-07 10:53:24 +02:00
Nicholas Albion
6ddc727fac
java : fixed signing of java artifact using gradle ( #1267 )
...
* --stacktrace signMavenJavaPublication
* added temporary step "Debug gradle signing"
* cd bindings/java
* use GPG_PRIVATE_KEY and GPG_PASSPHRASE
* use secrets.GPG_PRIVATE_KEY and GPG_PASSPHRASE
2023-09-09 18:55:51 +03:00
Georgi Gerganov
acb5278cc8
ci : try to fix gradle action ( #1265 )
2023-09-08 20:50:15 +03:00
Georgi Gerganov
3e9edc6845
ci : upgrade gradle to 2.4.2 ( #1263 )
...
* ci : upgrade gradle to 2.4.2
* cmake : add comment (#1129 )
2023-09-08 17:58:14 +03:00
Nicholas Albion
01fcd42431
sign jar for Maven Central repo
2023-09-07 11:45:44 +10:00
Nicholas Albion
2f52783a08
OSSRH_USERNAME -> JIRA_USER
2023-08-31 14:54:02 +10:00
Nicholas Albion
7dec9d8cc4
build-root-directory: bindings/java
2023-08-31 12:04:16 +10:00
Georgi Gerganov
fb0a24fba2
ci : enable java package publishing ( #1228 )
2023-08-31 09:57:43 +10:00
Jhen-Jie Hong
a4bb2df36a
quantize : fix load vocab crash when len is 128 ( #1160 )
...
* quantize : fix load vocab crash when len is 128
* ci : add quantize job
2023-08-06 11:04:42 +03:00
alonfaraj
3998465721
ci : more platforms coverage ( #1101 )
...
* add multi platform
* add image name
* fix
* fix /bin/sh path
* add missing \
* add all platforms for check
* remove platforms
* remove s390x
* - add arm v6
- format run cmd
* remove arm v6
* - bump checkout to v3
- use setup emsdk action
- add arch to all ubuntu jobs
* mymindstorm/setup-emsdk to v12
* add missing QEMU step
* add fail-fast: false for debug
* add freebsd
* remark all jobs except freebsd for test
* add sudo
* enable all tests again
* format
* check __AVX__ support before include immintrin.h
* try auto detect flag by cmake
* fix check for immintrin.h
* fix include check for immintrin.h
* Remove all platforms for sanitizer build except amd64
We have no clue why they failed.
---------
Co-authored-by: Alon Faraj <alon.faraj@mapcore.com>
2023-07-16 23:00:34 +03:00
Nicholas Albion
d7c936b44a
Feature/java bindings2 ( #944 )
...
* Java needs to call `whisper_full_default_params_by_ref()`, returning struct by val does not seem to work.
* added convenience methods to WhisperFullParams
* Remove unused WhisperJavaParams
2023-05-29 09:38:58 +10:00
Jhen-Jie Hong
5300117471
whisper.objc : enable Core ML in example & fix segmentation fault ( #910 )
...
* coreml : update endcoder header import path
* coreml : force objc_arc in whisper-encoder.mm
* whisper.objc : create coreml/ group link
* whisper.objc : add coreml model link
* whisper.objc : update readme
* coreml : use -fobjc-arc for coreml/whisper-encoder.mm
* ci: create dummy .mlmodelc for pass ios build
* whisper.objc : update readme
---------
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2023-05-14 09:47:02 +03:00
RelatedTitle
d458fcbc15
ci : add cuBLAS build workflow and fix error causing lines in CMakeLists ( #867 )
...
* Add windows build with cuBLAS
* Remove error causing lines for cuBLAS on Windows
2023-05-03 23:47:37 +03:00
Jhen-Jie Hong
ea1f8a50d4
ggml, ci : fix build on whisper.android (ARM_NEON) + add CI ( #764 )
...
* ggml : fix undefined symbol by remove inline handle
* ggml : make own ggml_aligned_malloc function
* ci: add ios/android build
2023-04-15 14:21:58 +03:00
Georgi Gerganov
411ea9b833
ci : run workflows on pull requests + bindings depend on .h ( #446 )
2023-01-25 18:50:50 +02:00
Georgi Gerganov
b3c865083e
ci : add emscripten build
2023-01-05 22:10:20 +02:00
Georgi Gerganov
c6c3ad5a98
ci : add Windows build without OpenBLAS + change to Release ( #85 ) ( #282 )
2022-12-16 18:51:46 +02:00
Tamotsu Takahashi
3df6c14fca
Build with OpenBLAS and SDL2 on windows
2022-11-23 22:09:54 +02:00
Georgi Gerganov
5c2176e314
ci : add Windows build
2022-11-20 22:47:03 +02:00
Georgi Gerganov
2f069335ab
Adding sanitizer tests
2022-10-08 11:43:42 +03:00
Georgi Gerganov
68f5962be6
ci : add cmake builds
2022-10-08 09:02:41 +03:00
Georgi Gerganov
844d60b284
Add CI using Github Actions
2022-10-07 18:34:27 +03:00