Linux / keyless-cuda-gate (push) Skipped
Rust port / port-typecheck (push) Failing after 8s
Desktop foundation / core (ubuntu-latest) (push) Failing after 11s
Rust port / port-oracles (push) Failing after 11s
Rust port / port-linux-tests (push) Failing after 14s
Rust port / port-fast (push) Failing after 9s
Linux / verify (push) Failing after 17s
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Linux / release-cli (push) Skipped
Brings the Rust/CUDA port of the Strata mode17 serve path together with the CPU/iGPU/NPU gpt-oss runtime that main gained meanwhile. Control plane: the Qwen tokenizer is the implementation behind the Qwen35 variant of codec::TextCodec (qwen(), encode_prompt() widen the trait; QwenCodec derefs to the tokenizer), so control-token marks, images, chat template, the runtime backend and vision keep their behavior, while the gpt-oss/Harmony path and the worker pool keep main's. Config carries the union of fields; extra_workers is rejected together with runtime, lazy_load, idle_unload_s and vision; the gpt-oss family refuses top_k/min_p/penalties (its GEN line has no such keys). leleka-kar-codec takes f16_bits_to_f32 from leleka-quant-core (identical code). Workspace members and default-members are the union of both sides. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
103 lines
2.3 KiB
Rust
103 lines
2.3 KiB
Rust
/// Write one diagnostic line to stderr and ignore any failure.
|
|
///
|
|
/// `eprintln!` panics when stderr cannot be written (a log consumer that went away gives `EPIPE`, a full disk
|
|
/// `ENOSPC`). On the serving path that would kill the worker supervisor or a response task in the middle of a
|
|
/// request, so every diagnostic in this crate goes through here: charter Gate A requires a terminal event on
|
|
/// every stream no matter what happens to the logs. A consumer that is merely slow can still block the write;
|
|
/// that is bounded by the log sink, not by this macro.
|
|
#[macro_export]
|
|
macro_rules! elog {
|
|
($($arg:tt)*) => {{
|
|
use ::std::io::Write as _;
|
|
let mut stderr = ::std::io::stderr().lock();
|
|
let _ = ::std::writeln!(stderr, $($arg)*);
|
|
}};
|
|
}
|
|
|
|
pub mod app;
|
|
pub mod asset_bundle;
|
|
pub mod auth;
|
|
pub mod codec;
|
|
pub mod backend_worker;
|
|
pub mod config;
|
|
pub mod derived_iq3;
|
|
pub mod derived_mixed;
|
|
pub mod doctor;
|
|
pub mod embedded_engine;
|
|
#[cfg(test)]
|
|
mod embedded_spec;
|
|
pub mod engine_probe;
|
|
pub mod ggml_bridge;
|
|
pub use leleka_model_format::gguf;
|
|
pub mod gguf_f32_stream;
|
|
pub mod harmony_family;
|
|
pub mod gguf_json;
|
|
mod history_store;
|
|
mod immutable_directory;
|
|
pub use leleka_quant_core::iq3_s;
|
|
pub mod kar;
|
|
pub mod kar_codec;
|
|
pub mod kar_fixture;
|
|
pub mod kar_memory;
|
|
pub mod kar_overlay;
|
|
pub mod kar_quality;
|
|
pub mod kar_sample;
|
|
pub mod kar_stream_encode;
|
|
pub mod kar_writer;
|
|
pub mod key_init;
|
|
pub mod lifecycle;
|
|
pub mod hardware_view;
|
|
pub mod metrics;
|
|
pub mod prometheus;
|
|
pub mod request_monitor;
|
|
pub mod model;
|
|
pub mod model_pipeline;
|
|
pub mod models_api;
|
|
pub mod memory_view;
|
|
pub mod prefix_view;
|
|
pub mod mtp_fetch;
|
|
pub mod mtp_pack;
|
|
pub mod native_model;
|
|
pub mod native_pack;
|
|
pub mod pool;
|
|
pub mod preflight;
|
|
pub mod prepare_preview;
|
|
pub mod prompt;
|
|
mod response_tools;
|
|
pub mod responses;
|
|
pub mod runtime_config;
|
|
pub mod service_install;
|
|
pub mod service_unit;
|
|
pub mod stream_parts;
|
|
pub mod tensor_export;
|
|
pub use leleka_tokenizer as tokenizer;
|
|
pub mod tokenizer_assets;
|
|
pub mod tool_output;
|
|
pub mod wire;
|
|
pub mod worker;
|
|
|
|
pub mod wait_ready;
|
|
|
|
pub mod chat;
|
|
|
|
pub mod messages;
|
|
mod native_events;
|
|
|
|
pub mod cuda_memory;
|
|
|
|
pub mod service_switch;
|
|
|
|
pub mod queue;
|
|
|
|
pub mod sampling;
|
|
|
|
pub mod server_api;
|
|
|
|
pub mod stage_trace;
|
|
|
|
pub mod settings;
|
|
|
|
pub mod mcp;
|
|
pub mod reasoning_budget;
|
|
pub mod vision;
|