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'));