Eliminate zero-ops (VIEW/RESHAPE/TRANSPOSE/PERMUTE) #27
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
No code change needed. Zero-ops (VIEW/RESHAPE/TRANSPOSE/PERMUTE) are already filtered at ggml-metal-ops.cpp:59 before encoding — they return 1 and skip to next node without GPU dispatch. The 682 zero-ops/tick incur zero dispatch overhead.
Eliminate zero-ops VIEW RESHAPE TRANSPOSE PERMUTEto Eliminate zero-ops (VIEW/RESHAPE/TRANSPOSE/PERMUTE)