pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::WeightLoadOptions Struct Reference

Loading settings. More...

#include <causal_lm.hpp>

Public Attributes

bool strict = true
 Every target must be loaded and every source used (or ignored); otherwise nothing is changed and the call throws.
 
std::vector< std::string > ignore
 Source tensors that may go unused, for example a duplicated lm_head.weight in a tied checkpoint.
 

Detailed Description

Loading settings.

Member Data Documentation

◆ ignore

std::vector<std::string> pulsatrix::WeightLoadOptions::ignore

Source tensors that may go unused, for example a duplicated lm_head.weight in a tied checkpoint.

◆ strict

bool pulsatrix::WeightLoadOptions::strict = true

Every target must be loaded and every source used (or ignored); otherwise nothing is changed and the call throws.


The documentation for this struct was generated from the following file: