It appears that a memory leak occurs only in the development server when calling async functions from route.ts. Running a large number of async functions in a loop results in a steady increase in heap ...
Run 🤗 Transformers directly in your browser, with no need for a server! Transformers.js is designed to be functionally equivalent to Hugging Face's transformers python library, meaning you can run ...