[CPU] Ship triton-cpu wheel and fix several hardcoded pin_memory=True (#52092)

Signed-off-by: jiang1.li <jiang1.li@intel.com>
This commit is contained in:
Li, Jiang
2026-08-13 14:40:53 +08:00
committed by GitHub
parent 89c8401c8a
commit 373592ef57
8 changed files with 50 additions and 41 deletions
+1
View File
@@ -63,6 +63,7 @@ torch.cuda.Event = _EventPlaceholder
torch.cuda.Stream = _StreamPlaceholder
torch.cuda.set_stream = noop
torch.cuda.current_stream = lambda *args, **kwargs: _StreamPlaceholder()
torch.cuda.stream = lambda *args, **kwargs: _StreamPlaceholder()
torch.accelerator.synchronize = noop
torch.accelerator.empty_cache = empty_cache_noop
torch.Tensor.pin_memory = fake_pin_memory