bananaml / potassium

An HTTP serving framework by Banana
Apache License 2.0
97 stars 9 forks source link

Deprecate/cpu endpoints #15

Closed erik-dunteman closed 1 year ago

erik-dunteman commented 1 year ago

What is this?

Removes CPU endpoints from handler defs

Why?

  1. not a crystal clear differentiation between CPU and gpu handlers + naming didn't help
  2. added too much complexity. We at Banana need to focus on doing one thing really well. Adding the noise of cpu statefulness was not something we wanted to support.

How did you test it works without regressions?

will test staging -> main merge

If this is a new feature what may a critical error (P0) look like?

This is a breaking change but not a major version bump as we've already communicated that v0 is an unstable major version.