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.3.tar.gz (2.3 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.3-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autoresume-0.1.3.tar.gz
  • Upload date:
  • Size: 2.3 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.3.tar.gz
Algorithm Hash digest
SHA256 78819fcc68df127e633d45da15416201acce605dac385063e3f3363f0858fa54
MD5 716cc8f0fd7aed924dfbe9df45277a3f
BLAKE2b-256 7309032eccf6f3a29f8e1992f9476d329d29ef9fc2b56136159cbbb5c2e9c73d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autoresume-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8607a52e797c336af1d41a0b16b03107b78421e8d24684403904b971ffd2fc89
MD5 c445e12614af25d21889a37da3fefd9c
BLAKE2b-256 0c5bd2ebfef39a1afeb3dbb2a950bb79e670875e97438daa75bb53c688b4af07

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