opengear-project / GEAR

GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM
MIT License
128 stars 10 forks source link

proper unicode added #16

Closed mohsenhariri closed 1 month ago

mohsenhariri commented 1 month ago

Fixes

Description

This PR fixes the UnicodeEncodeError by specifying utf-8 encoding when opening the file for writing.

Changes