Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/twinkle/sampler/vllm_sampler/vllm_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ def __init__(self, model_id: str, engine_args: Dict[str, Any] = None, device_mes
# fix: On NPU, monkey_patch_model can trigger Triton compatibility errors and abort sampler init.
# fix: Explicitly skip this patch on NPU and keep it for non-NPU paths only.
# NPU platform may trigger triton errors with monkey_patch_model
if Platform.get_platform().device_prefix() != 'npu':
self._run_in_loop(self.engine.engine.collective_rpc('monkey_patch_model'))
self._run_in_loop(self.engine.engine.collective_rpc('monkey_patch_model'))

VLLMLoraWeights()(self)

Expand Down
Loading