mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-23 22:38:58 +06:00
Fix get_device_properties (#36997)
Fix remove remnant self from get_device_properties Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
This commit is contained in:
parent
8084b26294
commit
ad5d40de9c
@ -3056,7 +3056,7 @@ DeviceProperties = tuple[Union[str, None], Union[int, None]]
|
||||
|
||||
|
||||
@cache
|
||||
def get_device_properties(self) -> DeviceProperties:
|
||||
def get_device_properties() -> DeviceProperties:
|
||||
"""
|
||||
Get environment device properties.
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user