Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 607 Bytes

DEVELOPMENT.md

File metadata and controls

36 lines (24 loc) · 607 Bytes

kord development

Get libtorch on windows

You need to set the right environment variable so tch-rs can find the libtorch library.

The one that works best right now is 11.8.

export TORCH_CUDA_VERSION="cu118"

Publish to Cargo

$ cargo publish

Publish to NPM

$ wasm-pack build --features ml_infer --features wasm

Rename package to kordweb,

$ wasm-pack publish

Publish to wasmer

$ cargo wasi build --release --no-default-features --features wasi --features cli --features ml_infer --features analyze_file
$ wasmer publish