| 70 | |
| 71 | struct Session { |
| 72 | Session(const std::string& checkpoint_dir, bool lock_model_weights, int context, uint64_t sampler_seed): |
| 73 | model_data(checkpoint_dir, lock_model_weights), |
| 74 | model(model_data, context), |
| 75 | state(model.config), |
| 76 | sampler(model.config, sampler_seed), |
| 77 | tokenizer(model_data) {} |
| 78 | YALMData model_data; |
| 79 | Model model; |
| 80 | InferenceState state; |
nothing calls this directly
no outgoing calls
no test coverage detected