WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.
Breaking changes:
SOVERSION
to 0.1.0
.API_VERSION
to 3
.WasmEdge_ValType
structure for replacing enum WasmEdge_ValType
.
enum WasmEdge_ValType
and enum WasmEdge_RefType
into the enum WasmEdge_TypeCode
.enum WasmEdge_ValType
as parameters.
WasmEdge_FunctionTypeCreate()
WasmEdge_FunctionTypeGetParameters()
WasmEdge_FunctionTypeGetReturns()
WasmEdge_TableTypeCreate()
WasmEdge_TableTypeGetRefType()
WasmEdge_GlobalTypeCreate()
WasmEdge_GlobalTypeGetValType()
WasmEdge_ValueGenNullRef()
API.WasmEdge_GlobalInstanceSetValue()
WasmEdge_Bytes
structure.
uint8_t
buffers. The old FromBuffer
related APIs will be replaced by the corresponding APIs in the future versions.WasmEdge_CompilerCompileFromBytes()
API has the same function as WasmEdge_CompilerCompileFromBuffer()
and will replace it in the future.WasmEdge_LoaderParseFromBytes()
API has the same function as WasmEdge_LoaderParseFromBuffer()
and will replace it in the future.WasmEdge_VMRegisterModuleFromBytes()
API has the same function as WasmEdge_VMRegisterModuleFromBuffer()
and will replace it in the future.WasmEdge_VMRunWasmFromBytes()
API has the same function as WasmEdge_VMRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMAsyncRunWasmFromBytes()
API has the same function as WasmEdge_VMAsyncRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMLoadWasmFromBytes()
API has the same function as WasmEdge_VMLoadWasmFromBuffer()
and will replace it in the future.WasmEdge_TagTypeContext
struct.WasmEdge_TagInstanceContext
struct.WasmEdge_TagTypeGetFunctionType()
API for retrieving the function type from a tag type.WasmEdge_ImportTypeGetTagType()
API for retrieving the tag type from an import type.WasmEdge_ExportTypeGetTagType()
API for retrieving the tag type from an export type.WasmEdge_ModuleInstanceFindTag()
API for finding an exported tag instance from a module instance.WasmEdge_ModuleInstanceListTagLength()
and WasmEdge_ModuleInstanceListTag()
APIs for listing the exported tag instances of a module instance.OpCode
mechanism for speeding up and supporting WASM multi-bytes instruction OpCodes.Features:
spdlog
to v1.13.0
.simdjson
to v3.9.1
.WasmEdge_Proposal_FunctionReferences
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_GC
for the configuration in WasmEdge C API.--enable-gc
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_ExceptionHandling
for the configuration in WasmEdge C API.--enable-exception-handling
to enable the proposal in wasmedge
and wasmedgec
tools.try
, catch
, and catch_all
instructions, and will remove them in the future version.WasmEdge_Proposal_Component
for the configuration in WasmEdge C API.--enable-component
to enable the proposal in wasmedge
tool.WasmEdge_ValType
related APIs can help developers to generate or compare value types.
WasmEdge_ValTypeGenI32()
(replacing WasmEdge_ValType_I32
)WasmEdge_ValTypeGenI64()
(replacing WasmEdge_ValType_I64
)WasmEdge_ValTypeGenF32()
(replacing WasmEdge_ValType_F32
)WasmEdge_ValTypeGenF64()
(replacing WasmEdge_ValType_F64
)WasmEdge_ValTypeGenV128()
(replacing WasmEdge_ValType_V128
)WasmEdge_ValTypeGenFuncRef()
(replacing WasmEdge_ValType_FuncRef
)WasmEdge_ValTypeGenExternRef()
(replacing WasmEdge_ValType_ExternRef
)WasmEdge_ValTypeIsEqual()
WasmEdge_ValTypeIsI32()
WasmEdge_ValTypeIsI64()
WasmEdge_ValTypeIsF32()
WasmEdge_ValTypeIsF64()
WasmEdge_ValTypeIsV128()
WasmEdge_ValTypeIsFuncRef()
WasmEdge_ValTypeIsExternRef()
WasmEdge_ValTypeIsRef()
WasmEdge_ValTypeIsRefNull()
WasmEdge_Bytes
related APIs can help developers to control the buffers.
WasmEdge_BytesCreate()
WasmEdge_BytesWrap()
WasmEdge_BytesDelete()
WasmEdge_TableInstanceCreateWithInit()
to create a table instance with non-defaultable elements with assigning the initial value.WasmEdge_LoaderSerializeASTModule()
API to serialize a loaded WASM module into bytes.--version
option.ggml-blas
and rustls
plugin supporting (#3032) (#3108).threads
: the thread number for inference.temp
: set temperature for inference.repeat-penalty
: set repeat penalty for inference.top-p
: set top-p for inference.grammar
: set grammar syntax for inference.main-gpu
: set the main GPU for inference.tensor-split
: set the tensor split for inference.enable-debug-log
option to show more debug information.load_by_name_with_config()
to load model with metadata.compute_single
, get_output_single
, and fini_single
unload()
function to release the model.EndOfSequence
: returned when encounter <EOS>
token on single token inferece.ContextFull
: returned when the context is full.PromptTooLong
: returned when the input size is too large.ModelNotFound
: returned when the model is not found.mmproj
option to set the projection model.image
option to set the image.llama.cpp
in the metadata.wasmedge_ffmpeg
plug-in.Fixed issues:
memGrow
boundary check.fd_renumber
(#3040).path_unlink_file
for trailing slash path.path_readlink
for not following symbolic link issue.path_open
for checking O_TRUNC
rights.path_open
for removing path relative rights on file.path_symlink
for creating a symlink to an absolute path.fd_prestat_dir_name
buffer size.filestat_set_times
for invalid flags.socket_accept
(#3041).wasmedge_process
plug-in.Tests:
Known issues:
O1
or upper optimizations on MacOS platforms will cause a bus error during execution.--optimize=0
to set the compiler optimization level to O0
in wasmedgec
CLI.Thank all the contributors who made this release possible!
Abhinandan Udupa, Akihiro Suda, Charlie chan, Dhruv Jain, Draco, Harry Chiang, Hrushikesh, Ikko Eltociear Ashimine, Khagan (Khan) Karimov, LFsWang, LO, CHIN-HAO, Little Willy, Lîm Tsú-thuàn, Meenu Yadav, Omkar Acharekar, Saiyam Pathak, Sarrah Bastawala, Shen-Ta Hsieh, Shreyas Atre, Yage Hu, Yi Huang, Yi-Ying He, alabulei1, am009, dm4, hetvishastri, hugo-syn, hydai, redismongo, richzw, tannal, vincent, zhumeme
If you want to build from source, please use WasmEdge-0.14.0-rc.5-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Breaking changes:
SOVERSION
to 0.1.0
.API_VERSION
to 3
.WasmEdge_ValType
structure for replacing enum WasmEdge_ValType
.
enum WasmEdge_ValType
and enum WasmEdge_RefType
into the enum WasmEdge_TypeCode
.enum WasmEdge_ValType
as parameters.
WasmEdge_FunctionTypeCreate()
WasmEdge_FunctionTypeGetParameters()
WasmEdge_FunctionTypeGetReturns()
WasmEdge_TableTypeCreate()
WasmEdge_TableTypeGetRefType()
WasmEdge_GlobalTypeCreate()
WasmEdge_GlobalTypeGetValType()
WasmEdge_ValueGenNullRef()
API.WasmEdge_GlobalInstanceSetValue()
WasmEdge_Bytes
structure.
uint8_t
buffers. The old FromBuffer
related APIs will be replaced by the corresponding APIs in the future versions.WasmEdge_CompilerCompileFromBytes()
API has the same function as WasmEdge_CompilerCompileFromBuffer()
and will replace it in the future.WasmEdge_LoaderParseFromBytes()
API has the same function as WasmEdge_LoaderParseFromBuffer()
and will replace it in the future.WasmEdge_VMRegisterModuleFromBytes()
API has the same function as WasmEdge_VMRegisterModuleFromBuffer()
and will replace it in the future.WasmEdge_VMRunWasmFromBytes()
API has the same function as WasmEdge_VMRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMAsyncRunWasmFromBytes()
API has the same function as WasmEdge_VMAsyncRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMLoadWasmFromBytes()
API has the same function as WasmEdge_VMLoadWasmFromBuffer()
and will replace it in the future.WasmEdge_TagTypeContext
struct.WasmEdge_TagInstanceContext
struct.WasmEdge_TagTypeGetFunctionType()
API for retrieving the function type from a tag type.WasmEdge_ImportTypeGetTagType()
API for retrieving the tag type from an import type.WasmEdge_ExportTypeGetTagType()
API for retrieving the tag type from an export type.WasmEdge_ModuleInstanceFindTag()
API for finding an exported tag instance from a module instance.WasmEdge_ModuleInstanceListTagLength()
and WasmEdge_ModuleInstanceListTag()
APIs for listing the exported tag instances of a module instance.OpCode
mechanism for speeding up and supporting WASM multi-bytes instruction OpCodes.Features:
spdlog
to v1.13.0
.simdjson
to v3.9.1
.WasmEdge_Proposal_FunctionReferences
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_GC
for the configuration in WasmEdge C API.--enable-gc
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_ExceptionHandling
for the configuration in WasmEdge C API.--enable-exception-handling
to enable the proposal in wasmedge
and wasmedgec
tools.try
, catch
, and catch_all
instructions, and will remove them in the future version.WasmEdge_Proposal_Component
for the configuration in WasmEdge C API.--enable-component
to enable the proposal in wasmedge
tool.WasmEdge_ValType
related APIs can help developers to generate or compare value types.
WasmEdge_ValTypeGenI32()
(replacing WasmEdge_ValType_I32
)WasmEdge_ValTypeGenI64()
(replacing WasmEdge_ValType_I64
)WasmEdge_ValTypeGenF32()
(replacing WasmEdge_ValType_F32
)WasmEdge_ValTypeGenF64()
(replacing WasmEdge_ValType_F64
)WasmEdge_ValTypeGenV128()
(replacing WasmEdge_ValType_V128
)WasmEdge_ValTypeGenFuncRef()
(replacing WasmEdge_ValType_FuncRef
)WasmEdge_ValTypeGenExternRef()
(replacing WasmEdge_ValType_ExternRef
)WasmEdge_ValTypeIsEqual()
WasmEdge_ValTypeIsI32()
WasmEdge_ValTypeIsI64()
WasmEdge_ValTypeIsF32()
WasmEdge_ValTypeIsF64()
WasmEdge_ValTypeIsV128()
WasmEdge_ValTypeIsFuncRef()
WasmEdge_ValTypeIsExternRef()
WasmEdge_ValTypeIsRef()
WasmEdge_ValTypeIsRefNull()
WasmEdge_Bytes
related APIs can help developers to control the buffers.
WasmEdge_BytesCreate()
WasmEdge_BytesWrap()
WasmEdge_BytesDelete()
WasmEdge_TableInstanceCreateWithInit()
to create a table instance with non-defaultable elements with assigning the initial value.WasmEdge_LoaderSerializeASTModule()
API to serialize a loaded WASM module into bytes.--version
option.ggml-blas
and rustls
plugin supporting (#3032) (#3108).threads
: the thread number for inference.temp
: set temperature for inference.repeat-penalty
: set repeat penalty for inference.top-p
: set top-p for inference.grammar
: set grammar syntax for inference.main-gpu
: set the main GPU for inference.tensor-split
: set the tensor split for inference.enable-debug-log
option to show more debug information.load_by_name_with_config()
to load model with metadata.compute_single
, get_output_single
, and fini_single
unload()
function to release the model.EndOfSequence
: returned when encounter <EOS>
token on single token inferece.ContextFull
: returned when the context is full.PromptTooLong
: returned when the input size is too large.ModelNotFound
: returned when the model is not found.mmproj
option to set the projection model.image
option to set the image.llama.cpp
in the metadata.wasmedge_ffmpeg
plug-in.Fixed issues:
memGrow
boundary check.fd_renumber
(#3040).path_unlink_file
for trailing slash path.path_readlink
for not following symbolic link issue.path_open
for checking O_TRUNC
rights.path_open
for removing path relative rights on file.path_symlink
for creating a symlink to an absolute path.fd_prestat_dir_name
buffer size.filestat_set_times
for invalid flags.socket_accept
(#3041).wasmedge_process
plug-in.Tests:
Known issues:
O1
or upper optimizations on MacOS platforms will cause a bus error during execution.--optimize=0
to set the compiler optimization level to O0
in wasmedgec
CLI.Thank all the contributors who made this release possible!
Abhinandan Udupa, Akihiro Suda, Charlie chan, Dhruv Jain, Draco, Hrushikesh, Ikko Eltociear Ashimine, Khagan (Khan) Karimov, LO, CHIN-HAO, Little Willy, Lîm Tsú-thuàn, Meenu Yadav, Omkar Acharekar, Saiyam Pathak, Sarrah Bastawala, Shen-Ta Hsieh, Shreyas Atre, Yage Hu, Yi Huang, Yi-Ying He, alabulei1, am009, dm4, hetvishastri, hydai, redismongo, richzw, tannal, vincent, zhumeme
If you want to build from source, please use WasmEdge-0.14.0-alpha.4-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Breaking changes:
SOVERSION
to 0.1.0
.API_VERSION
to 3
.WasmEdge_ValType
structure for replacing enum WasmEdge_ValType
.
enum WasmEdge_ValType
and enum WasmEdge_RefType
into the enum WasmEdge_TypeCode
.enum WasmEdge_ValType
as parameters.
WasmEdge_FunctionTypeCreate()
WasmEdge_FunctionTypeGetParameters()
WasmEdge_FunctionTypeGetReturns()
WasmEdge_TableTypeCreate()
WasmEdge_TableTypeGetRefType()
WasmEdge_GlobalTypeCreate()
WasmEdge_GlobalTypeGetValType()
WasmEdge_ValueGenNullRef()
API.WasmEdge_GlobalInstanceSetValue()
WasmEdge_Bytes
structure.
uint8_t
buffers. The old FromBuffer
related APIs will be replaced by the corresponding APIs in the future versions.WasmEdge_CompilerCompileFromBytes()
API has the same function as WasmEdge_CompilerCompileFromBuffer()
and will replace it in the future.WasmEdge_LoaderParseFromBytes()
API has the same function as WasmEdge_LoaderParseFromBuffer()
and will replace it in the future.WasmEdge_VMRegisterModuleFromBytes()
API has the same function as WasmEdge_VMRegisterModuleFromBuffer()
and will replace it in the future.WasmEdge_VMRunWasmFromBytes()
API has the same function as WasmEdge_VMRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMAsyncRunWasmFromBytes()
API has the same function as WasmEdge_VMAsyncRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMLoadWasmFromBytes()
API has the same function as WasmEdge_VMLoadWasmFromBuffer()
and will replace it in the future.Features:
spdlog
to v1.13.0
.WasmEdge_Proposal_FunctionReferences
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_GC
for the configuration in WasmEdge C API.--enable-gc
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_Component
for the configuration in WasmEdge C API.--enable-component
to enable the proposal in wasmedge
tool.WasmEdge_ValType
related APIs can help developers to generate or compare value types.
WasmEdge_ValTypeGenI32()
(replacing WasmEdge_ValType_I32
)WasmEdge_ValTypeGenI64()
(replacing WasmEdge_ValType_I64
)WasmEdge_ValTypeGenF32()
(replacing WasmEdge_ValType_F32
)WasmEdge_ValTypeGenF64()
(replacing WasmEdge_ValType_F64
)WasmEdge_ValTypeGenV128()
(replacing WasmEdge_ValType_V128
)WasmEdge_ValTypeGenFuncRef()
(replacing WasmEdge_ValType_FuncRef
)WasmEdge_ValTypeGenExternRef()
(replacing WasmEdge_ValType_ExternRef
)WasmEdge_ValTypeIsEqual()
WasmEdge_ValTypeIsI32()
WasmEdge_ValTypeIsI64()
WasmEdge_ValTypeIsF32()
WasmEdge_ValTypeIsF64()
WasmEdge_ValTypeIsV128()
WasmEdge_ValTypeIsFuncRef()
WasmEdge_ValTypeIsExternRef()
WasmEdge_ValTypeIsRef()
WasmEdge_ValTypeIsRefNull()
WasmEdge_Bytes
related APIs can help developers to control the buffers.
WasmEdge_BytesCreate()
WasmEdge_BytesWrap()
WasmEdge_BytesDelete()
WasmEdge_TableInstanceCreateWithInit()
to create a table instance with non-defaultable elements with assigning the initial value.WasmEdge_LoaderSerializeASTModule()
API to serialize a loaded WASM module into bytes.--version
option.ggml-blas
and rustls
plugin supporting (#3032) (#3108).threads
: the thread number for inference.temp
: set temperature for inference.repeat-penalty
: set repeat penalty for inference.enable-debug-log
option to show more debug information.load_by_name_with_config()
to load model with metadata.compute_single
, get_output_single
, and fini_single
EndOfSequence
: returned when encounter <EOS>
token on single token inferece.ContextFull
: returned when the context is full.PromptTooLong
: returned when the input size is too large.mmproj
option to set the projection model.image
option to set the image.wasmedge_ffmpeg
plug-in.Fixed issues:
memGrow
boundary check.fd_renumber
(#3040).path_unlink_file
for trailing slash path.path_readlink
for not following symbolic link issue.path_open
for checking O_TRUNC
rights.path_open
for removing path relative rights on file.path_symlink
for creating a symlink to an absolute path.fd_prestat_dir_name
buffer size.filestat_set_times
for invalid flags.socket_accept
(#3041).wasmedge_process
plug-in.Tests:
Known issues:
O1
or upper optimizations on MacOS platforms will cause a bus error during execution.--optimize=0
to set the compiler optimization level to O0
in wasmedgec
CLI.Thank all the contributors who made this release possible!
Abhinandan Udupa, Akihiro Suda, Charlie chan, Dhruv Jain, Draco, Hrushikesh, Ikko Eltociear Ashimine, Khagan (Khan) Karimov, LO, CHIN-HAO, Little Willy, Lîm Tsú-thuàn, Meenu Yadav, Omkar Acharekar, Saiyam Pathak, Sarrah Bastawala, Shen-Ta Hsieh, Shreyas Atre, Yage Hu, Yi Huang, Yi-Ying He, alabulei1, am009, dm4, hetvishastri, hydai, richzw, tannal, vincent, zhumeme
If you want to build from source, please use WasmEdge-0.14.0-rc.4-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Breaking changes:
SOVERSION
to 0.1.0
.API_VERSION
to 3
.WasmEdge_ValType
structure for replacing enum WasmEdge_ValType
.
enum WasmEdge_ValType
and enum WasmEdge_RefType
into the enum WasmEdge_TypeCode
.enum WasmEdge_ValType
as parameters.
WasmEdge_FunctionTypeCreate()
WasmEdge_FunctionTypeGetParameters()
WasmEdge_FunctionTypeGetReturns()
WasmEdge_TableTypeCreate()
WasmEdge_TableTypeGetRefType()
WasmEdge_GlobalTypeCreate()
WasmEdge_GlobalTypeGetValType()
WasmEdge_ValueGenNullRef()
API.WasmEdge_GlobalInstanceSetValue()
WasmEdge_Bytes
structure.
uint8_t
buffers. The old FromBuffer
related APIs will be replaced by the corresponding APIs in the future versions.WasmEdge_CompilerCompileFromBytes()
API has the same function as WasmEdge_CompilerCompileFromBuffer()
and will replace it in the future.WasmEdge_LoaderParseFromBytes()
API has the same function as WasmEdge_LoaderParseFromBuffer()
and will replace it in the future.WasmEdge_VMRegisterModuleFromBytes()
API has the same function as WasmEdge_VMRegisterModuleFromBuffer()
and will replace it in the future.WasmEdge_VMRunWasmFromBytes()
API has the same function as WasmEdge_VMRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMAsyncRunWasmFromBytes()
API has the same function as WasmEdge_VMAsyncRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMLoadWasmFromBytes()
API has the same function as WasmEdge_VMLoadWasmFromBuffer()
and will replace it in the future.Features:
spdlog
to v1.13.0
.WasmEdge_Proposal_FunctionReferences
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_GC
for the configuration in WasmEdge C API.--enable-gc
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_Component
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
tool.WasmEdge_ValType
related APIs can help developers to generate or compare value types.
WasmEdge_ValTypeGenI32()
(replacing WasmEdge_ValType_I32
)WasmEdge_ValTypeGenI64()
(replacing WasmEdge_ValType_I64
)WasmEdge_ValTypeGenF32()
(replacing WasmEdge_ValType_F32
)WasmEdge_ValTypeGenF64()
(replacing WasmEdge_ValType_F64
)WasmEdge_ValTypeGenV128()
(replacing WasmEdge_ValType_V128
)WasmEdge_ValTypeGenFuncRef()
(replacing WasmEdge_ValType_FuncRef
)WasmEdge_ValTypeGenExternRef()
(replacing WasmEdge_ValType_ExternRef
)WasmEdge_ValTypeIsEqual()
WasmEdge_ValTypeIsI32()
WasmEdge_ValTypeIsI64()
WasmEdge_ValTypeIsF32()
WasmEdge_ValTypeIsF64()
WasmEdge_ValTypeIsV128()
WasmEdge_ValTypeIsFuncRef()
WasmEdge_ValTypeIsExternRef()
WasmEdge_ValTypeIsRef()
WasmEdge_ValTypeIsRefNull()
WasmEdge_Bytes
related APIs can help developers to control the buffers.
WasmEdge_BytesCreate()
WasmEdge_BytesWrap()
WasmEdge_BytesDelete()
WasmEdge_TableInstanceCreateWithInit()
to create a table instance with non-defaultable elements with assigning the initial value.WasmEdge_LoaderSerializeASTModule()
API to serialize a loaded WASM module into bytes.--version
option.ggml-blas
and rustls
plugin supporting (#3032) (#3108).threads
: the thread number for inference.temp
: set temperature for inference.repeat-penalty
: set repeat penalty for inference.enable-debug-log
option to show more debug information.load_by_name_with_config()
to load model with metadata.compute_single
, get_output_single
, and fini_single
EndOfSequence
: returned when encounter <EOS>
token on single token inferece.ContextFull
: returned when the context is full.PromptTooLong
: returned when the input size is too large.mmproj
option to set the projection model.image
option to set the image.wasmedge_ffmpeg
plug-in.Fixed issues:
memGrow
boundary check.fd_renumber
(#3040).path_unlink_file
for trailing slash path.path_readlink
for not following symbolic link issue.path_open
for checking O_TRUNC
rights.path_open
for removing path relative rights on file.path_symlink
for creating a symlink to an absolute path.fd_prestat_dir_name
buffer size.filestat_set_times
for invalid flags.socket_accept
(#3041).wasmedge_process
plug-in.Tests:
Known issues:
O1
or upper optimizations on MacOS platforms will cause a bus error during execution.--optimize=0
to set the compiler optimization level to O0
in wasmedgec
CLI.Thank all the contributors who made this release possible!
Abhinandan Udupa, Akihiro Suda, Charlie chan, Dhruv Jain, Draco, Hrushikesh, Ikko Eltociear Ashimine, Khagan (Khan) Karimov, LO, CHIN-HAO, Little Willy, Lîm Tsú-thuàn, Meenu Yadav, Omkar Acharekar, Saiyam Pathak, Sarrah Bastawala, Shen-Ta Hsieh, Shreyas Atre, Yage Hu, Yi Huang, Yi-Ying He, alabulei1, am009, dm4, hetvishastri, hydai, richzw, tannal, vincent, zhumeme
If you want to build from source, please use WasmEdge-0.14.0-rc.3-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Breaking changes:
SOVERSION
to 0.1.0
.API_VERSION
to 3
.WasmEdge_ValType
structure for replacing enum WasmEdge_ValType
.
enum WasmEdge_ValType
and enum WasmEdge_RefType
into the enum WasmEdge_TypeCode
.enum WasmEdge_ValType
as parameters.
WasmEdge_FunctionTypeCreate()
WasmEdge_FunctionTypeGetParameters()
WasmEdge_FunctionTypeGetReturns()
WasmEdge_TableTypeCreate()
WasmEdge_TableTypeGetRefType()
WasmEdge_GlobalTypeCreate()
WasmEdge_GlobalTypeGetValType()
WasmEdge_ValueGenNullRef()
API.WasmEdge_GlobalInstanceSetValue()
WasmEdge_Bytes
structure.
uint8_t
buffers. The old FromBuffer
related APIs will be replaced by the corresponding APIs in the future versions.WasmEdge_CompilerCompileFromBytes()
API has the same function as WasmEdge_CompilerCompileFromBuffer()
and will replace it in the future.WasmEdge_LoaderParseFromBytes()
API has the same function as WasmEdge_LoaderParseFromBuffer()
and will replace it in the future.WasmEdge_VMRegisterModuleFromBytes()
API has the same function as WasmEdge_VMRegisterModuleFromBuffer()
and will replace it in the future.WasmEdge_VMRunWasmFromBytes()
API has the same function as WasmEdge_VMRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMAsyncRunWasmFromBytes()
API has the same function as WasmEdge_VMAsyncRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMLoadWasmFromBytes()
API has the same function as WasmEdge_VMLoadWasmFromBuffer()
and will replace it in the future.Features:
spdlog
to v1.13.0
.WasmEdge_Proposal_FunctionReferences
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_GC
for the configuration in WasmEdge C API.--enable-gc
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_Component
for the configuration in WasmEdge C API.--enable-component
to enable the proposal in wasmedge
tool.WasmEdge_ValType
related APIs can help developers to generate or compare value types.
WasmEdge_ValTypeGenI32()
(replacing WasmEdge_ValType_I32
)WasmEdge_ValTypeGenI64()
(replacing WasmEdge_ValType_I64
)WasmEdge_ValTypeGenF32()
(replacing WasmEdge_ValType_F32
)WasmEdge_ValTypeGenF64()
(replacing WasmEdge_ValType_F64
)WasmEdge_ValTypeGenV128()
(replacing WasmEdge_ValType_V128
)WasmEdge_ValTypeGenFuncRef()
(replacing WasmEdge_ValType_FuncRef
)WasmEdge_ValTypeGenExternRef()
(replacing WasmEdge_ValType_ExternRef
)WasmEdge_ValTypeIsEqual()
WasmEdge_ValTypeIsI32()
WasmEdge_ValTypeIsI64()
WasmEdge_ValTypeIsF32()
WasmEdge_ValTypeIsF64()
WasmEdge_ValTypeIsV128()
WasmEdge_ValTypeIsFuncRef()
WasmEdge_ValTypeIsExternRef()
WasmEdge_ValTypeIsRef()
WasmEdge_ValTypeIsRefNull()
WasmEdge_Bytes
related APIs can help developers to control the buffers.
WasmEdge_BytesCreate()
WasmEdge_BytesWrap()
WasmEdge_BytesDelete()
WasmEdge_TableInstanceCreateWithInit()
to create a table instance with non-defaultable elements with assigning the initial value.WasmEdge_LoaderSerializeASTModule()
API to serialize a loaded WASM module into bytes.--version
option.ggml-blas
and rustls
plugin supporting (#3032) (#3108).threads
: the thread number for inference.temp
: set temperature for inference.repeat-penalty
: set repeat penalty for inference.enable-debug-log
option to show more debug information.load_by_name_with_config()
to load model with metadata.compute_single
, get_output_single
, and fini_single
EndOfSequence
: returned when encounter <EOS>
token on single token inferece.ContextFull
: returned when the context is full.PromptTooLong
: returned when the input size is too large.mmproj
option to set the projection model.image
option to set the image.wasmedge_ffmpeg
plug-in.Fixed issues:
memGrow
boundary check.fd_renumber
(#3040).path_unlink_file
for trailing slash path.path_readlink
for not following symbolic link issue.path_open
for checking O_TRUNC
rights.path_open
for removing path relative rights on file.path_symlink
for creating a symlink to an absolute path.fd_prestat_dir_name
buffer size.filestat_set_times
for invalid flags.socket_accept
(#3041).wasmedge_process
plug-in.Tests:
Known issues:
O1
or upper optimizations on MacOS platforms will cause a bus error during execution.--optimize=0
to set the compiler optimization level to O0
in wasmedgec
CLI.Thank all the contributors who made this release possible!
Abhinandan Udupa, Akihiro Suda, Charlie chan, Dhruv Jain, Draco, Hrushikesh, Ikko Eltociear Ashimine, Khagan (Khan) Karimov, LO, CHIN-HAO, Little Willy, Lîm Tsú-thuàn, Meenu Yadav, Omkar Acharekar, Saiyam Pathak, Sarrah Bastawala, Shen-Ta Hsieh, Shreyas Atre, Yage Hu, Yi Huang, Yi-Ying He, alabulei1, am009, dm4, hetvishastri, hydai, richzw, tannal, vincent, zhumeme
If you want to build from source, please use WasmEdge-0.14.0-rc.2-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Breaking changes:
SOVERSION
to 0.1.0
.API_VERSION
to 3
.WasmEdge_ValType
structure for replacing enum WasmEdge_ValType
.
enum WasmEdge_ValType
and enum WasmEdge_RefType
into the enum WasmEdge_TypeCode
.enum WasmEdge_ValType
as parameters.
WasmEdge_FunctionTypeCreate()
WasmEdge_FunctionTypeGetParameters()
WasmEdge_FunctionTypeGetReturns()
WasmEdge_TableTypeCreate()
WasmEdge_TableTypeGetRefType()
WasmEdge_GlobalTypeCreate()
WasmEdge_GlobalTypeGetValType()
WasmEdge_ValueGenNullRef()
API.WasmEdge_GlobalInstanceSetValue()
WasmEdge_Bytes
structure.
uint8_t
buffers. The old FromBuffer
related APIs will be replaced by the corresponding APIs in the future versions.WasmEdge_CompilerCompileFromBytes()
API has the same function as WasmEdge_CompilerCompileFromBuffer()
and will replace it in the future.WasmEdge_LoaderParseFromBytes()
API has the same function as WasmEdge_LoaderParseFromBuffer()
and will replace it in the future.WasmEdge_VMRegisterModuleFromBytes()
API has the same function as WasmEdge_VMRegisterModuleFromBuffer()
and will replace it in the future.WasmEdge_VMRunWasmFromBytes()
API has the same function as WasmEdge_VMRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMAsyncRunWasmFromBytes()
API has the same function as WasmEdge_VMAsyncRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMLoadWasmFromBytes()
API has the same function as WasmEdge_VMLoadWasmFromBuffer()
and will replace it in the future.Features:
spdlog
to v1.13.0
.WasmEdge_Proposal_FunctionReferences
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_GC
for the configuration in WasmEdge C API.--enable-gc
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_Component
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
tool.WasmEdge_ValType
related APIs can help developers to generate or compare value types.
WasmEdge_ValTypeGenI32()
(replacing WasmEdge_ValType_I32
)WasmEdge_ValTypeGenI64()
(replacing WasmEdge_ValType_I64
)WasmEdge_ValTypeGenF32()
(replacing WasmEdge_ValType_F32
)WasmEdge_ValTypeGenF64()
(replacing WasmEdge_ValType_F64
)WasmEdge_ValTypeGenV128()
(replacing WasmEdge_ValType_V128
)WasmEdge_ValTypeGenFuncRef()
(replacing WasmEdge_ValType_FuncRef
)WasmEdge_ValTypeGenExternRef()
(replacing WasmEdge_ValType_ExternRef
)WasmEdge_ValTypeIsEqual()
WasmEdge_ValTypeIsI32()
WasmEdge_ValTypeIsI64()
WasmEdge_ValTypeIsF32()
WasmEdge_ValTypeIsF64()
WasmEdge_ValTypeIsV128()
WasmEdge_ValTypeIsFuncRef()
WasmEdge_ValTypeIsExternRef()
WasmEdge_ValTypeIsRef()
WasmEdge_ValTypeIsRefNull()
WasmEdge_Bytes
related APIs can help developers to control the buffers.
WasmEdge_BytesCreate()
WasmEdge_BytesWrap()
WasmEdge_BytesDelete()
WasmEdge_TableInstanceCreateWithInit()
to create a table instance with non-defaultable elements with assigning the initial value.WasmEdge_LoaderSerializeASTModule()
API to serialize a loaded WASM module into bytes.--version
option.ggml-blas
and rustls
plugin supporting (#3032) (#3108).threads
: the thread number for inference.temp
: set temperature for inference.repeat-penalty
: set repeat penalty for inference.enable-debug-log
option to show more debug information.load_by_name_with_config()
to load model with metadata.compute_single
, get_output_single
, and fini_single
EndOfSequence
: returned when encounter <EOS>
token on single token inferece.ContextFull
: returned when the context is full.PromptTooLong
: returned when the input size is too large.mmproj
option to set the projection model.image
option to set the image.wasmedge_ffmpeg
plug-in.Fixed issues:
memGrow
boundary check.fd_renumber
(#3040).path_unlink_file
for trailing slash path.path_readlink
for not following symbolic link issue.path_open
for checking O_TRUNC
rights.path_open
for removing path relative rights on file.path_symlink
for creating a symlink to an absolute path.fd_prestat_dir_name
buffer size.filestat_set_times
for invalid flags.socket_accept
(#3041).wasmedge_process
plug-in.Tests:
Known issues:
O1
or upper optimizations on MacOS platforms will cause a bus error during execution.--optimize=0
to set the compiler optimization level to O0
in wasmedgec
CLI.Thank all the contributors who made this release possible!
Abhinandan Udupa, Akihiro Suda, Charlie chan, Dhruv Jain, Draco, Hrushikesh, Ikko Eltociear Ashimine, Khagan (Khan) Karimov, LO, CHIN-HAO, Little Willy, Lîm Tsú-thuàn, Meenu Yadav, Omkar Acharekar, Saiyam Pathak, Sarrah Bastawala, Shen-Ta Hsieh, Shreyas Atre, Yage Hu, Yi Huang, Yi-Ying He, alabulei1, am009, dm4, hetvishastri, hydai, richzw, tannal, vincent, zhumeme
If you want to build from source, please use WasmEdge-0.14.0-rc.1-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Breaking changes:
SOVERSION
to 0.1.0
.API_VERSION
to 3
.WasmEdge_ValType
structure for replacing enum WasmEdge_ValType
.
enum WasmEdge_ValType
and enum WasmEdge_RefType
into the enum WasmEdge_TypeCode
.enum WasmEdge_ValType
as parameters.
WasmEdge_FunctionTypeCreate()
WasmEdge_FunctionTypeGetParameters()
WasmEdge_FunctionTypeGetReturns()
WasmEdge_TableTypeCreate()
WasmEdge_TableTypeGetRefType()
WasmEdge_GlobalTypeCreate()
WasmEdge_GlobalTypeGetValType()
WasmEdge_ValueGenNullRef()
API.WasmEdge_GlobalInstanceSetValue()
WasmEdge_Bytes
structure.
uint8_t
buffers. The old FromBuffer
related APIs will be replaced by the corresponding APIs in the future versions.WasmEdge_CompilerCompileFromBytes()
API has the same function as WasmEdge_CompilerCompileFromBuffer()
and will replace it in the future.WasmEdge_LoaderParseFromBytes()
API has the same function as WasmEdge_LoaderParseFromBuffer()
and will replace it in the future.WasmEdge_VMRegisterModuleFromBytes()
API has the same function as WasmEdge_VMRegisterModuleFromBuffer()
and will replace it in the future.WasmEdge_VMRunWasmFromBytes()
API has the same function as WasmEdge_VMRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMAsyncRunWasmFromBytes()
API has the same function as WasmEdge_VMAsyncRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMLoadWasmFromBytes()
API has the same function as WasmEdge_VMLoadWasmFromBuffer()
and will replace it in the future.Features:
WasmEdge_Proposal_FunctionReferences
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_GC
for the configuration in WasmEdge C API.--enable-gc
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_Component
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
tool.WasmEdge_ValType
related APIs can help developers to generate or compare value types.
WasmEdge_ValTypeGenI32()
(replacing WasmEdge_ValType_I32
)WasmEdge_ValTypeGenI64()
(replacing WasmEdge_ValType_I64
)WasmEdge_ValTypeGenF32()
(replacing WasmEdge_ValType_F32
)WasmEdge_ValTypeGenF64()
(replacing WasmEdge_ValType_F64
)WasmEdge_ValTypeGenV128()
(replacing WasmEdge_ValType_V128
)WasmEdge_ValTypeGenFuncRef()
(replacing WasmEdge_ValType_FuncRef
)WasmEdge_ValTypeGenExternRef()
(replacing WasmEdge_ValType_ExternRef
)WasmEdge_ValTypeIsEqual()
WasmEdge_ValTypeIsI32()
WasmEdge_ValTypeIsI64()
WasmEdge_ValTypeIsF32()
WasmEdge_ValTypeIsF64()
WasmEdge_ValTypeIsV128()
WasmEdge_ValTypeIsFuncRef()
WasmEdge_ValTypeIsExternRef()
WasmEdge_ValTypeIsRef()
WasmEdge_ValTypeIsRefNull()
WasmEdge_Bytes
related APIs can help developers to control the buffers.
WasmEdge_BytesCreate()
WasmEdge_BytesWrap()
WasmEdge_BytesDelete()
WasmEdge_TableInstanceCreateWithInit()
to create a table instance with non-defaultable elements with assigning the initial value.WasmEdge_LoaderSerializeASTModule()
API to serialize a loaded WASM module into bytes.--version
option.ggml-blas
and rustls
plugin supporting (#3032) (#3108).threads
: the thread number for inference.temp
: set temperature for inference.repeat-penalty
: set repeat penalty for inference.enable-debug-log
option to show more debug information.load_by_name_with_config()
to load model with metadata.compute_single
, get_output_single
, and fini_single
EndOfSequence
: returned when encounter <EOS>
token on single token inferece.ContextFull
: returned when the context is full.PromptTooLong
: returned when the input size is too large.mmproj
option to set the projection model.image
option to set the image.Fixed issues:
memGrow
boundary check.fd_renumber
(#3040).path_unlink_file
for trailing slash path.path_readlink
for not following symbolic link issue.path_open
for checking O_TRUNC
rights.path_open
for removing path relative rights on file.path_symlink
for creating a symlink to an absolute path.fd_prestat_dir_name
buffer size.filestat_set_times
for invalid flags.socket_accept
(#3041).Tests:
Known issues:
O1
or upper optimizations on MacOS platforms will cause a bus error during execution.--optimize=0
to set the compiler optimization level to O0
in wasmedgec
CLI.Thank all the contributors who made this release possible!
Abhinandan Udupa, Akihiro Suda, Dhruv Jain, Draco, Ikko Eltociear Ashimine, Khagan (Khan) Karimov, LO, CHIN-HAO, Little Willy, Lîm Tsú-thuàn, Meenu Yadav, Omkar Acharekar, Saiyam Pathak, Sarrah Bastawala, Shen-Ta Hsieh, Shreyas Atre, Yage Hu, Yi Huang, Yi-Ying He, alabulei1, am009, dm4, hetvishastri, hydai, richzw, tannal, vincent, zhumeme
If you want to build from source, please use WasmEdge-0.14.0-alpha.3-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Breaking changes:
SOVERSION
to 0.1.0
.API_VERSION
to 3
.WasmEdge_ValType
structure for replacing enum WasmEdge_ValType
.
enum WasmEdge_ValType
and enum WasmEdge_RefType
into the enum WasmEdge_TypeCode
.enum WasmEdge_ValType
as parameters.
WasmEdge_FunctionTypeCreate()
WasmEdge_FunctionTypeGetParameters()
WasmEdge_FunctionTypeGetReturns()
WasmEdge_TableTypeCreate()
WasmEdge_TableTypeGetRefType()
WasmEdge_GlobalTypeCreate()
WasmEdge_GlobalTypeGetValType()
WasmEdge_ValueGenNullRef()
API.WasmEdge_GlobalInstanceSetValue()
WasmEdge_Bytes
structure.
uint8_t
buffers. The old FromBuffer
related APIs will be replaced by the corresponding APIs in the future versions.WasmEdge_CompilerCompileFromBytes()
API has the same function as WasmEdge_CompilerCompileFromBuffer()
and will replace it in the future.WasmEdge_LoaderParseFromBytes()
API has the same function as WasmEdge_LoaderParseFromBuffer()
and will replace it in the future.WasmEdge_VMRegisterModuleFromBytes()
API has the same function as WasmEdge_VMRegisterModuleFromBuffer()
and will replace it in the future.WasmEdge_VMRunWasmFromBytes()
API has the same function as WasmEdge_VMRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMAsyncRunWasmFromBytes()
API has the same function as WasmEdge_VMAsyncRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMLoadWasmFromBytes()
API has the same function as WasmEdge_VMLoadWasmFromBuffer()
and will replace it in the future.Features:
WasmEdge_Proposal_FunctionReferences
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_GC
for the configuration in WasmEdge C API.--enable-gc
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_Component
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
tool.WasmEdge_ValType
related APIs can help developers to generate or compare value types.
WasmEdge_ValTypeGenI32()
(replacing WasmEdge_ValType_I32
)WasmEdge_ValTypeGenI64()
(replacing WasmEdge_ValType_I64
)WasmEdge_ValTypeGenF32()
(replacing WasmEdge_ValType_F32
)WasmEdge_ValTypeGenF64()
(replacing WasmEdge_ValType_F64
)WasmEdge_ValTypeGenV128()
(replacing WasmEdge_ValType_V128
)WasmEdge_ValTypeGenFuncRef()
(replacing WasmEdge_ValType_FuncRef
)WasmEdge_ValTypeGenExternRef()
(replacing WasmEdge_ValType_ExternRef
)WasmEdge_ValTypeIsEqual()
WasmEdge_ValTypeIsI32()
WasmEdge_ValTypeIsI64()
WasmEdge_ValTypeIsF32()
WasmEdge_ValTypeIsF64()
WasmEdge_ValTypeIsV128()
WasmEdge_ValTypeIsFuncRef()
WasmEdge_ValTypeIsExternRef()
WasmEdge_ValTypeIsRef()
WasmEdge_ValTypeIsRefNull()
WasmEdge_Bytes
related APIs can help developers to control the buffers.
WasmEdge_BytesCreate()
WasmEdge_BytesWrap()
WasmEdge_BytesDelete()
WasmEdge_TableInstanceCreateWithInit()
to create a table instance with non-defaultable elements with assigning the initial value.WasmEdge_LoaderSerializeASTModule()
API to serialize a loaded WASM module into bytes.--version
option.ggml-blas
and rustls
plugin supporting (#3032) (#3108).threads
: the thread number for inference.temp
: set temperature for inference.repeat-penalty
: set repeat penalty for inference.enable-debug-log
option to show more debug information.load_by_name_with_config()
to load model with metadata.compute_single
, get_output_single
, and fini_single
EndOfSequence
: returned when encounter <EOS>
token on single token inferece.ContextFull
: returned when the context is full.PromptTooLong
: returned when the input size is too large.mmproj
option to set the projection model.image
option to set the image.Fixed issues:
memGrow
boundary check.fd_renumber
(#3040).path_unlink_file
for trailing slash path.path_readlink
for not following symbolic link issue.path_open
for checking O_TRUNC
rights.path_open
for removing path relative rights on file.path_symlink
for creating a symlink to an absolute path.fd_prestat_dir_name
buffer size.filestat_set_times
for invalid flags.socket_accept
(#3041).Tests:
Known issues:
O1
or upper optimizations on MacOS platforms will cause a bus error during execution.--optimize=0
to set the compiler optimization level to O0
in wasmedgec
CLI.Thank all the contributors who made this release possible!
Abhinandan Udupa, Akihiro Suda, Dhruv Jain, Draco, Ikko Eltociear Ashimine, Khagan (Khan) Karimov, LO, CHIN-HAO, Little Willy, Lîm Tsú-thuàn, Meenu Yadav, Omkar Acharekar, Saiyam Pathak, Sarrah Bastawala, Shen-Ta Hsieh, Shreyas Atre, Yage Hu, Yi Huang, Yi-Ying He, alabulei1, am009, dm4, hydai, richzw, vincent, zhumeme
If you want to build from source, please use WasmEdge-0.14.0-alpha.2-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Breaking changes:
SOVERSION
to 0.1.0
.API_VERSION
to 3
.WasmEdge_ValType
structure for replacing enum WasmEdge_ValType
.
enum WasmEdge_ValType
and enum WasmEdge_RefType
into the enum WasmEdge_TypeCode
.enum WasmEdge_ValType
as parameters.
WasmEdge_FunctionTypeCreate()
WasmEdge_FunctionTypeGetParameters()
WasmEdge_FunctionTypeGetReturns()
WasmEdge_TableTypeCreate()
WasmEdge_TableTypeGetRefType()
WasmEdge_GlobalTypeCreate()
WasmEdge_GlobalTypeGetValType()
WasmEdge_ValueGenNullRef()
API.WasmEdge_GlobalInstanceSetValue()
WasmEdge_Bytes
structure.
uint8_t
buffers. The old FromBuffer
related APIs will be replaced by the corresponding APIs in the future versions.WasmEdge_CompilerCompileFromBytes()
API has the same function as WasmEdge_CompilerCompileFromBuffer()
and will replace it in the future.WasmEdge_LoaderParseFromBytes()
API has the same function as WasmEdge_LoaderParseFromBuffer()
and will replace it in the future.WasmEdge_VMRegisterModuleFromBytes()
API has the same function as WasmEdge_VMRegisterModuleFromBuffer()
and will replace it in the future.WasmEdge_VMRunWasmFromBytes()
API has the same function as WasmEdge_VMRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMAsyncRunWasmFromBytes()
API has the same function as WasmEdge_VMAsyncRunWasmFromBuffer()
and will replace it in the future.WasmEdge_VMLoadWasmFromBytes()
API has the same function as WasmEdge_VMLoadWasmFromBuffer()
and will replace it in the future.Features:
WasmEdge_Proposal_FunctionReferences
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_Proposal_Component
for the configuration in WasmEdge C API.--enable-function-reference
to enable the proposal in wasmedge
tool.WasmEdge_ValType
related APIs can help developers to generate or compare value types.
WasmEdge_ValTypeGenI32()
(replacing WasmEdge_ValType_I32
)WasmEdge_ValTypeGenI64()
(replacing WasmEdge_ValType_I64
)WasmEdge_ValTypeGenF32()
(replacing WasmEdge_ValType_F32
)WasmEdge_ValTypeGenF64()
(replacing WasmEdge_ValType_F64
)WasmEdge_ValTypeGenV128()
(replacing WasmEdge_ValType_V128
)WasmEdge_ValTypeGenFuncRef()
(replacing WasmEdge_ValType_FuncRef
)WasmEdge_ValTypeGenExternRef()
(replacing WasmEdge_ValType_ExternRef
)WasmEdge_ValTypeIsEqual()
WasmEdge_ValTypeIsI32()
WasmEdge_ValTypeIsI64()
WasmEdge_ValTypeIsF32()
WasmEdge_ValTypeIsF64()
WasmEdge_ValTypeIsV128()
WasmEdge_ValTypeIsFuncRef()
WasmEdge_ValTypeIsExternRef()
WasmEdge_ValTypeIsRef()
WasmEdge_ValTypeIsRefNull()
WasmEdge_Bytes
related APIs can help developers to control the buffers.
WasmEdge_BytesCreate()
WasmEdge_BytesWrap()
WasmEdge_BytesDelete()
WasmEdge_TableInstanceCreateWithInit()
to create a table instance with non-defaultable elements with assigning the initial value.WasmEdge_LoaderSerializeASTModule()
API to serialize a loaded WASM module into bytes.--version
option.ggml-blas
and rustls
plugin supporting (#3032) (#3108).threads
: the thread number for inference.temp
: set temperature for inference.repeat-penalty
: set repeat penalty for inference.enable-debug-log
option to show more debug information.load_by_name_with_config()
to load model with metadata.compute_single
, get_output_single
, and fini_single
EndOfSequence
: returned when encounter <EOS>
token on single token inferece.ContextFull
: returned when the context is full.PromptTooLong
: returned when the input size is too large.Fixed issues:
fd_renumber
(#3040).path_unlink_file
for trailing slash path.path_readlink
for not following symbolic link issue.path_open
for checking O_TRUNC
rights.path_open
for removing path relative rights on file.path_symlink
for creating a symlink to an absolute path.fd_prestat_dir_name
buffer size.filestat_set_times
for invalid flags.socket_accept
(#3041).Tests:
Known issues:
O1
or upper optimizations on MacOS platforms will cause a bus error during execution.--optimize=0
to set the compiler optimization level to O0
in wasmedgec
CLI.Thank all the contributors who made this release possible!
Abhinandan Udupa, Akihiro Suda, Dhruv Jain, Draco, Little Willy, Lîm Tsú-thuàn, Meenu Yadav, Omkar Acharekar, Saiyam Pathak, Shen-Ta Hsieh, Shreyas Atre, Yage Hu, Yi-Ying He, alabulei1, am009, dm4, hydai, richzw, zhumeme
If you want to build from source, please use WasmEdge-0.14.0-alpha.1-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Features:
AUTO
detection. Wasm application will no longer need to specify the hardware spec (e.g., CPU or GPU). It will auto-detect by the runtime.metadata
for setting the ggml options.
enable-log
: true
to enable logging. (default: false
)stream-stdout
: true
to print the inferred tokens in the streaming mode to standard output. (default: false
)ctx-size
: Set the context size the same as the --ctx-size
parameter in llama.cpp. (default: 512
)n-predict
: Set the number of tokens to predict, the same as the --n-predict
parameter in llama.cpp. (default: 512
)n-gpu-layers
: Set the number of layers to store in VRAM, the same as the --n-gpu-layers
parameter in llama.cpp. (default: 0
)reverse-prompt
: Set the token pattern at which you want to halt the generation. Similar to the --reverse-prompt
parameter in llama.cpp. (default: ""
)batch-size
: Set the number of batch sizes for prompt processing, the same as the --batch-size
parameter in llama.cpp. (default: 512
)n_gpu_layers
is set to a non-zero value.Fixed issues:
Misc:
Thank all the contributors who made this release possible!
dm4, hydai, Lîm Tsú-thuàn, Meenu Yadav, michael1017, proohit, Saikat Dey, Shen-Ta Hsieh, Shreyas Atre, Wang Jikai, Wck-iipi, YiYing He
If you want to build from source, please use WasmEdge-0.13.5-src.tar.gz instead of the zip or tarball provided by GitHub directly.