Skip to content

Commit

Permalink
fix floating point mem limit
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed Apr 26, 2024
1 parent 4d1db6b commit ce79304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Runner (JobRunner):

def __init__(self, filters, meta, template, sockets):
super().__init__(filters, meta, template, sockets)
self.MAX_MEMORY_CACHE_GB = int(os.getenv('MAX_MEMORY_CACHE_GB', self.MAX_MEMORY_CACHE_GB))
self.MAX_MEMORY_CACHE_GB = float(os.getenv('MAX_MEMORY_CACHE_GB', self.MAX_MEMORY_CACHE_GB))


async def deserializeFromBlob(self, url, out_vectors , out_content):
Expand Down

0 comments on commit ce79304

Please sign in to comment.