79777954

Date: 2025-09-29 09:31:30
Score: 0.5
Natty:
Report link

From (I think) v2.6.0, torch.accelerator.current_accelerator() allows the device to be identified within a function without it being passed as a parameter.

This release added the torch.accelerator package, which allows easier interaction with accelerators / devices.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: DyedPurple