lq@lq:~$ sudo docker logs -f finetune-backend
INFO:     Started server process [1]
INFO:     Waiting for application startup.
2026-05-19 16:49:51 | INFO     | peft-platform | JobQueue started with 2 workers
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8010 (Press CTRL+C to quit)
INFO:     127.0.0.1:58862 - "GET /health HTTP/1.1" 200 OK
Downloading: 100%|██████████| 36.0/36.0 [00:00<00:00, 114B/s]
Downloading: 100%|██████████| 1.35k/1.35k [00:00<00:00, 4.58kB/s]
2026-05-19 16:50:05 | WARNING  | peft-platform | No training data files found in yanalong/yanalong. Available JSON files: ['configuration.json']
2026-05-19 16:50:05 | INFO     | peft-platform | Selected data file: /root/Fine-tuning/backend/data/processed/yanalong/yanalong/configuration.json (size=36)
2026-05-19 16:50:05 | ERROR    | peft-platform | Dataset download failed: (sqlalchemy.dialects.postgresql.asyncpg.Error) <class 'asyncpg.exceptions.DataError'>: invalid input for query argument $6: datetime.datetime(2026, 5, 19, 16, 50, 5... (can't subtract offset-naive and offset-aware datetimes)
[SQL: INSERT INTO datasets (id, name, format, record_count, file_path, created_at) VALUES ($1::VARCHAR, $2::VARCHAR, $3::VARCHAR, $4::INTEGER, $5::VARCHAR, $6::TIMESTAMP WITHOUT TIME ZONE)]
[parameters: ('8c678763-5fb3-4556-90ab-fe2abf10f881', 'yanalong/yanalong', 'jsonl', 1, '/root/Fine-tuning/backend/data/processed/ms_yanalong_yanalong/data.jsonl', datetime.datetime(2026, 5, 19, 16, 50, 5, 151652, tzinfo=datetime.timezone.utc))]
(Background on this error at: https://sqlalche.me/e/20/dbapi)
INFO:     172.20.0.4:58412 - "POST /api/v1/datasets/download HTTP/1.0" 400 Bad Request
INFO:     172.20.0.4:56082 - "GET /api/v1/models/ HTTP/1.0" 200 OK
2026-05-19 16:50:51 | INFO     | peft-platform | Remote test result: code=1, stdout_len=34, stderr_len=0
2026-05-19 16:50:51 | INFO     | peft-platform | stdout (first 500): {"error": "Unable to load model"}

2026-05-19 16:50:51 | ERROR    | peft-platform | Remote model test failed: 
INFO:     172.20.0.4:56096 - "POST /api/v1/models/test HTTP/1.0" 400 Bad Request
INFO:     127.0.0.1:39748 - "GET /health HTTP/1.1" 200 OK
INFO:     127.0.0.1:43876 - "GET /health HTTP/1.1" 200 OK
