nlpodyssey / cybertron

Cybertron: the home planet of the Transformers in Go
BSD 2-Clause "Simplified" License
280 stars 26 forks source link

Resource Limits #41

Open jonathan-wondereur opened 6 months ago

jonathan-wondereur commented 6 months ago

When running NER, this module uses all CPU power. How can I limit the number of go routines/CPUs used? Say I want to limit to using 1/4 of the CPU to run four tasks without one task affecting other jobs.