Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ stream
Method
stream
torch/_dynamo/device_interface.py:81–82 ·
view source on GitHub ↗
(stream: torch.Stream)
Source
from the content-addressed store, hash-verified
79
80
@staticmethod
81
def
stream(stream: torch.Stream):
82
raise
NotImplementedError()
83
84
@staticmethod
85
def
current_stream():
Callers
15
to_map
Function · 0.80
_refill
Method · 0.80
_refill
Method · 0.80
_unshard
Function · 0.80
_post_backward_hook
Function · 0.80
_reduce_grad
Function · 0.80
use_stream
Function · 0.80
apply_optim_in_backward_hook
Function · 0.80
_reducer_allreduce_and_upcast_hook
Function · 0.80
_use_cuda_memory_pool_manager
Function · 0.80
cudagraphify_impl
Function · 0.80
_worker
Function · 0.80
Calls
no outgoing calls
Tested by
15
test_DistributedDataParallel_non_default_stream
Method · 0.64
async_cuda_sleep_and_set_to_one
Function · 0.64
forward
Method · 0.64
_test_cuda_future_extraction
Method · 0.64
_slow_add_on_user_stream
Method · 0.64
test_cuda_future_callback_changes_devices
Method · 0.64
test_cuda_future_value_on_bad_device
Method · 0.64
test_async_execution_with_cuda_future
Method · 0.64
test_async_execution_nested_with_cuda_future
Method · 0.64
test_fused_attention_vs_math_ref_grads_cudagraph
Method · 0.64
cuda_multiply_two
Function · 0.64
test_event
Method · 0.64