Shared Weft compiler core
This component contains Canonical Kernel IR, shared analyses and transforms, RISC-V RVV/IME and x86 SIMD/AMX physical compilation, and the native C/C++ runtime.
The weft-core distribution contains the compiler, native runtime, neutral
Canonical construction API, shared Encoding schemas and target toolchain.
Triton–Weft and TileLang–Weft each retain their own source frontend, JIT, cache
and autotuner. Both call the same libweft_compiler through an opaque C ABI;
LLVM/MLIR objects and symbols remain private to the compiler library.
For a standalone source build, select the LLVM/MLIR SDK matching the enclosing
Triton tree, then build this directory with CMake or its pyproject.toml:
cmake -S . -B build -DMLIR_DIR="$MLIR_DIR" -DLLVM_DIR="$LLVM_DIR" \
-DWEFT_INSTALL_ROOT=weft_core -DWEFT_BUILD_PYTHON=ON
cmake --build build
cmake --install build --prefix sdk
WEFT_CLANG_ROOT, WEFT_OPENMP_LIBRARY and WEFT_OPENMP_INCLUDE_DIR select
bundled native toolchain resources. WEFT_CORE_SDK packages an already-built
SDK for the same host architecture and builds the binding for the current
Python ABI. It validates native execution and the compiler ABI before packaging.
Native applications load exported artifacts through libweft_runtime and its
typed C/C++ interface. Optional application contracts and llama.cpp hooks live
in integrations/llama.cpp; the runtime does not link the compiler or a frontend.
Start with lib/Dialect/Kernel for source contracts, lib/Analysis and
lib/Transforms for common mechanisms, and lib/Target/{RISCV,X86} for each
target's Backend, Platform, Analysis, Conversion, Transforms and Emission modules.
The source map explains these boundaries
and why RISC-V has custom physical dialect operations while x86 reuses MLIR dialects.
See the handbook, installation and native SDK. Weft code retains its Apache-2.0 license; the enclosing Triton tree retains its own notices.
Metadata
Release files for weft-core 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| weft_core-0.2.0.tar.gz | 1.4 MB | Without provenance | Details for weft_core-0.2.0.tar.gz |
Built distributions (wheels)
Total release size: 564.3 MB
Release files / weft_core-0.2.0.tar.gz
| Download URL | weft_core-0.2.0.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ed589856fb504a80ceb0e3bbfc52172b04439f7fa44e1c6bcbd9831f3cd120e
|
|
BLAKE2b-256 checksum How to use checksums |
393a763d68a30cad792ffcf3296b38810a74f7bc0102678c00f45ae2ca5087bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|
Release files / weft_core-0.2.0-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | weft_core-0.2.0-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 94.9 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
0e9ee03db6cadcf027695aac96d6e8b8bb50a0bf6df1e68077592709e6820b4c
|
|
BLAKE2b-256 checksum How to use checksums |
5d82eae21789579529920afb7a07ba3c48b0af215d01bd3bf362dfe27fbaa889
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|
Release files / weft_core-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | weft_core-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 94.9 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
7a8295b68e5f0cc55b5ea8e88e83bf5cfe28348b6633eea936d25b5671af8080
|
|
BLAKE2b-256 checksum How to use checksums |
e73a435ec00394246b0273c6368f321096d8418026eab5c86dfe1bd56c2d1c2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|
Release files / weft_core-0.2.0-cp311-cp311-manylinux_2_38_riscv64.whl
| Download URL | weft_core-0.2.0-cp311-cp311-manylinux_2_38_riscv64.whl |
|---|---|
| Size | 91.6 MB |
| Tags | CPython 3.11 Linux glibc 2.38+ RISC-V 64 |
|
SHA-256 checksum How to use checksums |
7e39c4e563479f2f971ffbc12890f228f33b4aaea6d04306083fa97ed52d5884
|
|
BLAKE2b-256 checksum How to use checksums |
d71b72e6fef498c9b3adb47f58ce2d5b8f69e1d3b90ef90b3268e6dea28079b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|
Release files / weft_core-0.2.0-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | weft_core-0.2.0-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 94.9 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
5ca5a3fc202e49d90ad79d03b447cf886c35901bb94cba12bb178cbec0bf2549
|
|
BLAKE2b-256 checksum How to use checksums |
8aa2ef753199ef24638540ef1e2582a8479a2b0f556d4499ecb61911c7ea2b67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|
Release files / weft_core-0.2.0-cp310-cp310-manylinux_2_38_riscv64.whl
| Download URL | weft_core-0.2.0-cp310-cp310-manylinux_2_38_riscv64.whl |
|---|---|
| Size | 91.6 MB |
| Tags | CPython 3.10 Linux glibc 2.38+ RISC-V 64 |
|
SHA-256 checksum How to use checksums |
5ecaf73100bcdb22af828b921d4884da11a146e5d82fe6456d67ad13e2e7682b
|
|
BLAKE2b-256 checksum How to use checksums |
533eb872fabaef0ebc394c81da4e98f60f049dba83ab8f7b10c791cd77ce3051
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|
Release files / weft_core-0.2.0-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | weft_core-0.2.0-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 94.9 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
b7116e1df569c2681b5af5fc51da6927c410bf30c463411da5fc7a1e1fa87092
|
|
BLAKE2b-256 checksum How to use checksums |
9fe52ac27b7588e0b64b559a360242108cb69112d9a004c52aa749b48c71e220
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|
Security for weft-core 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.