from torch import device, Stream

def is_instancemethod(obj: object) -> bool: ...
def get_current_stream(device: device) -> Stream: ...
