Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit fb0a296

Browse files
authored
Added missing sampler params (#22)
1 parent e6634f9 commit fb0a296

File tree

1 file changed

+1
-0
lines changed
  • kilroy_module_pytorch_py_sdk/src/kilroy_module_pytorch_py_sdk/generator

1 file changed

+1
-0
lines changed

kilroy_module_pytorch_py_sdk/src/kilroy_module_pytorch_py_sdk/generator/generator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ async def _load_saved_state(self, directory: Path) -> State:
122122
Sampler,
123123
category=state_dict["sampler_type"],
124124
default=partial(self._build_sampler, params),
125+
**params.samplers_params.get(params.sampler_type, {}),
125126
),
126127
samplers_params=state_dict["samplers_params"],
127128
contexts=state_dict["contexts"],

0 commit comments

Comments
 (0)