LittlePlyResearch notebook

littleply.service.example

ini · 42 lines · Exact bytes

Line 1 ↗
Version & provenance · service-20261028

Recorded SHA-256 f26be5b6a483eb75166287d35db6e9268f842e940b4260ad4f5291a641fc3592Rendered SHA-256 f26be5b6a483eb75166287d35db6e9268f842e940b4260ad4f5291a641fc3592

Apache-2.0 for original LittlePly code, declared by the project owner on 2026-10-28. Historical source bytes and hashes are unchanged. Third-party components retain their own licenses; Lichess data remain CC0-1.0. License notes. Line links are stable within this snapshot. Public service source captured on 2026-10-28 after the runtime owner verified CPU-only systemd serving active with zero restarts. One concurrent public casual standard-start game; 10-30 minute initial clocks and 5-30 second increments. Availability depends on the local Windows/Ubuntu host. This is an allowlisted service subset, not a complete portable deployment bundle: launch, release-management scripts and private state are excluded. Source hashes identify this snapshot, not new training or evaluation results.

1[Unit]
2Description=LittlePly public casual chess bot (one CPU-served game)
3After=network-online.target
4Wants=network-online.target
5StartLimitIntervalSec=600
6StartLimitBurst=5
7
8[Service]
9Type=notify
10User=YOUR_SERVICE_USER
11Group=YOUR_SERVICE_GROUP
12WorkingDirectory=/srv/littleply/current
13ExecStart=/srv/littleply/runtime/bin/python /srv/littleply/current/lichess_service/launch.py --release /srv/littleply/current --state /srv/littleply/state --token-file /srv/littleply/private/token --bot LittlePly
14Environment=PYTHONDONTWRITEBYTECODE=1
15Environment=HF_HUB_OFFLINE=1
16Environment=TRANSFORMERS_OFFLINE=1
17Environment=CUDA_VISIBLE_DEVICES=
18Environment=OMP_NUM_THREADS=4
19Environment=MKL_NUM_THREADS=4
20Restart=on-failure
21RestartSec=15
22WatchdogSec=45
23TimeoutStartSec=120
24TimeoutStopSec=21600
25KillMode=mixed
26CPUQuota=400%
27MemoryHigh=5G
28MemoryMax=6G
29TasksMax=128
30UMask=0077
31NoNewPrivileges=true
32PrivateTmp=true
33ProtectSystem=strict
34ProtectHome=read-only
35ReadWritePaths=/srv/littleply/state
36StandardOutput=journal
37StandardError=journal
38
39[Install]
40WantedBy=multi-user.target
41
42