Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
 NMilaMila main API namespace
 NCore
 CRandomGeneratorSingleton class providing centralized random number generation
 NData
 CBpeTokenizerUnified BPE tokenizer targeting GPT-2, Llama 3.x, and Mistral model families
 CBpeTrainerCorpus accumulator and trainer for BPE vocabularies
 CBpeVocabularyUnified Byte Pair Encoding (BPE) vocabulary
 CBpeVocabularyConfigConfiguration for the BPE vocabulary
 CCharTokenizerCharacter-level tokenizer
 CCharTrainerCharacter-level tokenizer trainer
 CCharVocabularyCharacter vocabulary for tokenization
 CCharVocabularyConfigConfiguration for Character-level tokenizer training
 CDataLoaderDevice-agnostic data loader interface using abstract tensor data types
 CMilaFileHeaderCommon file header for Mila data files
 CSerializationMetadataType-safe metadata container for component serialization
 CSpecialTokensConfiguration for special tokens across all tokenizer types
 CTokenizer
 CTokenizerTrainerAbstract interface for training tokenizer vocabularies from text corpora
 CTokenizerVocabularyGeneric tokenizer vocabulary interface
 CTokenSequenceLoaderToken sequence loader for autoregressive language models
 CTokenSequenceLoaderConfigConfiguration for StreamingSequenceLoader behavior
 CTrainerFactoryFactory for creating tokenizer trainers and loading vocabularies
 NDistribution
 CCurlHttpTransportLibcurl as an IHttpTransport
 CFetchReport
 CHttpClientGET a URL, streaming the body to a sink, over whichever transport it is given
 CHttpFetch
 CHttpHeader
 CHttpRequest
 CHttpResponse
 CHttpResult
 CHubModelOne repository as a hub reports it, before any manifest is fetched
 CHuggingFaceHubThe HuggingFace hub
 CIHttpTransportPerforms one HTTP GET
 CIModelHubA remote that serves manifests and files
 CInstallOptionsHow a package is to be installed
 CModelCoordinateWhere a repository lives on a hub
 CModelFileOne file composing a model, as the manifest declares it
 CModelManifestA model's published description
 CModelPackageEverything a published or installable model is, as a directory
 CModelRecordAn installed model: what the manifest published, plus how this copy came to be here
 CModelResolverPulls a published model into the store
 CModelStoreThe local store of installed models
 CNullHttpTransportThe transport of a build compiled without one
 CPackageRequestOne model's files, as a caller hands them to the packager
 CPackageValidationWhat validation found
 CPruneOptions
 CRemovalReport
 CSha256Incremental SHA-256
 CStoredModelA record together with where its bytes actually are
 CStoreUsage
 NDnn
 NCompute
 NCuda
 CCudaDataTypeTraitsCompile-time mapping from TensorDataType -> cudaDataType_t
 CCudaDataTypeTraits< TensorDataType::BF16 >
 CCudaDataTypeTraits< TensorDataType::FP16 >
 CCudaDataTypeTraits< TensorDataType::FP32 >
 CCudaDataTypeTraits< TensorDataType::FP8_E4M3 >
 CCudaDataTypeTraits< TensorDataType::FP8_E5M2 >
 CCudaDataTypeTraits< TensorDataType::INT32 >
 CCudaDataTypeTraits< TensorDataType::INT8 >
 CTensorDataTypeMapCompile-time mapping from abstract TensorDataType -> CUDA native device type
 CTensorDataTypeMap< TensorDataType::BF16 >Maps TensorDataType::BF16 to CUDA __nv_bfloat16
 CTensorDataTypeMap< TensorDataType::FP16 >Maps TensorDataType::FP16 to CUDA __half
 CTensorDataTypeMap< TensorDataType::FP32 >Maps TensorDataType::FP32 to CUDA float
 CTensorDataTypeMap< TensorDataType::FP4_E2M1 >Maps TensorDataType::FP4_E2M1 to std::uint8_t
 CTensorDataTypeMap< TensorDataType::FP4_E3M0 >Maps TensorDataType::FP4_E3M0 to std::uint8_t
 CTensorDataTypeMap< TensorDataType::FP8_E4M3 >Maps TensorDataType::FP8_E4M3 to CUDA __nv_fp8_e4m3
 CTensorDataTypeMap< TensorDataType::FP8_E5M2 >Maps TensorDataType::FP8_E5M2 to CUDA __nv_fp8_e5m2
 CTensorDataTypeMap< TensorDataType::INT16 >Maps TensorDataType::INT16 to std::int16_t
 CTensorDataTypeMap< TensorDataType::INT32 >Maps TensorDataType::INT32 to std::int32_t
 CTensorDataTypeMap< TensorDataType::INT8 >Maps TensorDataType::INT8 to std::int8_t
 CTensorDataTypeMap< TensorDataType::UINT16 >Maps TensorDataType::UINT16 to std::uint16_t
 CTensorDataTypeMap< TensorDataType::UINT32 >Maps TensorDataType::UINT32 to std::uint32_t
 CTensorDataTypeMap< TensorDataType::UINT8 >Maps TensorDataType::UINT8 to std::uint8_t
 CCpuDeviceClass representing a CPU compute device
 CCpuDeviceRegistrarCPU device plugin for device-agnostic registration
 CCpuMemoryResourceCPU memory resource for host-accessible memory allocation
 CCudaDeviceClass representing a CUDA compute device instance
 CCudaDeviceMemoryResourceCUDA device memory resource for GPU-accessible memory allocation
 CCudaDevicePropsWrapper for CUDA device properties with cached values
 CCudaDeviceRegistrarCUDA device registrar for device-agnostic registration
 CCudaManagedMemoryResourceCUDA managed memory resource for unified host/device accessible memory
 CCudaPinnedMemoryResourceCUDA pinned memory resource for fast host/device transfer memory
 CCudaTimerGPU-accurate interval timer using a CUDA event pair
 CDeviceAbstract interface for compute device implementations
 CDeviceAccessible
 CDeviceConstructionKeyConstruction key for device factories
 CDeviceIdLightweight identifier for a compute device
 CDeviceMemoryInfoWhat a device currently has free, and what it has in total
 CDeviceRegistrarDevice-agnostic registrar for automatic device discovery and registration
 CDeviceRegistryRegistry of discovered compute devices with lazy instantiation
 CDeviceTypeTraits
 CDeviceTypeTraits< DeviceType::Cpu >DeviceTypeTraits specialization for the CPU device
 CDeviceTypeTraits< DeviceType::Cuda >DeviceTypeTraits specialization for the CUDA device
 CExecutionContextTemplated execution context for device-specific operations
 CExecutionContext< DeviceType::Cpu >CPU execution context specialization
 CExecutionContext< DeviceType::Cuda >CUDA execution context specialization
 CExecutionContext< DeviceType::Metal >Metal execution context specialization
 CExecutionContext< DeviceType::Vulkan >Vulkan execution context specialization
 CGqaStateNon-owning pointers to shared transient GQA scratch buffers
 CHostAccessible
 CIExecutionContextType-erased execution context interface
 CIKvCacheLifecycleCapability interface for KV-cache state management
 CIKvInferenceCompute interface for attention operations that maintain a KV cache
 CIPackedKvInferenceKV-cache inference interface for packed-QKV MHA backends
 CIPositionalDecodeCapability interface for position-dependent unary operations
 CIPositionalPairedOpCapability interface for position-dependent paired operations
 CMemoryAllocationStatsProcess-wide allocator counters for all TrackedMemoryResource instances
 CMemoryResourceClean memory resource abstraction for device-specific memory allocation
 CMemoryResourceTraitsMemory resource traits for compile-time dispatch optimization
 CMemoryResourceTraits< CpuMemoryResource >CPU-specific memory resource traits providing detailed CPU backend characteristics
 CMemoryResourceTraits< CudaDeviceMemoryResource >CUDA device memory resource traits providing detailed GPU backend characteristics
 CMemoryResourceTraits< CudaManagedMemoryResource >CUDA managed memory resource traits providing unified memory characteristics
 CMemoryResourceTraits< CudaPinnedMemoryResource >CUDA pinned memory resource traits providing fast transfer characteristics
 CMetalDeviceClass representing a Metal compute device instance
 CMetalDevicePluginMetal device plugin for device-agnostic registration
 CMetalMemoryResourceStub implementation for non-Apple platforms
 COperation
 COperationTraitsPrimary traits template for unified compile-time operation dispatch
 CTrackedMemoryResourceA memory resource wrapper that tracks allocation and deallocation statistics
 CVulkanDeviceClass representing a Vulkan compute device instance
 CVulkanMemoryResourceStub implementation for platforms without Vulkan support
 NGemma
 CGemmaToolCallA tool call parsed out of the model's native <|tool_call> emission
 NOptimizers
 CAdamWConfigConfiguration for AdamW optimizer
 CAdamWOptimizerDevice-agnostic AdamW optimizer
 CSerializationMetadataType-safe metadata container for component serialization
 NQuant
 NKvCache
 CNoKvCompressionIdentity policy - no compression
 CPerChannelKvFp8Symmetric per-head per-token FP8 KV cache compression policy
 CSlidingWindowKvCacheBounded sliding-window KV cache (uncompressed ring buffer)
 NWeight
 CNoWeightQuant
 CPerChannelFp8
 CPerGroupFp4
 CPerGroupInt4
 NSerialization
 CArchiveSerializerInterface for hierarchical archive serializers
 CITensorBlobType-erased interface for a serialized tensor blob
 CModelArchiveModelArchive provides high-level helpers for component serialization
 CScopedScope
 CPretrainedMetadataMetadata for pretrained model
 CPretrainedModelReaderReader for Mila pretrained binary format
 CSafeTensorsWriterWrites a safetensors file: u64 header length, JSON header, packed data
 CSerializationMetadataType-safe metadata container for component serialization
 CSerializerMinimal base interface for model serialization backends
 CTensorBlobConcrete tensor blob owning a TensorBuffer-backed raw byte buffer
 CTensorBlobMetadataMetadata for a tensor blob in pretrained model format
 CTensorBlobViewNon-owning ITensorBlob view over externally-owned bytes
 CTensorMetadataMetadata describing a tensor in serialized form
 CZipSerializerZIP archive serializer built on miniz
 CActivationUnified elementwise activation component
 CActivationConfigConfiguration class for the elementwise Activation component
 CAxisPartitionInformation about axis partitioning of a tensor
 CBufferedTokenStreamerBuffers BufSize tokens before forwarding a contiguous span to Sink
 CBuildContextBuild-time context for Component::build()
 CComponentAbstract base class for neural network components
 CComponentConfigAbstract base for component configuration objects
 CComponentFactoryFactory for reconstructing components from serialized archives
 CCompositeComponentA component that contains and manages child components
 CConstantLRSchedulerConstant learning-rate scheduler
 CCosineLRSchedulerCosine annealing scheduler
 CCpuTensorDataTypeTraitsCPU-specific traits for abstract tensor data types
 CCrossEntropyConfigConfiguration for fused SoftmaxCrossEntropy loss
 CDecoder
 Cdependent_false
 Cfunctor_ofCompile-time map from an elementwise ActivationType to its functor
 Cfunctor_of< ActivationType::Gelu >
 Cfunctor_of< ActivationType::LeakyRelu >
 Cfunctor_of< ActivationType::Mish >
 Cfunctor_of< ActivationType::None >
 Cfunctor_of< ActivationType::Relu >
 Cfunctor_of< ActivationType::Sigmoid >
 Cfunctor_of< ActivationType::Silu >
 Cfunctor_of< ActivationType::Tanh >
 CGatedMLPGated feed-forward (GatedMLP) composite component
 CGatedMLPConfigConfiguration class for the gated feed-forward (GatedMLP) block
 CGeluGaussian Error Linear Unit (GELU) activation component
 CGeluConfigConfiguration class for GELU module
 CGemmaBlockOne Gemma 4 decoder block; kGlobal selects the global (full-attention) geometry
 CBlockBuildContextsThe per-child build contexts and split-scratch geometry this block implies
 CGemmaBlockWorkspaceTransformer-owned shared activation workspace for GemmaBlock (pooling)
 CGemmaConfigNetwork-level configuration for Gemma 4 transformer networks
 CGemmaModelGemma 4 compatible inference model
 CGemmaModelConfigDeployment configuration for Gemma language models
 CGemmaTransformerGemma 4 transformer (decoder-only) for autoregressive inference
 CGenerateParamsPer-call inputs to LanguageModel::generate
 CGptBlockTransformer encoder block as a composite component
 CGptBlockConfigConfiguration class for GPT transformer blocks
 CGptConfigNetwork-level configuration for GPT-style transformer networks
 CGptModelGPT inference model
 CGptModelConfigDeployment configuration for Gpt language models
 CGptTransformerGPT-2 style transformer (decoder-only) for autoregressive token prediction
 CGqaConfigConfiguration class for the Grouped-Query Attention module
 CGroupedQueryAttentionGrouped-Query Attention module that accepts concatenated QKV input
 CIDecoderLayerPolymorphic inference interface for one decoder layer
 CITensorAbstract interface providing essential tensor information and data access
 CLanguageModel
 CLanguageModelConfigCRTP base configuration for all deployable Mila language models
 CLanguageNetwork
 CLayerNormDevice-templated Layer Normalization component
 CLayerNormConfig
 CLearningRateSchedulerAbstract base for learning-rate schedulers
 CLinearDevice-templated fully connected (linear) component
 CLinearConfigConfiguration object for a Linear (fully connected) layer
 CLinearLRSchedulerLinear decay scheduler
 CLlamaBlock
 CBlockBuildContextsThe per-child build contexts this block implies
 CLlamaConfigNetwork-level configuration for LLaMA-style transformer networks
 CLlamaModelLLaMA 3 compatible inference model
 CLlamaModelConfigDeployment configuration for Llama language models
 CLlamaTransformerLLaMA-style transformer (decoder-only) for autoregressive token prediction
 CLossAbstract base class for neural network loss functions
 CLpeEncoder module for token and positional embeddings (device-templated)
 CLpeConfigConfiguration class for the Learned Positional Encoder
 CMemoryStatsMemory allocation breakdown for a single component
 CMLPDense feed-forward (MLP) composite component
 CMLPConfigConfiguration class for the Multi-Layer Perceptron (MLP) block
 CModel
 CModelConfigAbstract base configuration for all deployable Mila models
 CMultiAxisPartitionMulti-axis partition for normalization over trailing dimensions
 CMultiHeadAttentionMulti-Head Attention module that accepts concatenated QKV input
 CMultiHeadAttentionConfigConfiguration class for Attention module
 CNetworkRoot composite network container
 CNetworkFactoryFactory registry for Network deserialization
 COptimizerAbstract base class for parameter optimizers
 CResidualDevice-templated Residual connection component
 CResidualConfigConfiguration class for Residual connection component
 CRmsNormDevice-templated RMS Normalization component
 CRmsNormConfig
 CRopeDevice-templated RoPE component
 CRopeConfig
 CSamplerAbstract base for token samplers
 CSamplingConfigModel-fixed configuration for TokenSampler
 CSamplingParamsPer-call sampling knobs consumed by the TokenSampler
 CSerializationMetadataType-safe metadata container for component serialization
 CSoftmaxSoftmax activation module (device-templated)
 CSoftmaxConfigConfiguration class for Softmax module
 CSoftmaxCrossEntropyFused SoftmaxCrossEntropy loss module (device-templated)
 CSwigluGated-linear-unit (GLU-family) activation component
 CSwigluConfig
 CTensorDevice-aware N-dimensional tensor
 CTensorBufferDevice-agnostic buffer for storing tensor data with abstract type system
 CTensorDataTypeMapPrimary template for mapping concrete C++ types to TensorDataType
 CTensorDataTypeMap< __nv_fp8_e4m3 >
 CTensorDataTypeMap< __nv_fp8_e5m2 >
 CTensorDataTypeMap< float >Concrete type mapping for float (FP32)
 CTensorDataTypeMap< half >
 CTensorDataTypeMap< nv_bfloat16 >
 CTensorDataTypeMap< std::int16_t >Concrete type mapping for 16-bit signed integer
 CTensorDataTypeMap< std::int32_t >Concrete type mapping for 32-bit signed integer
 CTensorDataTypeMap< std::int8_t >Concrete type mapping for 8-bit signed integer
 CTensorDataTypeMap< std::uint16_t >Concrete type mapping for 16-bit unsigned integer
 CTensorDataTypeMap< std::uint32_t >Concrete type mapping for 32-bit unsigned integer
 CTensorDataTypeMap< std::uint8_t >Concrete type mapping for 8-bit unsigned integer
 CTensorDataTypeTraitsCompile-time traits for TensorDataType enumeration values
 CTensorDataTypeTraits< TensorDataType::BF16 >Traits specialization for 16-bit brain floating point
 CTensorDataTypeTraits< TensorDataType::FP16 >Traits specialization for 16-bit half precision floating point
 CTensorDataTypeTraits< TensorDataType::FP32 >Traits specialization for 32-bit IEEE 754 floating point
 CTensorDataTypeTraits< TensorDataType::FP4_E2M1 >Traits specialization for 4-bit floating point with E2M1 format
 CTensorDataTypeTraits< TensorDataType::FP4_E3M0 >Traits specialization for 4-bit floating point with E3M0 format
 CTensorDataTypeTraits< TensorDataType::FP8_E4M3 >Traits specialization for 8-bit floating point with E4M3 format
 CTensorDataTypeTraits< TensorDataType::FP8_E5M2 >Traits specialization for 8-bit floating point with E5M2 format
 CTensorDataTypeTraits< TensorDataType::INT16 >Traits specialization for 16-bit signed integer
 CTensorDataTypeTraits< TensorDataType::INT32 >Traits specialization for 32-bit signed integer
 CTensorDataTypeTraits< TensorDataType::INT8 >Traits specialization for 8-bit signed integer
 CTensorDataTypeTraits< TensorDataType::UINT16 >Traits specialization for 16-bit unsigned integer
 CTensorDataTypeTraits< TensorDataType::UINT32 >Traits specialization for 32-bit unsigned integer
 CTensorDataTypeTraits< TensorDataType::UINT8 >Traits specialization for 8-bit unsigned integer
 CTensorHostTypeMapMaps abstract TensorDataType to host-compatible C++ type and TensorDataType
 CTensorHostTypeMap< TensorDataType::BF16 >Host type for 16-bit brain floating point
 CTensorHostTypeMap< TensorDataType::FP16 >Host type for 16-bit half precision floating point
 CTensorHostTypeMap< TensorDataType::FP32 >Host type for 32-bit IEEE 754 floating point
 CTensorHostTypeMap< TensorDataType::FP8_E4M3 >Host type for 8-bit floating point with E4M3 format
 CTensorHostTypeMap< TensorDataType::FP8_E5M2 >Host type for 8-bit floating point with E5M2 format
 CTensorHostTypeMap< TensorDataType::INT16 >Host type for 16-bit signed integer
 CTensorHostTypeMap< TensorDataType::INT32 >Host type for 32-bit signed integer
 CTensorHostTypeMap< TensorDataType::INT8 >Host type for 8-bit signed integer
 CTensorHostTypeMap< TensorDataType::UINT16 >Host type for 16-bit unsigned integer
 CTensorHostTypeMap< TensorDataType::UINT32 >Host type for 32-bit unsigned integer
 CTensorHostTypeMap< TensorDataType::UINT8 >Host type for 8-bit unsigned integer
 CTensorOpsDevice-dispatched TensorOps interface template
 CTensorShapeFixed-capacity inline shape descriptor for N-dimensional tensors
 CTokenEmbeddingPure token embedding component (device-templated)
 CTokenEmbeddingConfigConfiguration for the TokenEmbedding component
 CTokenSamplerThe standard token sampler: temperature / top-k / top-p multinomial
 CUniqueIdGeneratorThread-safe generator for unique tensor identifiers
 CVulkanTensorTraitsVulkan-specific traits for abstract tensor data types
 NLogging
 CConsoleSinkThread-safe logging sink that writes formatted records to the console
 CFileSinkThread-safe logging sink that writes formatted records to a file
 CLoggerAbstract logging interface and static facade
 CNullSinkA logging sink that silently discards all records
 NProfiling
 CNvtxRange
 NUtils
 CStepLogger
 CVersionSemantic Version data
 Nstd
 Chash< Mila::Dnn::Compute::DeviceId >Hash specialization for DeviceId