mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-25 23:38:59 +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
|
@cache
|
||||||
def get_device_properties(self) -> DeviceProperties:
|
def get_device_properties() -> DeviceProperties:
|
||||||
"""
|
"""
|
||||||
Get environment device properties.
|
Get environment device properties.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user