Host and Device Ops PlacementΒΆ

When the model is ported to run on the HPU, the software stack decides which ops are placed on the CPU and which are placed on the HPU.

Note

The optimization pass automatically places unsupported ops on the CPU.

You may receive an error if some supported ops with limited parameter setup are placed on the HPU. You should place those ops on the CPU using the TF_PLACE_ON_CPU flag. Use the following syntax: TF_PLACE_ON_CPU=[OP1_name],[OP2_name].