> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 在特定 NPU 上运行(QCS9075)

> 在使用双 NPU 的 IQ-9075 EVK 时,选择 LLM/VLM 容器在哪一颗 Hexagon NPU 上运行。

Dragonwing IQ-9075 EVK 包含**两颗强大的 NPU**,均可用于运行模型。默认情况下,LLM/VLM 模型运行在 **NPU0** 上,但您也可以让模型运行在 **NPU1** 上。

要执行此操作,请进入[您在模型设置期间配置的](../topic/llm-vlm-qcom-setup)模型目录,您应该会看到一个名为 `htp_backend_ext_config.json` 的文件<br />\
在本示例中,我们将查看文件 `~/models/qwen3_4b_instruct_2507/htp_backend_ext_config.json`:<br />

```json htp_backend_ext_config.json theme={null}
{
    "devices": [
        {
            "soc_model": 43,
            "dsp_arch": "v73",
            "cores": [
                {
                    "core_id": 0,
                    "perf_profile": "burst",
                    "rpc_control_latency": 100
                }
            ]
        }
    ],
    "memory": {
        "mem_type": "shared_buffer"
    },
    "context": {
        "weight_sharing_enabled": true
    }
}
```

要指定在哪一颗 NPU 上运行,请在启动容器之前,添加下面的 `"device_id"` 行,并将其设置为 `0`(NPU0 — 默认)或 `1`(NPU1)。

```json htp_backend_ext_config.json configured to NPU1 theme={null}
{
    "devices": [
        {
            "device_id": 1,
            "soc_model": 43,
            "dsp_arch": "v73",
            "cores": [
                {
                    "core_id": 0,
                    "perf_profile": "burst",
                    "rpc_control_latency": 100
                }
            ]
        }
    ],
    "memory": {
        "mem_type": "shared_buffer"
    },
    "context": {
        "weight_sharing_enabled": true
    }
}
```

<Note>
  这仅适用于 IQ-9075 EVK,因为它具有双 NPU。RB3 Gen2 Vision Kit 和 RUBIK Pi 3 等设备只有单个 NPU,因此本节内容不适用。
</Note>
