Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve metadata serialization (#244)
improve metadata serialization with orjson instead of torch serialization. | Method | Time Taken (1000 calls) | |--- |--- | | torch | 70ms | | json | 2 ms | | orjson | 0.3 ms | | ujson. | 0.8 ms| --------- Signed-off-by: kbatra <[email protected]>
- Loading branch information