| copyright |
|
||
|---|---|---|---|
| lastupdated | 2026-05-12 | ||
| keywords | instructlab, debugging | ||
| subcollection | inference |
{{site.data.keyword.attribute-definition-list}}
{: #ts-debug} {: support}
{: #debug-issues}
Debug an issue when you experience it. {: tsSymptoms}
There might be a configuration issue with the taxonomy or a CLI version issue. {: tsCauses}
Try one of the following options to resolve the issue. {: tsResolve}
{: #local-taxonomy}
-
Run the
ilabcommand to verify that the CLI is installed.ilab
{: pre}
Output:
Usage: ilab [OPTIONS] COMMAND [ARGS]... CLI for interacting with InstructLab. ...{: screen}
-
Initialize the
ilabCLI and complete the prompts.ilab config init
{: pre}
-
Run the
diffcommand where the--taxonomy-baseis the branch to compare the local files with. If you are using the {{site.data.keyword.short_name}} community taxonomy, this branch ismain.ilab taxonomy diff --taxonomy-path <local-path-to-taxonomy> --taxonomy-base=empty
{: pre}
Output without any errors:
Taxonomy in <local-path-to-taxonomy> is valid :)
{: screen}
{: #version}
If the issues are with the backend and not your taxonomy or local configuration, verify that the local CLI installation version matches what is being used in the backend.
-
Get the back end
instructlabversion.a. In the {{site.data.keyword.cos_short}} bucket, click
synthetic_data> ID > logs > ilab_system_info.log.b. Click Download object to download the log file.
c. Note the value for
instructlab.version. -
Get the local CLI version.
ibmcloud ilab -v
{: pre}
-
If the versions do not match, update the local CLI plug-in.
ibmcloud plugin update ilab
{: pre}