aien-train
AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished.
Brought by drakestapleton
aien-train / evidence / OMEGALLM / serve / negctl-keepalive.txt
| 1 | PASS health 200 b'{"status":"ok","in_flight":0}' |
| 2 | PASS models 200 ['ollm'] |
| 3 | PASS chat_json_t0 200 usage={'prompt_tokens': 17, 'completion_tokens': 12, 'total_tokens': 29} finish=length s=6.52 content='"I am here to help you."\nOme' oracle='"I am here to help you."\nOme' |
| 4 | PASS chat_sse_t0 200 events=15 done=True usage=[{'prompt_tokens': 17, 'completion_tokens': 12, 'total_tokens': 29}] text='"I am here to help you."\nOme' |
| 5 | PASS chat_json_t800 200 usage={'prompt_tokens': 17, 'completion_tokens': 12, 'total_tokens': 29} finish=length s=7.83 content='"Because I want to go to the park with' oracle='"Because I want to go to the park with' |
| 6 | PASS chat_sse_t800 200 events=15 done=True usage=[{'prompt_tokens': 17, 'completion_tokens': 12, 'total_tokens': 29}] text='"Because I want to go to the park with' |
| 7 | PASS allen_chat_shape 200 b'{"id":"chatcmpl-ollm-5","object":"chat.completion","created":1793998200,"model":"ollm","choices":[{"index":0,"message":{"role":"assistant","content":"\\"I will help"},"finish_reason":"length"}],"usage"' |
| 8 | PASS refuse_context 400 context_length_exceeded 'prompt is 2453 tokens including the start token; the context window is 256 tokens, so no room is left for output' |
| 9 | PASS refuse_template_bytes 400 invalid_request 'the chat template is over 4000 bytes' |
| 10 | PASS refuse_bad_json 400 invalid_json 'request body is not valid JSON (RFC 8259) or has over 65532 JSON tokens' |
| 11 | PASS refuse_not_object 400 invalid_request 'the request must be a JSON object' |
| 12 | PASS refuse_trailing 400 invalid_json 'request body is not valid JSON (RFC 8259) or has over 65532 JSON tokens' |
| 13 | PASS refuse_empty_messages 400 invalid_request 'messages must be a non-empty array of objects' |
| 14 | PASS refuse_array_content 400 invalid_request 'message content must be a string or null' |
| 15 | PASS refuse_no_role 400 invalid_request 'message role must be a string of at most 32 bytes' |
| 16 | PASS refuse_neg_temp 400 invalid_request 'temperature must be a number from 0 to 2 without exponent' |
| 17 | PASS refuse_hot_temp 400 invalid_request 'temperature must be a number from 0 to 2 without exponent' |
| 18 | PASS refuse_zero_max 400 invalid_request 'max_tokens must be an integer from 1 to 999999' |
| 19 | PASS refuse_n2 400 invalid_request 'only n = 1 is supported' |
| 20 | PASS refuse_stream_str 400 invalid_request 'stream must be true or false' |
| 21 | PASS refuse_exp_temp 400 invalid_request 'temperature must be a number from 0 to 2 without exponent' |
| 22 | PASS refuse_404 404 b'{"error":{"message":"no such path; routes: GET /health, GET /v1/models, POST /v1/chat/completions","type":"invalid_request_error","param":null,"code":"not_found"}}' |
| 23 | PASS refuse_405 405 b'{"error":{"message":"method not allowed on this path","type":"invalid_request_error","param":null,"code":"method_not_allowed"}}' |
| 24 | PASS refuse_413 b'HTTP/1.1 413 Content Too Large\r\nContent-Type: application/json\r\nContent-Length: 132\r\nConnection: close\r\n\r\n{"error":{"mes' |
| 25 | Traceback (most recent call last): |
| 26 | File "/home/drakestapleton/work/hive/OwnModelCoord/aien-train/tests/omegallm/serve-check.py", line 173, in <module> |
| 27 | st, ct, out, _ = call("GET", "/health", timeout=5) |
| 28 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 29 | File "/home/drakestapleton/work/hive/OwnModelCoord/aien-train/tests/omegallm/serve-check.py", line 34, in call |
| 30 | r = c.getresponse() |
| 31 | ^^^^^^^^^^^^^^^ |
| 32 | File "/usr/lib/python3.12/http/client.py", line 1457, in getresponse |
| 33 | response.begin() |
| 34 | File "/usr/lib/python3.12/http/client.py", line 336, in begin |
| 35 | version, status, reason = self._read_status() |
| 36 | ^^^^^^^^^^^^^^^^^^^ |
| 37 | File "/usr/lib/python3.12/http/client.py", line 297, in _read_status |
| 38 | line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") |
| 39 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 40 | File "/usr/lib/python3.12/socket.py", line 707, in readinto |
| 41 | return self._sock.recv_into(b) |
| 42 | ^^^^^^^^^^^^^^^^^^^^^^^ |
| 43 | TimeoutError: timed out |
| 44 | bind_loopback_only 1 LISTEN 0 16 127.0.0.1:18291 0.0.0.0:* users:(("ka-ollm",pid=3641568,fd=3)) |
| 45 | SERVE_CHECK FAIL |
| 46 | rc=1 |