Comments (3)
Hmm, it's definitely doing something it's not supposed to. We see it takes around 1.25 seconds to return even though it has a timeout of 0.1. What are the specs? Perhaps a cpu slowdown caused the parts not wrapped in the timeout to take longer than normal
from padatious.
Sorry for my late response. I'm not sure what the specs are, this is being ran on the Gitlab CI of Alpine Linux and every architecture is ran on it's own machine.
The failing architectures are x86, ppc64le, armv7 and aarch64.
from padatious.
From looking at the code, creating the subprocess and tearing it down won't be part of the timeout, and from experience that can take a not insignificant amount of time, especially on a contested CPU or if an HDD has to load data (the case for me).
I would increase the time difference that's asserted to something like 5 seconds, it's unlikely that a bug will cause it to timeout later, it's more likely that it won't timeout properly at all.
#15 seems related.
from padatious.
Related Issues (19)
- LICENSE and tests/
- test_train_timeout_subprocess fail randomly HOT 2
- Support named-group entity matches HOT 2
- Basic Install Failing HOT 3
- Cannot save the container model after training HOT 2
- pip3 issue finding libfann-dev libraries in Ubuntu 18.06 HOT 1
- IntentContainer.instantiate_from_disk() method does not load data for padaos regex patterns HOT 1
- Words after entity get matched too
- Intent does not handle apostrophes properly HOT 1
- Parsing Datetime HOT 5
- Trouble with (|the) in .intent file HOT 4
- Installation - needs python3-fann2 on Ubuntu and Raspberry Pi OS HOT 6
- Unable to use Padatious on Mac OS X HOT 3
- First word of a match gets chopped off sometimes HOT 1
- No module named padatious HOT 1
- Entity matching more than it should HOT 2
- Inaccurate `intent_file_handler` docs HOT 1
- how to load model HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from padatious.