#[cfg(feature = "bitnet")]
pub mod allocator;
#[cfg(feature = "bitnet")]
pub mod kernels;
#[cfg(feature = "bitnet")]
pub mod provider;
#[cfg(feature = "bitnet")]
pub mod quantization;
#[cfg(feature = "bitnet")]
pub use allocator::BitNetMemoryAllocator;
#[cfg(feature = "bitnet")]
pub use kernels::{BitNetKernel, BitNetOperation};
#[cfg(feature = "bitnet")]
pub use provider::{BitNetExecutionProvider, BitNetProviderConfig, create_bitnet_provider};
#[cfg(feature = "bitnet")]
pub use quantization::{BinaryTensor, BitNetQuantizer, QuantizationMethod, TernaryTensor};
#[cfg(not(feature = "bitnet"))]
pub fn bitnet_not_available() -> anyhow::Result<()> {
anyhow::bail!("BitNet provider not available - enable the 'bitnet' feature flag")
}