-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
102 lines (98 loc) · 4.58 KB
/
Copy pathsettings.gradle.kts
File metadata and controls
102 lines (98 loc) · 4.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
// Resolved once, here, for the whole build -- sk.ainet.multiplatform (applied per-module),
// sk.ainet.npm-pins (applied once at root), and sk.ainet.transformers.bom-coverage (applied
// to llm-bom, replacing this repo's own buildSrc/BomCoveragePlugin) all come from the same
// sk.ainet.buildlogic:convention:1.0.0 implementation jar (github.com/SKaiNET-developers/
// SKaiNET-build-logic). Declaring an explicit version at each individual application site
// instead fails with "plugin is already on the classpath with an unknown version" once more
// than one plugin ID from that jar is resolved in the same build (same fix already applied
// in SKaiNET-audio).
plugins {
id("sk.ainet.multiplatform") version "1.1.0"
id("sk.ainet.npm-pins") version "1.1.0"
id("sk.ainet.transformers.bom-coverage") version "1.1.0"
}
}
dependencyResolutionManagement {
repositories {
// Local-dev lane: `-PskainetMavenLocal` resolves sk.ainet artifacts from
// ~/.m2 (an unsigned `publishToMavenLocal` of the SKaiNET repo) ahead of
// Maven Central — how unreleased engine features are validated here.
if (providers.gradleProperty("skainetMavenLocal").isPresent) {
mavenLocal { content { includeGroupByRegex("""sk\.ainet.*""") } }
}
google()
mavenCentral()
}
}
// Composite build for validating local SKaiNET fixes against this repo.
// Opt-in: run with -PuseLocalSkainet=true (or set useLocalSkainet=true in
// gradle.properties) to substitute sk.ainet.core:* with a sibling ../SKaiNET
// checkout instead of the published Maven artifacts. Off by default.
if (providers.gradleProperty("useLocalSkainet").orNull == "true") {
includeBuild("../SKaiNET")
}
rootProject.name = "SKaiNET-transformers"
include("llm-api")
// Generic ASR task types (Transcription, DecodingOptions, FeatureFrames) -- moved up from the
// downstream ASR cartridge ecosystem (asr-whisper-iree-cartridge/asr-moonshine-iree-cartridge)
// so neither cartridge family depends on the other for shared plumbing.
include("asr-domain")
include("transformer-core")
include("llm-core")
include("llm-agent")
include("llm-providers")
include("llm-inference:llama")
include("llm-inference:qwen")
include("llm-inference:bitnet")
include("llm-inference:gemma")
include("llm-inference:gemma3n")
// FunctionGemma function-calling product module: export spec + harness + contract
// manifest for the DSL -> StableHLO -> IREE pipeline (whisper/moonshine pattern).
// Depends on :llm-inference:gemma for the architecture; owns the export contract.
include("llm-inference:functiongemma")
// SmolLM2 compiled-export product module (transformers#305): the redecode
// (fixed-seq, in-graph argMax) StableHLO export for the compiled leg of the
// SmolLM2 cross-target reproducer. Depends on :llm-inference:llama for the
// architecture; owns the export contract, mirroring functiongemma's shape.
include("llm-inference:smollm2")
include("llm-inference:moonshine")
include("llm-inference:whisper")
include("llm-inference:apertus")
include("llm-inference:bert")
include("llm-inference:voxtral")
include("llm-inference:t5")
include("llm-inference:vec2text")
include("llm-runtime:kllama")
include("llm-runtime:kgemma")
include("llm-runtime:kgemma3n")
// :llm-runtime:kqwen — removed; Qwen runs through the DSL Qwen path
// (`QwenNetworkLoader` + `OptimizedLLMRuntime`) since #121 (kllama CLI
// swap). The legacy `QwenIngestion` facade had no remaining consumers
// after the architectural refactor — see PR closing this module.
include("llm-runtime:kapertus")
include("llm-runtime:kbitnet")
// Gemma-on-IREE runtime: decode loop + iree-run-module driver + tool-call codec
// (the on-device side of the DSL -> StableHLO -> IREE path).
include("llm-runtime:gemma-iree")
// Generic Android JNI runtime for the DSL -> StableHLO -> IREE compiled path
// (transformers#305): drives ANY fixed-seq redecode vmfb with an in-graph
// argMax tail over the real IREE C API — model-agnostic, unlike gemma-iree
// (board-specific, subprocess-driven). :llm-inference:smollm2 is its first
// producer of a (vmfb, irpa, function-name) triple.
include("llm-runtime:iree-android")
include("llm-performance")
include("llm-apps:skainet-cli")
include("llm-apps:skainet-decode")
include("llm-apps:skainet-decode-core")
include("llm-apps:skainet-decode-android")
include("llm-apps:kllama-cli")
include("llm-apps:kllama-java-sample")
include("llm-apps:kbert-cli")
include("llm-test:llm-test-java")
include("llm-bom")