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

#include <variant_scoring.hpp>

Public Attributes

int64_t window = 1024
 The longest token window the model sees. A longer sequence is cut, for each masked position, to the window ProteinGym's get_optimal_window picks around it. ESM-2 uses 1024.
 
int64_t batch_size = 8
 Masked copies run together in one forward pass, at most. It changes speed, not results.
 
int64_t max_pass_bytes = int64_t{4} << 30
 The memory one forward pass may use, by ScoringPassBytes. A batch of long windows shrinks to fit; a single sequence that doesn't fit is refused rather than risking the machine running out of memory.
 

Member Data Documentation

◆ batch_size

int64_t pulsatrix::VariantScoringOptions::batch_size = 8

Masked copies run together in one forward pass, at most. It changes speed, not results.

◆ max_pass_bytes

int64_t pulsatrix::VariantScoringOptions::max_pass_bytes = int64_t{4} << 30

The memory one forward pass may use, by ScoringPassBytes. A batch of long windows shrinks to fit; a single sequence that doesn't fit is refused rather than risking the machine running out of memory.

◆ window

int64_t pulsatrix::VariantScoringOptions::window = 1024

The longest token window the model sees. A longer sequence is cut, for each masked position, to the window ProteinGym's get_optimal_window picks around it. ESM-2 uses 1024.


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