ai-center
latest
false
UiPath logo, featuring letters U and I in white

AI Center

Automation CloudAutomation SuiteStandalone
Last updated Nov 19, 2024

Managing ML Skills

Creating ML Skills

  1. In the ML Skills page, click Create New. The Create New ML Skill page is displayed.
  2. Enter a name for the new skill. The name should contain only characters, numbers, and underscores and should not start with number.
  3. Select a package from the dropdown list.
  4. Select package major and minor versions.
    Optional: Add a description for the new skill.
  5. Choose whether or not to enable auto-update. If this is set to true, the model is automatically updated with the latest retrained version of the model (same ML Package version, but new minor version).
  6. Choose whether or not to make the ML Skill public.
  7. Toggle the Advanced Infra Settings if you want to further configure your deployment, for example enabling GPU.
    • Choose whether or not to enable a GPU on the environment running this skill.
    • Choose the number of replicas.
    Note:

    A replica is an instance of a model. More replicas lead to more instances of the same deployed model. This is helpful in:

    • High Availability (HA) - We cannot guarantee uninterrupted operation for instances with a single replica as there is frequent automated maintenance of backend services. In rare circumstances, the skill might encounter unexpected downtime. For production environments, we strongly advise having at least two replicas, and for test instances, one replica. Alternatively, you can use Document Understanding modern projects, which are not impacted by this issue.
    • Parallel Processing - If you expect a high volume of requests in parallel, increase the number of replicas. As a general guideline, you can use one to three robots as a starting point for each replica the ML Skill has.
    • Choose how many resources you want to allocate per replica from the dropdown list.
    • The hourly cost of AI Units is displayed under the Resource per Replica property. The cost changes depending on whether or not you have GPU enabled, the number of replicas, and the allocated resources per replica.
    Note:
    • Step 7 is optional and only recommended for advanced users.
    • The properties from Step 7 are only available if you are using the AI Units licensing model.
  8. Choose when to undeploy the Skill after a period of inactivity from the dropdown.


  9. Click Create. The Create New ML Skill page is closed and the ML Skills page is displayed, containing the new skill with Deploying status.




    Note: For DU extractors, there is more accurate advanced infra settings information.
    The model is wrapped in UiPath®'s serving framework and deployed within a namespace on UiPath® AI Center's Kubernetes cluster that is only accessible by your tenant.
    Note: We made optimizations to node availability for skill deployments. Starting with October, time taken for skill deployments is reduced.
    If the deployment is successful, the status of the skill changes from Deploying to Available.

Stopping ML Skills

To stop an ML Skill, use the following procedure:

  1. In the ML Skills page, click on the skill you want to stop.
  2. Click on the Stop button from the top.

Redeploying stopped ML Skills

To redeploy an ML Package, use the following procedure:

  1. In the ML Skills page, click on the stopped Skill on the grid.
  2. Click on the Resume button from the top.


Managing package versions

The ML Skill Details page enables you to manage the package version used within the deployed skill. You can update the skill to use a specific package version, or you can perform a rollback to the previously used version.

Updating package version

  1. In the ML Skill Details page, click next to the package version you want to use. The button is disabled for the version that is currently in use, marked as Current. The Update skill window is displayed.
  2. In the Update skill window, click Confirm to update the skill to use the selected package version.


Rolling back to previous version

  1. In the ML Skill Details page, click Rollback. The Update Skill window is displayed.
  2. In the Update Skill window, click OK to update the skill to use the previous used package version.

Modifying current deployment

In addition to updating a skill to a different version, a deployed skill can be kept at the same version, but modified to use a GPU or not. To do that, select Modify current deployment in the ML Skill Details page > Update skill window, as below:



Note:

Enabling GPU disables the CPU choices, from the Resources Per Replica field, and the AI Units are updated, based on your selection in the Replica Count field.

Make ML Skill public/private

You have the possibility to make an ML Skill public. Doing so, the ML Skill will be accessible via an endpoint from outside of UiPath® environment. This means that you can call it without the need to go through a robot connected to the specific tenant.

To do that, select Modify current deployment in the ML Skill Details page > Update skill window, as below.

Note this will redeploy the ML Skill, once the ML Skill is available you will see the corresponding url in the ML Skill Details and a button will help you copying the URL. Depending of base ML Package an API Key will also be exposed to be used with this Skill in ML Skill activity.



To use a public ML Skill, you need the following:
  • Port 433 must be open.
  • Access to the target ML Skill URL.
  • Access to the AI Units API key for the organization the ML Skill is deployed on.

Deleting ML Skills

  1. In the ML Skills page, click the Cancel or Remove button, depending on the status, next to a deployed or failed skill. A confirmation window is displayed.
    Depending on the ML Skill status, use one of the following buttons to delete it:
    • Cancel: use this button to delete a failed ML Skill.
    • Remove: use this button to delete a successfully deployed ML Skill.
  2. Click OK to remove or cancel the skill. The selected skill is undeployed and it disappears from the ML Skills page.
    Note: Deleting a skill could affect its consumers. However, a skill with the same name can be re-created at any point restoring dependents of this service.

ML Skills report

You can download a report of ML Skill by clicking on the Download ML Skills Report button.

We recommend attaching this report when submitting an issue for faster troubleshooting.

This report gathers all the necessary information required to debug an issue, including account ID, tenant ID, AI Units, and the respective package and ML Skill information.

Check the screenshot below for an ML Skills report example.



Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.