ilab-serve.service: Current command vanished from the unit file, execution of the command list won't be resumed.

Solution Verified - Updated -

Issue

  • While running ilab model serve as service, followed the steps in RHEL AI documentation, however service startup fails with error and model is not served.

    $  journalctl --user-unit ilab-serve.service --no-pager
    Jan 28 13:25:25 node1.example.com systemd[6946]: ilab-serve.service: Current command vanished from the unit file, execution of the command list won't be resumed.
    
  • The same command works when run on command line for non-root user.

    $ ilab model serve --model-path /var/home/user_name/.cache/instructlab/models/MODEL-NAME-OR-DIRECTORY-HERE
    

Environment

  • RHEL AI 1.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content