GithubHelp home page GithubHelp logo

Comments (2)

PhilippvK avatar PhilippvK commented on June 17, 2024

Some motivation for mlonmcu export:

Run artifacts can be typically found in $MLONMCU_HOME/temp/sessions/{SESSION_ID}/runs/{RUN_ID} which makes them hard to access. There are also symlinks to the latest run/session which at least make it possible to get the latest artifacts.

An mlonmcu export command would allow to export specific runs or complete sessions to a directory or archive.

Examples:

mlonmcu export --session 0 --run 0 run.zip  # Export run 0 from session 0 to a zip archive 
mlonmcu export --session 1 session.zip  # Export every run of session 1 to a zip archive
mlonmcu export session/  # Export the latest session to a directory

from mlonmcu.

PhilippvK avatar PhilippvK commented on June 17, 2024

Some motivation for mlonmcu cleanup:

Currently old sessions/runs are not removed automatically. It is possible to put them in /tmp/ by modifying the temp path specified in environments.yml. I would like to add a command which allows to cleanup old artifacts and eventually even the deps directory.

As this process removes contents from the disk it will by default require an interactive confirmation by the user.

Examples:

mlonmcu cleanup  # Interactively clean sessions
mlonmcu cleanup --force  # Clean all sessions
mlonmcu cleanup --keep 10 --force  # Keep only the latest 10 sessions
mlonmcu cleanup --dependencies  # Remove every installed dependency

from mlonmcu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.