DeepSpeed icon indicating copy to clipboard operation
DeepSpeed copied to clipboard

Update flops profiler to handle attn and __matmul__

Open KimmiShi opened this issue 3 years ago • 2 comments

Solves #4723

  • handle F.scaled_dot_product_attention in transformer models.
  • handle expreesions like a@b

KimmiShi avatar Nov 24 '23 01:11 KimmiShi

@KimmiShi could you please run the pre-commit and commit any changed files? The formatting tests are failing currently. pre-commit run --all-files

mrwyattii avatar Dec 20 '23 20:12 mrwyattii

@KimmiShi could you please run the pre-commit and commit any changed files? The formatting tests are failing currently. pre-commit run --all-files

Thanks, I fixed the yapf error and should be ok now.

KimmiShi avatar Dec 22 '23 03:12 KimmiShi