|
pulsatrix 1.1.0
|
One entry of a name-mapping manifest. More...
#include <causal_lm.hpp>
Public Attributes | |
| std::string | source |
| The checkpoint tensor's name. | |
| std::string | target |
| The model parameter's (or buffer's) name. | |
| WeightTransform | transform = WeightTransform::Identity |
| int64_t | row_begin = 0 |
Take only these rows of the source's first axis, before the transform: one part of a fused tensor such as a qkv_proj. row_count < 0 takes them all. | |
| int64_t | row_count = -1 |
One entry of a name-mapping manifest.
| int64_t pulsatrix::WeightMapping::row_begin = 0 |
Take only these rows of the source's first axis, before the transform: one part of a fused tensor such as a qkv_proj. row_count < 0 takes them all.
| int64_t pulsatrix::WeightMapping::row_count = -1 |
| std::string pulsatrix::WeightMapping::source |
The checkpoint tensor's name.
| std::string pulsatrix::WeightMapping::target |
The model parameter's (or buffer's) name.
| WeightTransform pulsatrix::WeightMapping::transform = WeightTransform::Identity |