View source: R/install_and_config.R
| update_aifeducation | R Documentation |
Function for updating 'aifeducation' on a machine.
The function tries to find an existing environment on the machine, removes the environment and installs the environment with the new python modules.
In the case env_type = "auto" the function tries to update an existing virtual environment.
If no virtual environment exits it tries to update a conda environment.
update_aifeducation(
update_aifeducation_studio = TRUE,
env_type = "auto",
cuda_version = "12.4",
envname = "aifeducation"
)
update_aifeducation_studio |
|
env_type |
|
cuda_version |
|
envname |
|
Function does nothing return. It installs python, optional R packages, and necessary 'python' packages on a machine.
On MAC OS torch will be installed without support for cuda.
Other Installation and Configuration:
check_aif_py_modules(),
get_recommended_py_versions(),
install_aifeducation(),
install_aifeducation_studio(),
install_py_modules(),
prepare_session(),
set_transformers_logger()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.