Open BRUCE11111 opened 1 month ago
Another follow up of this case.
Dynamic shape will also occur when loop step is indivisible. For llama mlp matmul shape:
numactl -C 0-55 -m 0 python3 ./tools/main.py --driver=mlp --batch_size=32 --hidden_size_list=11008x4096 --has_bias=4096 --act_type=relu --dtype=bf16 --warm_up=100 --repeat=500
The generated IR after deepTileMatmul
contains dynamic shape ?
due to indivisible loop step. The shapes involved in vector
operations are still static. However, currently CPUPhysicalRegister
pass skipped processing this case.
The detailed IR log is attached. llama_mlp_32x11008x4096.txt
e.g.: