Initialize the ResourceConfiguration.
Initialize the ResourceConfiguration.
resource_configuration(cpu = NULL, memory_in_gb = NULL, gpu = NULL)
cpu |
The number of CPU cores to allocate for this resource. Can be a decimal. |
memory_in_gb |
The amount of memory (in GB) to allocate for this resource.
Can be a decimal If |
gpu |
The number of GPUs to allocate for this resource. |
The ResourceConfiguration
object.
## Not run: rc <- resource_configuration(2, 2, 0) registered_model <- register_model_from_run(run, "my_model_name", "path_to_my_model", resource_configuration = rc) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.