Skip to main content

Crate combs_core

Crate combs_core 

Source
Expand description

§combs-core

Backend type aliases, device helpers, and the memory-pool facade for the Combs Engine L0 Rust core.

Phase 1 runs entirely on the wgpu backend (Metal on Apple Silicon) with f32 compute. f16 compute and custom CubeCL kernels are later-phase optimizations; the aliases here are the single place to change.

Re-exports§

pub use burn::backend::wgpu;

Modules§

quant
Group-wise 4-bit quantization support (GGUF q4_0-style layout).

Structs§

BufferPool
Facade over the GPU buffer pool.
DeviceCaps
Hardware capabilities consumed by the application-layer device planner (sharding, KV budget, prefill chunk sizing). Serialized to JSON across the FFI boundary.
DeviceInfo
Basic information about a wgpu adapter.

Functions§

device_caps
Queries the adapter for its limits/features and returns DeviceCaps.
device_info
Initializes the wgpu runtime for device and returns adapter information.
init_device
Returns the default wgpu device (best available GPU; on macOS this is the Metal device). Honors cubecl’s CUBECL_WGPU_DEFAULT_DEVICE override.

Type Aliases§

CombsBackend
The default inference backend: autotuned, fusing wgpu/CubeCL backend.
CombsDevice
The default device handle type.