job-manager

module
v0.185.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2024 License: Apache-2.0

README

job-manager

Job Manage manages fine-tuning jobs.

Running Dispatcher Locally

You can run dispatcher locally.

make build-dispatcher
./bin/dispatcher run --config config.yaml

config.yaml has the following content:

jobPollingInterval: 10s
job:
  image: llm-operator/experiments-fake-job
  version: latest
  numGpus: 0

debug:
  kubeconfigPath: /Users/kenji/.kube/config
  standalone: true
  sqlitePath: /tmp/job_manager.db

You can then connect to the DB and create a job.

sqlite3 /tmp/job_manager.db
# Run the query inside the database.
insert into jobs
  (job_id, message, state, tenant_id, version, created_at, updated_at)
values
  ('my-job', '', 'queued', 'my-tenant', 0, time('now'), time('now'));

Directories

Path Synopsis
api
v1
Package v1 is a reverse proxy.
Package v1 is a reverse proxy.
dispatcher
cmd
server
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL