Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
6b32b0c
feat(wasi_crypto): implement ECDSA public key verification (#4932)
parthdagia05 Jun 11, 2026
d0c2922
fix(plugin/zlib): rename shadowed z_stream locals in zlib plugin
hydai Jun 12, 2026
efb882d
fix(plugin/wasm_bpf): rename shadowed loop variables in wasm_bpf test
hydai Jun 12, 2026
ea67fef
fix(test/opencvmini): suppress shadow warnings on the opencvmini test…
hydai Jun 12, 2026
cceb933
chore(plugin/llmc): deprecate wasmedge-llmc plugin (#4964)
hydai Jun 16, 2026
4424d2f
fix(test/plugins/wasi_nn): remove concrete types to fix devirtualizat…
pranjalkole Jun 17, 2026
59da64f
fix(test/plugins/wasm_bpf): remove concrete types to fix devirtualiza…
hydai Jun 17, 2026
034adc0
fix(test/plugins/wasmedge_process): remove concrete types to fix devi…
hydai Jun 17, 2026
84da82d
fix(test/plugins/wasmedge_stablediffusion): remove concrete types to …
hydai Jun 17, 2026
df6a8d9
fix(test/plugins/wasi_logging): remove concrete types to fix devirtua…
hydai Jun 17, 2026
2142e62
fix(plugin/wasi-logging): validate full string extent in Log::body (#…
Yashika0724 Jun 17, 2026
59f6362
fix(test/plugins/wasmedge_ffmpeg): remove concrete types to fix devir…
hydai Jun 17, 2026
df3bfd9
test(plugins): use ASSERT for host-function guards before getHostFunc()
hydai Jun 17, 2026
f8e7223
docs(test/plugins/wasm_bpf): correct copied comment to wasm_bpf_map_o…
hydai Jun 17, 2026
cf526fa
test(plugins): assert host-call outputs to preserve devirtualized bin…
hydai Jun 18, 2026
2d3f51f
fix(test/plugins/wasmedge_ffmpeg): expect AV_NOPTS_VALUE for unprobed…
hydai Jun 18, 2026
38d7801
test(plugins/wasmedge_ffmpeg): assert exact getter values to keep bin…
hydai Jun 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion plugins/wasi_crypto/asymmetric_common/ecdsa.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,14 @@ class Ecdsa {
}

WasiCryptoExpect<void> verify() const noexcept {
return WasiCryptoUnexpect(__WASI_CRYPTO_ERRNO_NOT_IMPLEMENTED);
EvpPkeyCtxPtr CheckCtx{EVP_PKEY_CTX_new(Ctx.get(), nullptr)};
ensureOrReturn(CheckCtx, __WASI_CRYPTO_ERRNO_ALGORITHM_FAILURE);
// EVP_PKEY_public_check() returns 1 for a valid key and 0 for an invalid
// one. A negative value means the check is unsupported for this key type
// (e.g. on OpenSSL 1.1.1), so only an explicit 0 is treated as invalid.
ensureOrReturn(EVP_PKEY_public_check(CheckCtx.get()) != 0,
__WASI_CRYPTO_ERRNO_INVALID_KEY);
return {};
}

protected:
Expand Down
5 changes: 0 additions & 5 deletions plugins/wasi_nn/GGML/tts/tts_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ const std::map<int, std::string> Ones = {
const std::map<int, std::string> Tens = {
{2, "twenty"}, {3, "thirty"}, {4, "forty"}, {5, "fifty"},
{6, "sixty"}, {7, "seventy"}, {8, "eighty"}, {9, "ninety"}};

std::vector<float> embdToAudio(const float *Embd, const int NCodes,
const int NEmbd, const int NThread);
std::vector<uint8_t> audioDataToWav(const std::vector<float> &Data,
int SampleRate);
} // namespace

std::string processTTSPromptText(const std::string &Text);
Expand Down
64 changes: 1 addition & 63 deletions plugins/wasmedge_llmc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,66 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: 2019-2024 Second State INC

wasmedge_add_library(wasmedgePluginWasmEdgeLLMC
SHARED
llmc_func.cpp
llmc_module.cpp
llmc_env.cpp
)

option(WASMEDGE_PLUGIN_LLMC_CUDA "Training GPT2 with CUDA" OFF)

message(STATUS "Start fetching llm.c source")
include(FetchContent)

if (WASMEDGE_PLUGIN_LLMC_CUDA)
set(CUDALIB ON)
message(STATUS "Build wasmedge_llmc with CUDA backend")
else()
message(STATUS "Build wasmedge_llmc with CPU backend")
endif()

FetchContent_Declare(
llmc
GIT_REPOSITORY https://github.com/WasmEdge/llm.c
)
FetchContent_MakeAvailable(llmc)

if (WASMEDGE_PLUGIN_LLMC_CUDA)
target_link_libraries(wasmedgePluginWasmEdgeLLMC PRIVATE
train_gpt2_cuda
)
else()
target_link_libraries(wasmedgePluginWasmEdgeLLMC PRIVATE
train_gpt2_cpu
)
endif()

target_compile_options(wasmedgePluginWasmEdgeLLMC
PUBLIC
-DWASMEDGE_PLUGIN
)

target_include_directories(wasmedgePluginWasmEdgeLLMC
PUBLIC
$<TARGET_PROPERTY:wasmedgePlugin,INCLUDE_DIRECTORIES>
${CMAKE_CURRENT_SOURCE_DIR}
)

if(WASMEDGE_LINK_PLUGINS_STATIC)
target_link_libraries(wasmedgePluginWasmEdgeLLMC
PRIVATE
wasmedgeCAPI
)
else()
target_link_libraries(wasmedgePluginWasmEdgeLLMC
PRIVATE
wasmedge_shared
)
endif()

install(
TARGETS wasmedgePluginWasmEdgeLLMC
DESTINATION ${CMAKE_INSTALL_LIBDIR}/wasmedge
COMPONENT WasmEdge
)
message(FATAL_ERROR "WasmEdge LLMC plugin is removed due to the upstream end-of-life. Reference: https://github.com/WasmEdge/llm.c")
28 changes: 0 additions & 28 deletions plugins/wasmedge_llmc/llmc_base.h

This file was deleted.

85 changes: 0 additions & 85 deletions plugins/wasmedge_llmc/llmc_env.cpp

This file was deleted.

57 changes: 0 additions & 57 deletions plugins/wasmedge_llmc/llmc_env.h

This file was deleted.

127 changes: 0 additions & 127 deletions plugins/wasmedge_llmc/llmc_func.cpp

This file was deleted.

Loading