[Hardware][Intel] Isolate CPUModelRunner and ModelRunner for better maintenance (#3824)

This commit is contained in:
bigPYJ1151
2024-04-11 11:56:49 -07:00
committed by GitHub
parent 08ccee1e83
commit 8afca50889
5 changed files with 443 additions and 61 deletions
-1
View File
@@ -372,7 +372,6 @@ def is_pin_memory_available() -> bool:
print_warning_once("Pin memory is not supported on Neuron.")
return False
elif is_cpu():
print_warning_once("Pin memory is not supported on CPU.")
return False
return True