View source: R/setup_gpu_modules.R
| setup_gpu_modules | R Documentation |
Adds bitsandbytes, used for 4-bit quantization of the EVA-CLIP-8B
vision model, to the Python environment. Equivalent to
setup_modules(extras = "gpu", download_models = FALSE).
setup_gpu_modules()
The CUDA build of PyTorch does not need this function: it is selected
automatically when an NVIDIA GPU is detected (see setup_modules).
image_scores() and video_scores() add bitsandbytes
themselves when EVA-CLIP-8B is used on a GPU.
This function requires NVIDIA GPU and drivers to be properly installed.
Alexander P. Christensen <alexpaulchristensen@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.