Spaces:
Runtime error
Runtime error
BioMistral_gradio / llama-cpp-python /vendor /llama.cpp /kompute /docs /overview /python-reference.rst
Download llama-cpp-python/vendor/llama.cpp/kompute/docs/overview/python-reference.rst from aelitta/BioMistral_gradio: direct link, hf CLI and curl.
- Browser
- Download file 1.04 kB
-
https://huggingface.co/spaces/aelitta/BioMistral_gradio/resolve/main/llama-cpp-python/vendor/llama.cpp/kompute/docs/overview/python-reference.rst
- Command line
-
hf download hf://spaces/aelitta/BioMistral_gradio/llama-cpp-python/vendor/llama.cpp/kompute/docs/overview/python-reference.rst
-
curl -L -o python-reference.rst https://huggingface.co/spaces/aelitta/BioMistral_gradio/resolve/main/llama-cpp-python/vendor/llama.cpp/kompute/docs/overview/python-reference.rst
1.04 kB
| Python Class Documentation & Reference | |
| ======== | |
| This section provides a breakdown of the Python classes and what each of their functions provide. | |
| Below is a diagram that provides insights on the relationship between Kompute objects and Vulkan SDK resources, which primarily encompass ownership of either CPU and/or GPU memory. | |
| Manager | |
| ------- | |
| The Kompute Manager provides a high level interface to simplify interaction with underlying :class:`kp.Sequence` of Operations. | |
| .. autoclass:: kp.Manager | |
| :members: | |
| Sequence | |
| ------- | |
| The Kompute Sequence consists of batches of Kompute Operations, which are executed on a respective GPU queue. The execution of sequences can be synchronous or asynchronous, and it can be coordinated through its respective vk::Fence. | |
| .. autoclass:: kp.Sequence | |
| :members: | |
| Tensor | |
| ------- | |
| The Kompute Tensor is the atomic unit in Kompute, and it is used primarily for handling Host and GPU Device data. | |
| .. autoclass:: kp.Tensor | |
| :members: | |
| TensorType | |
| ------- | |
| .. automodule:: kp | |
| :members: | |