{".class": "MypyFile", "_fullname": "torch.cuda", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "Any": {".class": "SymbolTableNode", "cross_ref": "typing.Any", "kind": "Gdef"}, "BFloat16Storage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.storage._TypedStorage"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.BFloat16Storage", "name": "BFloat16Storage", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.BFloat16Storage", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.BFloat16Storage", "torch.storage._TypedStorage", "builtins.object"], "names": {".class": "SymbolTable", "dtype": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "torch.cuda.BFloat16Storage.dtype", "name": "dtype", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "dtype", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "BoolStorage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.storage._TypedStorage"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.BoolStorage", "name": "BoolStorage", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.BoolStorage", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.BoolStorage", "torch.storage._TypedStorage", "builtins.object"], "names": {".class": "SymbolTable", "dtype": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "torch.cuda.BoolStorage.dtype", "name": "dtype", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "dtype", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "ByteStorage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.storage._TypedStorage"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.ByteStorage", "name": "ByteStorage", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.ByteStorage", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.ByteStorage", "torch.storage._TypedStorage", "builtins.object"], "names": {".class": "SymbolTable", "dtype": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "torch.cuda.ByteStorage.dtype", "name": "dtype", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "dtype", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "CUDAGraph": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.graphs.CUDAGraph", "kind": "Gdef"}, "CharStorage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.storage._TypedStorage"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.CharStorage", "name": "CharStorage", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.CharStorage", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.CharStorage", "torch.storage._TypedStorage", "builtins.object"], "names": {".class": "SymbolTable", "dtype": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "torch.cuda.CharStorage.dtype", "name": "dtype", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "dtype", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "ComplexDoubleStorage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.storage._TypedStorage"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.ComplexDoubleStorage", "name": "ComplexDoubleStorage", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.ComplexDoubleStorage", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.ComplexDoubleStorage", "torch.storage._TypedStorage", "builtins.object"], "names": {".class": "SymbolTable", "dtype": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "torch.cuda.ComplexDoubleStorage.dtype", "name": "dtype", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "dtype", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "ComplexFloatStorage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.storage._TypedStorage"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.ComplexFloatStorage", "name": "ComplexFloatStorage", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.ComplexFloatStorage", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.ComplexFloatStorage", "torch.storage._TypedStorage", "builtins.object"], "names": {".class": "SymbolTable", "dtype": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "torch.cuda.ComplexFloatStorage.dtype", "name": "dtype", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "dtype", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "CudaError": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.RuntimeError"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.CudaError", "name": "CudaError", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.CudaError", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.CudaError", "builtins.RuntimeError", "builtins.Exception", "builtins.BaseException", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "code"], "flags": [], "fullname": "torch.cuda.CudaError.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "code"], "arg_types": ["torch.cuda.CudaError", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of CudaError", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "DeferredCudaCallError": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.Exception"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.DeferredCudaCallError", "name": "DeferredCudaCallError", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.DeferredCudaCallError", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.DeferredCudaCallError", "builtins.Exception", "builtins.BaseException", "builtins.object"], "names": {".class": "SymbolTable"}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Device": {".class": "SymbolTableNode", "cross_ref": "torch.types.Device", "kind": "Gdef"}, "Dict": {".class": "SymbolTableNode", "cross_ref": "typing.Dict", "kind": "Gdef"}, "DoubleStorage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.storage._TypedStorage"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.DoubleStorage", "name": "DoubleStorage", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.DoubleStorage", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.DoubleStorage", "torch.storage._TypedStorage", "builtins.object"], "names": {".class": "SymbolTable", "dtype": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "torch.cuda.DoubleStorage.dtype", "name": "dtype", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "dtype", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Event": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.streams.Event", "kind": "Gdef"}, "ExternalStream": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.streams.ExternalStream", "kind": "Gdef"}, "FloatStorage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.storage._TypedStorage"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.FloatStorage", "name": "FloatStorage", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.FloatStorage", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.FloatStorage", "torch.storage._TypedStorage", "builtins.object"], "names": {".class": "SymbolTable", "dtype": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "torch.cuda.FloatStorage.dtype", "name": "dtype", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "dtype", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "HalfStorage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.storage._TypedStorage"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.HalfStorage", "name": "HalfStorage", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.HalfStorage", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.HalfStorage", "torch.storage._TypedStorage", "builtins.object"], "names": {".class": "SymbolTable", "dtype": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "torch.cuda.HalfStorage.dtype", "name": "dtype", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "dtype", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "IntStorage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.storage._TypedStorage"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.IntStorage", "name": "IntStorage", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.IntStorage", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.IntStorage", "torch.storage._TypedStorage", "builtins.object"], "names": {".class": "SymbolTable", "dtype": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "torch.cuda.IntStorage.dtype", "name": "dtype", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "dtype", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "List": {".class": "SymbolTableNode", "cross_ref": "typing.List", "kind": "Gdef"}, "LongStorage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.storage._TypedStorage"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.LongStorage", "name": "LongStorage", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.LongStorage", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.LongStorage", "torch.storage._TypedStorage", "builtins.object"], "names": {".class": "SymbolTable", "dtype": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "torch.cuda.LongStorage.dtype", "name": "dtype", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "dtype", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef"}, "ShortStorage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.storage._TypedStorage"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.ShortStorage", "name": "ShortStorage", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.ShortStorage", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.ShortStorage", "torch.storage._TypedStorage", "builtins.object"], "names": {".class": "SymbolTable", "dtype": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "torch.cuda.ShortStorage.dtype", "name": "dtype", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "dtype", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Stream": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.streams.Stream", "kind": "Gdef"}, "StreamContext": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.StreamContext", "name": "StreamContext", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.StreamContext", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.StreamContext", "builtins.object"], "names": {".class": "SymbolTable", "__enter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "torch.cuda.StreamContext.__enter__", "name": "__enter__", "type": null}}, "__exit__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": [null, null, null, null], "flags": [], "fullname": "torch.cuda.StreamContext.__exit__", "name": "__exit__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": [null, null, null, null], "arg_types": ["torch.cuda.StreamContext", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__exit__ of StreamContext", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "stream"], "flags": [], "fullname": "torch.cuda.StreamContext.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "stream"], "arg_types": ["torch.cuda.StreamContext", {".class": "UnionType", "items": ["torch.cuda.streams.Stream", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of StreamContext", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "cur_stream": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.cuda.StreamContext.cur_stream", "name": "cur_stream", "type": {".class": "UnionType", "items": ["torch.cuda.streams.Stream", {".class": "NoneType"}]}}}, "dst_prev_stream": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.cuda.StreamContext.dst_prev_stream", "name": "dst_prev_stream", "type": {".class": "UnionType", "items": ["torch.cuda.streams.Stream", {".class": "NoneType"}]}}}, "idx": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.cuda.StreamContext.idx", "name": "idx", "type": "builtins.int"}}, "src_prev_stream": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.cuda.StreamContext.src_prev_stream", "name": "src_prev_stream", "type": {".class": "UnionType", "items": ["torch.cuda.streams.Stream", {".class": "NoneType"}]}}}, "stream": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.cuda.StreamContext.stream", "name": "stream", "type": {".class": "UnionType", "items": ["torch.cuda.streams.Stream", {".class": "NoneType"}]}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Tuple": {".class": "SymbolTableNode", "cross_ref": "typing.Tuple", "kind": "Gdef"}, "Union": {".class": "SymbolTableNode", "cross_ref": "typing.Union", "kind": "Gdef"}, "_CudaBase": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda._CudaBase", "name": "_CudaBase", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda._CudaBase", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda._CudaBase", "builtins.object"], "names": {".class": "SymbolTable", "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value"], "fullname": "torch.cuda._CudaBase.__new__", "name": "__new__", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["cls", "args", "kwargs"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "is_cuda": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value"], "fullname": "torch.cuda._CudaBase.is_cuda", "name": "is_cuda", "type": "builtins.bool"}}, "is_sparse": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value"], "fullname": "torch.cuda._CudaBase.is_sparse", "name": "is_sparse", "type": "builtins.bool"}}, "type": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "flags": [], "fullname": "torch.cuda._CudaBase.type", "name": "type", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_CudaDeviceProperties": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 4, "fullname": "torch.cuda._CudaDeviceProperties", "line": 67, "no_args": true, "normalized": false, "target": "torch._C._CudaDeviceProperties"}}, "_LazySeedTracker": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda._LazySeedTracker", "name": "_LazySeedTracker", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda._LazySeedTracker", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda._LazySeedTracker", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.cuda._LazySeedTracker.__init__", "name": "__init__", "type": null}}, "call_order": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.cuda._LazySeedTracker.call_order", "name": "call_order", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "get_calls": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.cuda._LazySeedTracker.get_calls", "name": "get_calls", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.cuda._LazySeedTracker"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "get_calls of _LazySeedTracker", "ret_type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "builtins.list"}, "type_guard": null, "variables": []}}}, "manual_seed_all_cb": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.cuda._LazySeedTracker.manual_seed_all_cb", "name": "manual_seed_all_cb", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "manual_seed_cb": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.cuda._LazySeedTracker.manual_seed_cb", "name": "manual_seed_cb", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "queue_seed": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "cb", "traceback"], "flags": [], "fullname": "torch.cuda._LazySeedTracker.queue_seed", "name": "queue_seed", "type": null}}, "queue_seed_all": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "cb", "traceback"], "flags": [], "fullname": "torch.cuda._LazySeedTracker.queue_seed_all", "name": "queue_seed_all", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_StorageBase": {".class": "SymbolTableNode", "cross_ref": "torch.storage._StorageBase", "kind": "Gdef"}, "_TypedStorage": {".class": "SymbolTableNode", "cross_ref": "torch.storage._TypedStorage", "kind": "Gdef"}, "_UntypedStorage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.cuda._CudaBase", "torch._C.CudaByteStorageBase", "torch.storage._StorageBase"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda._UntypedStorage", "name": "_UntypedStorage", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda._UntypedStorage", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda._UntypedStorage", "torch.cuda._CudaBase", "torch._C.CudaByteStorageBase", "torch.storage._StorageBase", "builtins.object"], "names": {".class": "SymbolTable"}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.cuda.__annotations__", "name": "__annotations__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.cuda.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.cuda.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.cuda.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.cuda.__package__", "name": "__package__", "type": "builtins.str"}}, "__path__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.cuda.__path__", "name": "__path__", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}}}, "_check_capability": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda._check_capability", "name": "_check_capability", "type": null}}, "_check_cubins": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda._check_cubins", "name": "_check_cubins", "type": null}}, "_cudart": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "torch.cuda._cudart", "name": "_cudart", "type": {".class": "AnyType", "missing_import_name": "torch.cuda._cudart", "source_any": null, "type_of_any": 3}}}, "_device": {".class": "SymbolTableNode", "cross_ref": "torch._C.device", "kind": "Gdef"}, "_device_t": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "torch.cuda._device_t", "line": 36, "no_args": false, "normalized": false, "target": {".class": "UnionType", "items": ["torch._C.device", "builtins.str", "builtins.int", {".class": "NoneType"}]}}}, "_dummy_type": {".class": "SymbolTableNode", "cross_ref": "torch.cuda._utils._dummy_type", "kind": "Gdef"}, "_get_device_index": {".class": "SymbolTableNode", "cross_ref": "torch.cuda._utils._get_device_index", "kind": "Gdef"}, "_initialization_lock": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "torch.cuda._initialization_lock", "name": "_initialization_lock", "type": "threading.Lock"}}, "_initialized": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "torch.cuda._initialized", "name": "_initialized", "type": "builtins.bool"}}, "_is_in_bad_fork": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "torch.cuda._is_in_bad_fork", "name": "_is_in_bad_fork", "type": {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "", "ret_type": "builtins.bool", "type_guard": null, "variables": []}]}}}, "_lazy_call": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 4], "arg_names": ["callable", "kwargs"], "flags": [], "fullname": "torch.cuda._lazy_call", "name": "_lazy_call", "type": null}}, "_lazy_init": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda._lazy_init", "name": "_lazy_init", "type": null}}, "_lazy_new": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["cls", "args", "kwargs"], "flags": ["is_static", "is_decorated"], "fullname": "torch.cuda._lazy_new", "name": "_lazy_new", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_staticmethod", "is_ready"], "fullname": null, "name": "_lazy_new", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["cls", "args", "kwargs"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "_lazy_new", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "_lazy_seed_tracker": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "torch.cuda._lazy_seed_tracker", "name": "_lazy_seed_tracker", "type": "torch.cuda._LazySeedTracker"}}, "_queued_calls": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "torch.cuda._queued_calls", "name": "_queued_calls", "type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.list"}}}, "_sleep": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["cycles"], "flags": [], "fullname": "torch.cuda._sleep", "name": "_sleep", "type": null}}, "_tls": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "torch.cuda._tls", "name": "_tls", "type": "threading.local"}}, "amp": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.amp", "kind": "Gdef"}, "caching_allocator_alloc": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.caching_allocator_alloc", "kind": "Gdef"}, "caching_allocator_delete": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.caching_allocator_delete", "kind": "Gdef"}, "can_device_access_peer": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["device", "peer_device"], "flags": [], "fullname": "torch.cuda.can_device_access_peer", "name": "can_device_access_peer", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["device", "peer_device"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "torch.cuda._device_t"}, {".class": "TypeAliasType", "args": [], "type_ref": "torch.cuda._device_t"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "can_device_access_peer", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "check_error": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["res"], "flags": [], "fullname": "torch.cuda.check_error", "name": "check_error", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["res"], "arg_types": ["builtins.int"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "check_error", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "classproperty": {".class": "SymbolTableNode", "cross_ref": "torch._utils.classproperty", "kind": "Gdef"}, "collections": {".class": "SymbolTableNode", "cross_ref": "collections", "kind": "Gdef"}, "contextlib": {".class": "SymbolTableNode", "cross_ref": "contextlib", "kind": "Gdef"}, "cudaStatus": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.cudaStatus", "name": "cudaStatus", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.cudaStatus", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.cudaStatus", "builtins.object"], "names": {".class": "SymbolTable", "ERROR_NOT_READY": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready", "has_explicit_value"], "fullname": "torch.cuda.cudaStatus.ERROR_NOT_READY", "name": "ERROR_NOT_READY", "type": "builtins.int"}}, "SUCCESS": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready", "has_explicit_value"], "fullname": "torch.cuda.cudaStatus.SUCCESS", "name": "SUCCESS", "type": "builtins.int"}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "cudart": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda.cudart", "name": "cudart", "type": null}}, "current_blas_handle": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda.current_blas_handle", "name": "current_blas_handle", "type": null}}, "current_device": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda.current_device", "name": "current_device", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "current_device", "ret_type": "builtins.int", "type_guard": null, "variables": []}}}, "current_stream": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [1], "arg_names": ["device"], "flags": [], "fullname": "torch.cuda.current_stream", "name": "current_stream", "type": {".class": "CallableType", "arg_kinds": [1], "arg_names": ["device"], "arg_types": [{".class": "UnionType", "items": ["torch._C.device", "builtins.str", "builtins.int", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "current_stream", "ret_type": "torch.cuda.streams.Stream", "type_guard": null, "variables": []}}}, "default_generators": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready", "has_explicit_value"], "fullname": "torch.cuda.default_generators", "name": "default_generators", "type": {".class": "TupleType", "implicit": false, "items": ["torch._C.Generator"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "default_stream": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [1], "arg_names": ["device"], "flags": [], "fullname": "torch.cuda.default_stream", "name": "default_stream", "type": {".class": "CallableType", "arg_kinds": [1], "arg_names": ["device"], "arg_types": [{".class": "UnionType", "items": ["torch._C.device", "builtins.str", "builtins.int", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "default_stream", "ret_type": "torch.cuda.streams.Stream", "type_guard": null, "variables": []}}}, "device": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.device", "name": "device", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.device", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.device", "builtins.object"], "names": {".class": "SymbolTable", "__enter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "torch.cuda.device.__enter__", "name": "__enter__", "type": null}}, "__exit__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": [null, null, null, null], "flags": [], "fullname": "torch.cuda.device.__exit__", "name": "__exit__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": [null, null, null, null], "arg_types": ["torch.cuda.device", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__exit__ of device", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "device"], "flags": [], "fullname": "torch.cuda.device.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "device"], "arg_types": ["torch.cuda.device", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of device", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "idx": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.cuda.device.idx", "name": "idx", "type": "builtins.int"}}, "prev_idx": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.cuda.device.prev_idx", "name": "prev_idx", "type": "builtins.int"}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "device_count": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda.device_count", "name": "device_count", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "device_count", "ret_type": "builtins.int", "type_guard": null, "variables": []}}}, "device_of": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.cuda.device"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.device_of", "name": "device_of", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.device_of", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda", "mro": ["torch.cuda.device_of", "torch.cuda.device", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "obj"], "flags": [], "fullname": "torch.cuda.device_of.__init__", "name": "__init__", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "empty_cache": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.empty_cache", "kind": "Gdef"}, "get_arch_list": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda.get_arch_list", "name": "get_arch_list", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "get_arch_list", "ret_type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, "type_guard": null, "variables": []}}}, "get_device_capability": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [1], "arg_names": ["device"], "flags": [], "fullname": "torch.cuda.get_device_capability", "name": "get_device_capability", "type": {".class": "CallableType", "arg_kinds": [1], "arg_names": ["device"], "arg_types": [{".class": "UnionType", "items": ["torch._C.device", "builtins.str", "builtins.int", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "get_device_capability", "ret_type": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "get_device_name": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [1], "arg_names": ["device"], "flags": [], "fullname": "torch.cuda.get_device_name", "name": "get_device_name", "type": {".class": "CallableType", "arg_kinds": [1], "arg_names": ["device"], "arg_types": [{".class": "UnionType", "items": ["torch._C.device", "builtins.str", "builtins.int", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "get_device_name", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "get_device_properties": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["device"], "flags": [], "fullname": "torch.cuda.get_device_properties", "name": "get_device_properties", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["device"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "torch.cuda._device_t"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "get_device_properties", "ret_type": "torch._C._CudaDeviceProperties", "type_guard": null, "variables": []}}}, "get_gencode_flags": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda.get_gencode_flags", "name": "get_gencode_flags", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "get_gencode_flags", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "get_rng_state": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.random.get_rng_state", "kind": "Gdef"}, "get_rng_state_all": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.random.get_rng_state_all", "kind": "Gdef"}, "get_sync_debug_mode": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda.get_sync_debug_mode", "name": "get_sync_debug_mode", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "get_sync_debug_mode", "ret_type": "builtins.int", "type_guard": null, "variables": []}}}, "graph": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.graphs.graph", "kind": "Gdef"}, "graph_pool_handle": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.graphs.graph_pool_handle", "kind": "Gdef"}, "has_half": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready", "has_explicit_value"], "fullname": "torch.cuda.has_half", "name": "has_half", "type": "builtins.bool"}}, "has_magma": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready", "has_explicit_value"], "fullname": "torch.cuda.has_magma", "name": "has_magma", "type": "builtins.bool"}}, "init": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda.init", "name": "init", "type": null}}, "initial_seed": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.random.initial_seed", "kind": "Gdef"}, "ipc_collect": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda.ipc_collect", "name": "ipc_collect", "type": null}}, "is_available": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda.is_available", "name": "is_available", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "is_available", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "is_bf16_supported": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda.is_bf16_supported", "name": "is_bf16_supported", "type": null}}, "is_initialized": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.cuda.is_initialized", "name": "is_initialized", "type": null}}, "list_gpu_processes": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.list_gpu_processes", "kind": "Gdef"}, "make_graphed_callables": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.graphs.make_graphed_callables", "kind": "Gdef"}, "manual_seed": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.random.manual_seed", "kind": "Gdef"}, "manual_seed_all": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.random.manual_seed_all", "kind": "Gdef"}, "max_memory_allocated": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.max_memory_allocated", "kind": "Gdef"}, "max_memory_cached": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.max_memory_cached", "kind": "Gdef"}, "max_memory_reserved": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.max_memory_reserved", "kind": "Gdef"}, "mem_get_info": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.mem_get_info", "kind": "Gdef"}, "memory_allocated": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.memory_allocated", "kind": "Gdef"}, "memory_cached": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.memory_cached", "kind": "Gdef"}, "memory_reserved": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.memory_reserved", "kind": "Gdef"}, "memory_snapshot": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.memory_snapshot", "kind": "Gdef"}, "memory_stats": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.memory_stats", "kind": "Gdef"}, "memory_stats_as_nested_dict": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.memory_stats_as_nested_dict", "kind": "Gdef"}, "memory_summary": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.memory_summary", "kind": "Gdef"}, "memory_usage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [1], "arg_names": ["device"], "flags": [], "fullname": "torch.cuda.memory_usage", "name": "memory_usage", "type": {".class": "CallableType", "arg_kinds": [1], "arg_names": ["device"], "arg_types": [{".class": "UnionType", "items": ["torch._C.device", "builtins.str", "builtins.int", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "memory_usage", "ret_type": "builtins.int", "type_guard": null, "variables": []}}}, "nvtx": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.nvtx", "kind": "Gdef"}, "os": {".class": "SymbolTableNode", "cross_ref": "os", "kind": "Gdef"}, "profiler": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.profiler", "kind": "Gdef"}, "reset_accumulated_memory_stats": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.reset_accumulated_memory_stats", "kind": "Gdef"}, "reset_max_memory_allocated": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.reset_max_memory_allocated", "kind": "Gdef"}, "reset_max_memory_cached": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.reset_max_memory_cached", "kind": "Gdef"}, "reset_peak_memory_stats": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.reset_peak_memory_stats", "kind": "Gdef"}, "seed": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.random.seed", "kind": "Gdef"}, "seed_all": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.random.seed_all", "kind": "Gdef"}, "set_device": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["device"], "flags": [], "fullname": "torch.cuda.set_device", "name": "set_device", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["device"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "torch.cuda._device_t"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "set_device", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "set_per_process_memory_fraction": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.memory.set_per_process_memory_fraction", "kind": "Gdef"}, "set_rng_state": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.random.set_rng_state", "kind": "Gdef"}, "set_rng_state_all": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.random.set_rng_state_all", "kind": "Gdef"}, "set_stream": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["stream"], "flags": [], "fullname": "torch.cuda.set_stream", "name": "set_stream", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["stream"], "arg_types": ["torch.cuda.streams.Stream"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "set_stream", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "set_sync_debug_mode": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["debug_mode"], "flags": [], "fullname": "torch.cuda.set_sync_debug_mode", "name": "set_sync_debug_mode", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["debug_mode"], "arg_types": [{".class": "UnionType", "items": ["builtins.int", "builtins.str"]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "set_sync_debug_mode", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "sparse": {".class": "SymbolTableNode", "cross_ref": "torch.cuda.sparse", "kind": "Gdef"}, "storage_name": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready", "has_explicit_value"], "fullname": "torch.cuda.storage_name", "name": "storage_name", "type": "builtins.str"}}, "stream": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["stream"], "flags": [], "fullname": "torch.cuda.stream", "name": "stream", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["stream"], "arg_types": [{".class": "UnionType", "items": ["torch.cuda.streams.Stream", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "stream", "ret_type": "torch.cuda.StreamContext", "type_guard": null, "variables": []}}}, "synchronize": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [1], "arg_names": ["device"], "flags": [], "fullname": "torch.cuda.synchronize", "name": "synchronize", "type": {".class": "CallableType", "arg_kinds": [1], "arg_names": ["device"], "arg_types": [{".class": "UnionType", "items": ["torch._C.device", "builtins.str", "builtins.int", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "synchronize", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "t": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.cuda.t", "name": "t", "type": "builtins.str"}}, "tensor_name": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "torch.cuda.tensor_name", "name": "tensor_name", "type": "builtins.str"}}, "threading": {".class": "SymbolTableNode", "cross_ref": "threading", "kind": "Gdef"}, "torch": {".class": "SymbolTableNode", "cross_ref": "torch", "kind": "Gdef"}, "traceback": {".class": "SymbolTableNode", "cross_ref": "traceback", "kind": "Gdef"}, "utilization": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [1], "arg_names": ["device"], "flags": [], "fullname": "torch.cuda.utilization", "name": "utilization", "type": {".class": "CallableType", "arg_kinds": [1], "arg_names": ["device"], "arg_types": [{".class": "UnionType", "items": ["torch._C.device", "builtins.str", "builtins.int", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "utilization", "ret_type": "builtins.int", "type_guard": null, "variables": []}}}, "warnings": {".class": "SymbolTableNode", "cross_ref": "warnings", "kind": "Gdef"}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/torch/cuda/__init__.py"}