View source: R/install_and_config.R
| install_py_modules | R Documentation |
Function for installing the necessary python modules.
install_py_modules(
envname = "aifeducation",
transformer_version = "<=4.57.1",
tokenizers_version = "<=0.22.1",
pandas_version = "<=2.3.3",
datasets_version = "<=3.6.0",
codecarbon_version = "<=3.0.7",
safetensors_version = "<=0.6.2",
torcheval_version = "<=0.0.7",
accelerate_version = "<=1.11.0",
calflops_version = "<=0.3.2",
pytorch_cuda_version = "12.9",
python_version = "3.12",
remove_first = FALSE,
use_conda = FALSE
)
envname |
|
transformer_version |
|
tokenizers_version |
|
pandas_version |
|
datasets_version |
|
codecarbon_version |
|
safetensors_version |
|
torcheval_version |
|
accelerate_version |
|
calflops_version |
|
pytorch_cuda_version |
|
python_version |
|
remove_first |
|
use_conda |
|
Returns no values or objects. Function is used for installing the necessary python libraries in a conda environment.
Function tries to identify the type of operating system. In the case that MAC OS is detected 'PyTorch' is installed without support for cuda.
Other Installation and Configuration:
check_aif_py_modules(),
get_recommended_py_versions(),
install_aifeducation(),
install_aifeducation_studio(),
prepare_session(),
set_transformers_logger(),
update_aifeducation()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.