Closed faaany closed 1 month ago
@abhilash1910
Yes @muellerzr looks like a good abstraction, We are internally validating the "gpu" predicate of the validation logic . If it is no longer required then new design LGTM.
@muellerzr PR updated with expected_device_type
, pls review, thx!
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
What does this PR do?
This PR removes the outdated and unnecessary code of xpu device check in the following code snippet
The reasons are
d
will definitively not be "cpu"torch.device(d).type == "xpu"
is enough to check xpu device just like the case in MLU and NPU.Who can review?
@SunMarc and @muellerzr