Skip to main content

Crash-safe ML model runner that automatically resumes unfinished models

Project description

AutoResume

AutoResume is a crash-safe, resume-safe ML model runner.

It allows you to run many models sequentially and automatically resumes from the first unfinished model if your Python session crashes.

Example

from autoresume import AutoResume

runner = AutoResume("lstm_experiment")

models = [lstm1, lstm2, lstm3]

def train(model):
    model.fit(X_train, y_train, epochs=20)
    return model.evaluate(X_test, y_test)

runner.run(models, train)
If your script crashes during model 2, AutoResume will resume at model 2.

MIT License
Copyright (c) 2025 Tej Gorde

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autoresume-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autoresume-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file autoresume-0.1.0.tar.gz.

File metadata

  • Download URL: autoresume-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for autoresume-0.1.0.tar.gz
Algorithm Hash digest
SHA256 11f8044c1fc4bfe6f0e1d9b590bdd17707776670f55ae098afb07052db53bf79
MD5 81a33e810414c5b2cc13443ceb4ae4b1
BLAKE2b-256 b346811ac3463b9f90d827fa3d76a6529de30f5177f5154bf42a4dabc6d12c50

See more details on using hashes here.

File details

Details for the file autoresume-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: autoresume-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for autoresume-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78593c79a9c18aac5a17529e08af17dcfad4691cc75a6de1c806da5f5a22b167
MD5 7a00c6659147a5cd0ad9cdff5f857881
BLAKE2b-256 9d62e67f7095ea14d11bf376a2ab0177435a94898f9e332773f32035e60ad029

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page