-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
safe task in channel #16
Comments
Hi, I’am going to release a major update updating Cybertron to the last main branch of Spago that solves a lot of open issues on memory handling. Expect that by the end of next week. That said, what model are you using? Can you post here a sample of your attempt using channels? |
Hi, i tested this demo: https://github.com/nlpodyssey/cybertron/blob/main/examples/textgeneration/main.go Model is "Helsinki-NLP/opus-mt-en-zh" let me try ants lib. chineseComment := translate.Translate( Multiple lines of text cannot be translated, resulting in a memory leak |
Hi @ddkwork would you mind to give it a try to the latest version (v0.2.0)? |
|
// Copyright 2022 The NLP Odyssey Authors. All rights reserved. package main import (
) func main() {
} func logMetrics() error {
} func byteToMb(b uint64) float64 { |
GOROOT=C:\Program Files\Go #gosetup Process finished with the exit code 1 |
Is the model safe for channel? When I drive 500 channels to perform a text2text task, each channel gets stuck, and the memory usage skyrockets, fluctuating from 4GB to 12GB.
The text was updated successfully, but these errors were encountered: