---
title: --host_env_cpu
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/devaids/aoe/aoerc_16_0039.html
sourcePath: /source/zh/canncommercial/900/devaids/aoe/aoerc_16_0039.html
indexId: 6d2ea6f3cc47e24ad63138b3f9ce258295179cf2a51ca36b3a5b2c09002e56e560
---
# --host_env_cpu

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | √ |
| Atlas 推理系列产品 | √ |
| Atlas 训练系列产品 | √ |


#### 功能说明

若模型编译环境的操作系统及其架构与模型运行环境不一致时，则需使用本参数设置模型运行环境的操作系统架构。

如果不设置，则默认取模型编译环境的操作系统架构。


#### 关联参数

与--host_env_os参数同时使用，通过--host_env_os参数设置操作系统类型、通过--host_env_cpu参数设置操作系统架构。


#### 参数取值

参数值：

- aarch64
- x86_64


#### 推荐配置及收益

无。


#### 示例

```
--host_env_os=linux --host_env_cpu=x86_64
```


#### 依赖约束

无。
