Comments (3)
@rafzi I think the exec_timeout
you implemented in the old mlonmcu
would be suitable for this. However I would like to offer you to add it to the new codebase by yourself whenever you start working with it. This does not need to be very soon.
from mlonmcu.
yes, that function was intended for exactly that purpose.
a small annoyance with it is that you have to account for broken object identity between objects: https://gitlab.lrz.de/de-tum-ei-eda-esl/ml_on_mcu/-/blob/master/tvm/plan_memory.py#L8
an option was multiprocessing.dummy, which uses threading instread of processes, but i decided against it, because there was some compatibility issue between platforms.
from mlonmcu.
I recently implemented it on my dev branch. It works most of the time, but in some weird special cases, it causes random freezes. If we decide to implement this for all components, it should be marked experimental and should be turned off by default.
from mlonmcu.
Related Issues (20)
- [SW] Allow custom (out-of-tree) target/toolchain definitions
- [ETISS] Only run get_metrics.py if tracing dynamic memory metrics.
- [Plugins] Provide Example on how to use plugin interface
- [SW] Eliminate all compiler warnings in MLIF
- Support New RVV Targets
- Support for multi-core / multi-hart / cluster targets
- Test 64-bit support in RISC-V targets
- [Infrastructure] Refactor toolchain support
- Support custom (user/feature-defined) stages
- FreeRTOS support
- Add support for non-ML benchmarks HOT 1
- Allow using MLonMCU as MicroTVM backend target
- [TVM][MicroTVM] Finish metascheduler integration
- [TVM][MicroTVM] Finish Autoscheduler integration
- [TVM][MicroTVM] support graph tuner
- Fix 3rd party platform (ESP-IDF and Zephyr)
- Postprocesses very slow due to Python’s GIL HOT 1
- Reduce RAM consumption during MLonMCU Flow
- Avoid Paramiko (SSH) warning HOT 1
- SSHTarget: Only connect once
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 mlonmcu.