Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Dnn::QwenModel< TDeviceType, TPrecision > Member List

This is the complete list of members for Mila::Dnn::QwenModel< TDeviceType, TPrecision >, including all inherited members.

awaitSampledToken()Mila::Dnn::LanguageModel< TDeviceType, TPrecision >inlineprotected
Base typedef (defined in Mila::Dnn::LanguageModel< TDeviceType, TPrecision >)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >
componentPaths() constMila::Dnn::LanguageModel< TDeviceType, TPrecision >inline
configFromMetadata(const WeightsMetadata &metadata)Mila::Dnn::QwenModel< TDeviceType, TPrecision >inlinestatic
contextLength() const noexceptMila::Dnn::QwenModel< TDeviceType, TPrecision >inline
enqueueSampleNext(const TensorType &logits, TokenTensor &token_out, const SamplingParams &params)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >inlineprotected
eosToken() const noexcept override (defined in Mila::Dnn::QwenModel< TDeviceType, TPrecision >)Mila::Dnn::QwenModel< TDeviceType, TPrecision >inlineprotectedvirtual
finalLogitSoftcap() const noexceptMila::Dnn::LanguageModel< TDeviceType, TPrecision >inlineprotectedvirtual
fp4_group_size_Mila::Dnn::LanguageModel< TDeviceType, TPrecision >protected
generate(std::span< const int32_t > prompt_tokens, const std::function< void(int32_t)> &on_token, const GenerateParams &params={}, std::stop_token stop={})Mila::Dnn::LanguageModel< TDeviceType, TPrecision >inline
getDeploymentFootprint(const std::filesystem::path &path, const QwenModelConfig &model_config, DeviceId device_id=DeviceId{ TDeviceType, 0 })Mila::Dnn::QwenModel< TDeviceType, TPrecision >inlinestatic
getDeviceId() const noexceptMila::Dnn::Model< TDeviceType, TPrecision >inline
getMemoryStats() constMila::Dnn::Model< TDeviceType, TPrecision >inline
getModelConfig() const noexceptMila::Dnn::QwenModel< TDeviceType, TPrecision >inline
getNetwork() noexcept (defined in Mila::Dnn::LanguageModel< TDeviceType, TPrecision >)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >inlineprotected
getNetwork() const noexcept (defined in Mila::Dnn::LanguageModel< TDeviceType, TPrecision >)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >inlineprotected
getNetworkConfig() const noexceptMila::Dnn::QwenModel< TDeviceType, TPrecision >inline
getRequiredMemory(const std::filesystem::path &path, const QwenModelConfig &model_config, DeviceId device_id=DeviceId{ TDeviceType, 0 })Mila::Dnn::QwenModel< TDeviceType, TPrecision >inlinestatic
getRuntimeMode() const noexceptMila::Dnn::Model< TDeviceType, TPrecision >inline
isEval() const noexceptMila::Dnn::Model< TDeviceType, TPrecision >inline
isInferenceMode() const noexceptMila::Dnn::Model< TDeviceType, TPrecision >inline
isTrainingMode() const noexceptMila::Dnn::Model< TDeviceType, TPrecision >inline
LanguageModel(const LanguageModel &)=delete (defined in Mila::Dnn::LanguageModel< TDeviceType, TPrecision >)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >
LanguageModel(LanguageModel &&)=default (defined in Mila::Dnn::LanguageModel< TDeviceType, TPrecision >)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >
LanguageModel(std::unique_ptr< LanguageModelNetwork< TDeviceType, TPrecision > > network, RuntimeMode runtime_mode, Serialization::WeightsMetadata source_metadata={}, WeightQuantization weight_quantization=WeightQuantization::None, int fp4_group_size=128)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >inlineexplicitprotected
load(const std::filesystem::path &path, const QwenModelConfig &model_config, DeviceId device_id=DeviceId{ TDeviceType, 0 })Mila::Dnn::QwenModel< TDeviceType, TPrecision >inlinestatic
maxSequenceLength() const noexcept override (defined in Mila::Dnn::QwenModel< TDeviceType, TPrecision >)Mila::Dnn::QwenModel< TDeviceType, TPrecision >inlinevirtual
Model(const Model &)=delete (defined in Mila::Dnn::Model< TDeviceType, TPrecision >)Mila::Dnn::Model< TDeviceType, TPrecision >
Model(Model &&)=default (defined in Mila::Dnn::Model< TDeviceType, TPrecision >)Mila::Dnn::Model< TDeviceType, TPrecision >
Model(std::unique_ptr< NetworkType > network, RuntimeMode runtime_mode)Mila::Dnn::Model< TDeviceType, TPrecision >inlineexplicitprotected
ModelBase typedef (defined in Mila::Dnn::QwenModel< TDeviceType, TPrecision >)Mila::Dnn::QwenModel< TDeviceType, TPrecision >
MR typedef (defined in Mila::Dnn::QwenModel< TDeviceType, TPrecision >)Mila::Dnn::QwenModel< TDeviceType, TPrecision >
network_Mila::Dnn::Model< TDeviceType, TPrecision >protected
NetworkType typedef (defined in Mila::Dnn::Model< TDeviceType, TPrecision >)Mila::Dnn::Model< TDeviceType, TPrecision >
observe(std::string_view pattern, Compute::ComputePassMask passes, Compute::ActivationObserver sink)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >inline
onGenerating(std::span< const int32_t > prompt_tokens, const std::function< void(int32_t)> &on_token, const GenerateParams &params, std::stop_token stop) overrideMila::Dnn::QwenModel< TDeviceType, TPrecision >inlineprotectedvirtual
onTraining() overrideMila::Dnn::QwenModel< TDeviceType, TPrecision >inlineprotectedvirtual
operator=(const QwenModel &)=delete (defined in Mila::Dnn::QwenModel< TDeviceType, TPrecision >)Mila::Dnn::QwenModel< TDeviceType, TPrecision >
operator=(QwenModel &&)=default (defined in Mila::Dnn::QwenModel< TDeviceType, TPrecision >)Mila::Dnn::QwenModel< TDeviceType, TPrecision >
operator=(const LanguageModel &)=delete (defined in Mila::Dnn::LanguageModel< TDeviceType, TPrecision >)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >
operator=(LanguageModel &&)=default (defined in Mila::Dnn::LanguageModel< TDeviceType, TPrecision >)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >
operator=(const Model &)=delete (defined in Mila::Dnn::Model< TDeviceType, TPrecision >)Mila::Dnn::Model< TDeviceType, TPrecision >
operator=(Model &&)=default (defined in Mila::Dnn::Model< TDeviceType, TPrecision >)Mila::Dnn::Model< TDeviceType, TPrecision >
QwenKvPolicy typedefMila::Dnn::QwenModel< TDeviceType, TPrecision >
QwenModel(const QwenModel &)=delete (defined in Mila::Dnn::QwenModel< TDeviceType, TPrecision >)Mila::Dnn::QwenModel< TDeviceType, TPrecision >
QwenModel(QwenModel &&)=default (defined in Mila::Dnn::QwenModel< TDeviceType, TPrecision >)Mila::Dnn::QwenModel< TDeviceType, TPrecision >
sampleNext(const TensorType &logits, TokenTensor &token_out, const SamplingParams &params)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >inlineprotected
save(const std::filesystem::path &path) constMila::Dnn::LanguageModel< TDeviceType, TPrecision >inline
scoreTokens(const std::vector< int32_t > &tokens)Mila::Dnn::QwenModel< TDeviceType, TPrecision >inline
seedSampler(uint64_t seed)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >inline
setEval(bool eval)Mila::Dnn::Model< TDeviceType, TPrecision >inline
source_metadata_Mila::Dnn::LanguageModel< TDeviceType, TPrecision >protected
stopObserving()Mila::Dnn::LanguageModel< TDeviceType, TPrecision >inline
stopTokens() const override (defined in Mila::Dnn::QwenModel< TDeviceType, TPrecision >)Mila::Dnn::QwenModel< TDeviceType, TPrecision >inlineprotectedvirtual
supportsPromptPrefixReuse() const noexceptMila::Dnn::QwenModel< TDeviceType, TPrecision >inline
TensorType typedef (defined in Mila::Dnn::QwenModel< TDeviceType, TPrecision >)Mila::Dnn::QwenModel< TDeviceType, TPrecision >
TokenIndexType typedef (defined in Mila::Dnn::QwenModel< TDeviceType, TPrecision >)Mila::Dnn::QwenModel< TDeviceType, TPrecision >
TokenTensor typedef (defined in Mila::Dnn::LanguageModel< TDeviceType, TPrecision >)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >protected
toString() const overrideMila::Dnn::QwenModel< TDeviceType, TPrecision >inlinevirtual
train()Mila::Dnn::Model< TDeviceType, TPrecision >inline
vocabSize() const noexcept override (defined in Mila::Dnn::QwenModel< TDeviceType, TPrecision >)Mila::Dnn::QwenModel< TDeviceType, TPrecision >inlinevirtual
weight_quantization_Mila::Dnn::LanguageModel< TDeviceType, TPrecision >protected
weightQuantizationScheme() constMila::Dnn::LanguageModel< TDeviceType, TPrecision >inline
~LanguageModel()=default (defined in Mila::Dnn::LanguageModel< TDeviceType, TPrecision >)Mila::Dnn::LanguageModel< TDeviceType, TPrecision >virtual
~Model()=default (defined in Mila::Dnn::Model< TDeviceType, TPrecision >)Mila::Dnn::Model< TDeviceType, TPrecision >virtual
~QwenModel()=default (defined in Mila::Dnn::QwenModel< TDeviceType, TPrecision >)Mila::Dnn::QwenModel< TDeviceType, TPrecision >