MCPcopy Create free account
hub / github.com/Aveiro-Lin/GraphiContact / get_ptr

Function get_ptr

src/bitsandbytes/bitsandbytes/functional.py:442–458  ·  view source on GitHub ↗

Get the ctypes pointer from a PyTorch Tensor. Parameters ---------- A : torch.tensor The PyTorch tensor. Returns ------- ctypes.c_void_p

(A: Optional[Tensor])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

prefetch_tensorFunction · 0.85
elementwise_funcFunction · 0.85
nvidia_transformFunction · 0.85
estimate_quantilesFunction · 0.85
quantize_blockwiseFunction · 0.85
dequantize_blockwiseFunction · 0.85
quantize_4bitFunction · 0.85
dequantize_4bitFunction · 0.85
quantize_no_absmaxFunction · 0.85
dequantize_no_absmaxFunction · 0.85
optimizer_update_32bitFunction · 0.85
optimizer_update_8bitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected