Shutdown handler not registered because Python interpreter is not running in the main thread
run pipeline %s
run pipeline stage %s
Running pipeline stage MKMLizer
Starting job with name rirv938-mistral-22b-14k-1384-v1-mkmlizer
Waiting for job on rirv938-mistral-22b-14k-1384-v1-mkmlizer to finish
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ _____ __ __ ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ /___/ ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ Version: 0.10.1 ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ https://mk1.ai ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ The license key for the current software has been verified as ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ belonging to: ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ Chai Research Corp. ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ║ ║
rirv938-mistral-22b-14k-1384-v1-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
rirv938-mistral-22b-14k-1384-v1-mkmlizer: Downloaded to shared memory in 176.305s
rirv938-mistral-22b-14k-1384-v1-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmp4vsvuoay, device:0
rirv938-mistral-22b-14k-1384-v1-mkmlizer: Saving flywheel model at /dev/shm/model_cache
Connection pool is full, discarding connection: %s. Connection pool size: %s
rirv938-mistral-22b-14k-1384-v1-mkmlizer: quantized model in 49.933s
rirv938-mistral-22b-14k-1384-v1-mkmlizer: Processed model rirv938/mistral_22b_14k_virgo_edit_step_1308 in 226.238s
rirv938-mistral-22b-14k-1384-v1-mkmlizer: creating bucket guanaco-mkml-models
rirv938-mistral-22b-14k-1384-v1-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
rirv938-mistral-22b-14k-1384-v1-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/rirv938-mistral-22b-14k-1384-v1
rirv938-mistral-22b-14k-1384-v1-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/rirv938-mistral-22b-14k-1384-v1/config.json
rirv938-mistral-22b-14k-1384-v1-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/rirv938-mistral-22b-14k-1384-v1/special_tokens_map.json
rirv938-mistral-22b-14k-1384-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/rirv938-mistral-22b-14k-1384-v1/tokenizer_config.json
rirv938-mistral-22b-14k-1384-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/rirv938-mistral-22b-14k-1384-v1/tokenizer.json
rirv938-mistral-22b-14k-1384-v1-mkmlizer: cp /dev/shm/model_cache/flywheel_model.1.safetensors s3://guanaco-mkml-models/rirv938-mistral-22b-14k-1384-v1/flywheel_model.1.safetensors
rirv938-mistral-22b-14k-1384-v1-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/rirv938-mistral-22b-14k-1384-v1/flywheel_model.0.safetensors
rirv938-mistral-22b-14k-1384-v1-mkmlizer:
Loading 0: 0%| | 0/507 [00:00<?, ?it/s]
Loading 0: 1%| | 4/507 [00:00<00:14, 34.55it/s]
Loading 0: 2%|▏ | 8/507 [00:00<00:17, 28.84it/s]
Loading 0: 2%|▏ | 12/507 [00:00<00:17, 28.60it/s]
Loading 0: 3%|▎ | 15/507 [00:00<00:21, 23.14it/s]
Loading 0: 4%|▎ | 19/507 [00:00<00:18, 26.98it/s]
Loading 0: 5%|▍ | 23/507 [00:00<00:16, 29.35it/s]
Loading 0: 5%|▌ | 27/507 [00:01<00:27, 17.58it/s]
Loading 0: 6%|▌ | 31/507 [00:01<00:22, 20.76it/s]
Loading 0: 7%|▋ | 34/507 [00:01<00:22, 21.36it/s]
Loading 0: 8%|▊ | 39/507 [00:01<00:19, 24.31it/s]
Loading 0: 8%|▊ | 42/507 [00:01<00:20, 22.18it/s]
Loading 0: 9%|▉ | 46/507 [00:01<00:18, 24.76it/s]
Loading 0: 10%|▉ | 50/507 [00:02<00:16, 27.29it/s]
Loading 0: 10%|█ | 53/507 [00:02<00:22, 19.91it/s]
Loading 0: 11%|█ | 56/507 [00:02<00:21, 21.17it/s]
Loading 0: 12%|█▏ | 59/507 [00:02<00:24, 18.08it/s]
Loading 0: 13%|█▎ | 64/507 [00:02<00:18, 23.53it/s]
Loading 0: 13%|█▎ | 67/507 [00:02<00:18, 23.52it/s]
Loading 0: 14%|█▍ | 70/507 [00:03<00:18, 23.68it/s]
Loading 0: 15%|█▍ | 74/507 [00:03<00:17, 24.26it/s]
Loading 0: 15%|█▌ | 78/507 [00:03<00:15, 27.60it/s]
Loading 0: 16%|█▌ | 81/507 [00:03<00:21, 20.21it/s]
Loading 0: 17%|█▋ | 84/507 [00:03<00:20, 20.73it/s]
Loading 0: 17%|█▋ | 88/507 [00:03<00:18, 22.13it/s]
Loading 0: 18%|█▊ | 92/507 [00:03<00:16, 25.62it/s]
Loading 0: 19%|█▊ | 95/507 [00:04<00:18, 22.20it/s]
Loading 0: 20%|█▉ | 99/507 [00:04<00:16, 25.06it/s]
Loading 0: 20%|██ | 102/507 [00:04<00:16, 24.48it/s]
Loading 0: 21%|██ | 106/507 [00:04<00:19, 20.87it/s]
Loading 0: 21%|██▏ | 109/507 [00:04<00:20, 19.85it/s]
Loading 0: 22%|██▏ | 112/507 [00:04<00:18, 21.24it/s]
Loading 0: 23%|██▎ | 115/507 [00:05<00:17, 22.16it/s]
Loading 0: 24%|██▎ | 120/507 [00:05<00:15, 25.27it/s]
Loading 0: 24%|██▍ | 123/507 [00:05<00:16, 22.75it/s]
Loading 0: 25%|██▌ | 127/507 [00:05<00:14, 26.15it/s]
Loading 0: 26%|██▌ | 131/507 [00:05<00:13, 28.64it/s]
Loading 0: 27%|██▋ | 135/507 [00:05<00:20, 18.59it/s]
Loading 0: 27%|██▋ | 139/507 [00:06<00:17, 21.57it/s]
Loading 0: 28%|██▊ | 142/507 [00:06<00:16, 22.29it/s]
Loading 0: 29%|██▉ | 147/507 [00:06<00:14, 24.73it/s]
Loading 0: 30%|██▉ | 150/507 [00:06<00:15, 22.67it/s]
Loading 0: 30%|███ | 154/507 [00:06<00:13, 26.09it/s]
Loading 0: 31%|███ | 158/507 [00:06<00:12, 28.53it/s]
Loading 0: 32%|███▏ | 162/507 [00:07<00:18, 18.89it/s]
Loading 0: 33%|███▎ | 166/507 [00:07<00:15, 21.77it/s]
Loading 0: 33%|███▎ | 169/507 [00:07<00:15, 22.28it/s]
Loading 0: 34%|███▍ | 174/507 [00:07<00:13, 24.96it/s]
Loading 0: 35%|███▍ | 177/507 [00:07<00:14, 23.03it/s]
Loading 0: 36%|███▌ | 181/507 [00:07<00:12, 26.43it/s]
Loading 0: 36%|███▋ | 185/507 [00:07<00:11, 28.61it/s]
Loading 0: 37%|███▋ | 189/507 [00:08<00:16, 19.01it/s]
Loading 0: 38%|███▊ | 193/507 [00:08<00:14, 21.84it/s]
Loading 0: 39%|███▊ | 196/507 [00:08<00:14, 22.20it/s]
Loading 0: 40%|███▉ | 201/507 [00:08<00:12, 24.99it/s]
Loading 0: 40%|████ | 204/507 [00:08<00:13, 23.04it/s]
Loading 0: 41%|████ | 208/507 [00:08<00:11, 26.10it/s]
Loading 0: 42%|████▏ | 212/507 [00:09<00:10, 28.66it/s]
Loading 0: 43%|████▎ | 216/507 [00:09<00:15, 19.02it/s]
Loading 0: 43%|████▎ | 220/507 [00:09<00:13, 21.88it/s]
Loading 0: 44%|████▍ | 223/507 [00:09<00:12, 22.37it/s]
Loading 0: 45%|████▍ | 226/507 [00:09<00:11, 23.87it/s]
Loading 0: 45%|████▌ | 229/507 [00:09<00:11, 24.25it/s]
Loading 0: 46%|████▌ | 232/507 [00:10<00:11, 24.43it/s]
Loading 0: 47%|████▋ | 236/507 [00:10<00:10, 24.71it/s]
Loading 0: 47%|████▋ | 240/507 [00:10<00:09, 28.04it/s]
Loading 0: 48%|████▊ | 243/507 [00:10<00:14, 18.55it/s]
Loading 0: 49%|████▊ | 247/507 [00:10<00:11, 21.67it/s]
Loading 0: 49%|████▉ | 250/507 [00:10<00:11, 22.01it/s]
Loading 0: 50%|█████ | 255/507 [00:11<00:10, 24.69it/s]
Loading 0: 51%|█████ | 258/507 [00:11<00:11, 22.26it/s]
Loading 0: 52%|█████▏ | 262/507 [00:11<00:09, 25.52it/s]
Loading 0: 52%|█████▏ | 266/507 [00:11<00:08, 28.01it/s]
Loading 0: 53%|█████▎ | 270/507 [00:11<00:12, 18.69it/s]
Loading 0: 54%|█████▍ | 274/507 [00:11<00:10, 21.62it/s]
Loading 0: 55%|█████▍ | 277/507 [00:12<00:10, 21.99it/s]
Loading 0: 55%|█████▌ | 280/507 [00:12<00:09, 23.41it/s]
Loading 0: 56%|█████▌ | 283/507 [00:12<00:09, 23.63it/s]
Loading 0: 56%|█████▋ | 286/507 [00:12<00:09, 23.32it/s]
Loading 0: 57%|█████▋ | 290/507 [00:12<00:09, 23.82it/s]
Loading 0: 58%|█████▊ | 294/507 [00:12<00:07, 27.16it/s]
Loading 0: 59%|█████▊ | 297/507 [00:12<00:11, 18.15it/s]
Loading 0: 59%|█████▉ | 299/507 [00:27<00:11, 18.15it/s]
Loading 0: 59%|█████▉ | 300/507 [00:27<04:36, 1.34s/it]
Loading 0: 60%|█████▉ | 302/507 [00:27<03:42, 1.08s/it]
Loading 0: 60%|██████ | 306/507 [00:27<02:20, 1.43it/s]
Loading 0: 61%|██████ | 309/507 [00:27<01:41, 1.95it/s]
Loading 0: 62%|██████▏ | 312/507 [00:27<01:14, 2.63it/s]
Loading 0: 62%|██████▏ | 316/507 [00:28<00:48, 3.92it/s]
Loading 0: 63%|██████▎ | 320/507 [00:28<00:33, 5.62it/s]
Loading 0: 64%|██████▎ | 323/507 [00:28<00:28, 6.48it/s]
Loading 0: 64%|██████▍ | 326/507 [00:28<00:22, 8.16it/s]
Loading 0: 65%|██████▍ | 329/507 [00:28<00:19, 9.16it/s]
Loading 0: 66%|██████▌ | 334/507 [00:28<00:12, 13.59it/s]
Loading 0: 66%|██████▋ | 337/507 [00:28<00:11, 15.40it/s]
Loading 0: 67%|██████▋ | 340/507 [00:29<00:09, 17.12it/s]
Loading 0: 68%|██████▊ | 344/507 [00:29<00:08, 19.19it/s]
Loading 0: 69%|██████▊ | 348/507 [00:29<00:06, 23.09it/s]
Loading 0: 69%|██████▉ | 352/507 [00:29<00:08, 18.17it/s]
Loading 0: 70%|███████ | 355/507 [00:29<00:07, 19.62it/s]
Loading 0: 71%|███████ | 358/507 [00:29<00:07, 20.75it/s]
Loading 0: 72%|███████▏ | 363/507 [00:30<00:06, 23.85it/s]
Loading 0: 72%|███████▏ | 366/507 [00:30<00:06, 22.00it/s]
Loading 0: 73%|███████▎ | 370/507 [00:30<00:05, 25.72it/s]
Loading 0: 74%|███████▍ | 374/507 [00:30<00:04, 27.89it/s]
Loading 0: 75%|███████▍ | 378/507 [00:30<00:07, 17.97it/s]
Loading 0: 75%|███████▌ | 382/507 [00:30<00:05, 20.99it/s]
Loading 0: 76%|███████▌ | 385/507 [00:31<00:05, 21.65it/s]
Loading 0: 77%|███████▋ | 390/507 [00:31<00:04, 24.33it/s]
Loading 0: 78%|███████▊ | 393/507 [00:31<00:05, 22.35it/s]
Loading 0: 78%|███████▊ | 397/507 [00:31<00:04, 25.65it/s]
Loading 0: 79%|███████▉ | 401/507 [00:31<00:03, 28.15it/s]
Loading 0: 80%|███████▉ | 405/507 [00:32<00:05, 18.71it/s]
Loading 0: 81%|████████ | 409/507 [00:32<00:04, 21.49it/s]
Loading 0: 81%|████████▏ | 412/507 [00:32<00:04, 22.02it/s]
Loading 0: 82%|████████▏ | 417/507 [00:32<00:03, 24.64it/s]
Loading 0: 83%|████████▎ | 420/507 [00:32<00:03, 22.57it/s]
Loading 0: 84%|████████▎ | 424/507 [00:32<00:03, 25.73it/s]
Loading 0: 84%|████████▍ | 428/507 [00:32<00:02, 28.13it/s]
Loading 0: 85%|████████▌ | 432/507 [00:33<00:04, 18.51it/s]
Loading 0: 86%|████████▌ | 436/507 [00:33<00:03, 21.45it/s]
Loading 0: 87%|████████▋ | 439/507 [00:33<00:03, 22.05it/s]
Loading 0: 87%|████████▋ | 442/507 [00:33<00:02, 23.50it/s]
Loading 0: 88%|████████▊ | 445/507 [00:33<00:02, 23.87it/s]
Loading 0: 88%|████████▊ | 448/507 [00:33<00:02, 24.20it/s]
Loading 0: 89%|████████▉ | 452/507 [00:33<00:02, 24.77it/s]
Loading 0: 90%|████████▉ | 456/507 [00:34<00:01, 27.64it/s]
Loading 0: 91%|█████████ | 459/507 [00:34<00:02, 17.79it/s]
Loading 0: 91%|█████████▏| 463/507 [00:34<00:02, 21.14it/s]
Loading 0: 92%|█████████▏| 466/507 [00:34<00:01, 21.34it/s]
Loading 0: 93%|█████████▎| 471/507 [00:34<00:01, 24.29it/s]
Loading 0: 93%|█████████▎| 474/507 [00:34<00:01, 22.55it/s]
Loading 0: 94%|█████████▍| 479/507 [00:35<00:01, 24.92it/s]
Loading 0: 95%|█████████▌| 483/507 [00:35<00:00, 27.37it/s]
Loading 0: 96%|█████████▌| 486/507 [00:37<00:04, 4.78it/s]
Loading 0: 96%|█████████▋| 489/507 [00:37<00:02, 6.04it/s]
Loading 0: 97%|█████████▋| 492/507 [00:37<00:02, 7.08it/s]
Loading 0: 98%|█████████▊| 498/507 [00:37<00:00, 11.47it/s]
Loading 0: 99%|█████████▉| 502/507 [00:38<00:00, 12.70it/s]
Loading 0: 100%|█████████▉| 506/507 [00:38<00:00, 15.80it/s]
Job rirv938-mistral-22b-14k-1384-v1-mkmlizer completed after 248.24s with status: succeeded
Stopping job with name rirv938-mistral-22b-14k-1384-v1-mkmlizer
Pipeline stage MKMLizer completed in 249.01s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.11s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service rirv938-mistral-22b-14k-1384-v1
Waiting for inference service rirv938-mistral-22b-14k-1384-v1 to be ready
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
Inference service rirv938-mistral-22b-14k-1384-v1 ready after 190.92228722572327s
Pipeline stage MKMLDeployer completed in 191.34s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.3162941932678223s
Received healthy response to inference request in 2.3124351501464844s
Received healthy response to inference request in 1.9680700302124023s
Received healthy response to inference request in 2.377725839614868s
Received healthy response to inference request in 2.1545677185058594s
5 requests
0 failed requests
5th percentile: 2.0053695678710937
10th percentile: 2.042669105529785
20th percentile: 2.117268180847168
30th percentile: 2.1861412048339846
40th percentile: 2.2492881774902345
50th percentile: 2.3124351501464844
60th percentile: 2.3139787673950196
70th percentile: 2.315522384643555
80th percentile: 2.3285805225372314
90th percentile: 2.35315318107605
95th percentile: 2.365439510345459
99th percentile: 2.3752685737609864
mean time: 2.2258185863494875
Pipeline stage StressChecker completed in 12.04s
run pipeline stage %s
Running pipeline stage TriggerMKMLProfilingPipeline
run_pipeline:run_in_cloud %s
starting trigger_guanaco_pipeline args=%s
Pipeline stage TriggerMKMLProfilingPipeline completed in 4.69s
Shutdown handler de-registered
rirv938-mistral-22b-14k-_1384_v1 status is now deployed due to DeploymentManager action
Shutdown handler registered
run pipeline %s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Skipping teardown as no inference service was successfully deployed
Pipeline stage MKMLProfilerDeleter completed in 0.15s
run pipeline stage %s
Running pipeline stage MKMLProfilerTemplater
Pipeline stage MKMLProfilerTemplater completed in 0.12s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service rirv938-mistral-22b-14k-1384-v1-profiler
Waiting for inference service rirv938-mistral-22b-14k-1384-v1-profiler to be ready
Inference service rirv938-mistral-22b-14k-1384-v1-profiler ready after 200.5146086215973s
Pipeline stage MKMLProfilerDeployer completed in 200.92s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/rirv938-mistral-22b-5269222a75a46c2f72efb64dc3ed76c9-deplonfhcm:/code/chaiverse_profiler_1727126201 --namespace tenant-chaiml-guanaco
kubectl exec -it rirv938-mistral-22b-5269222a75a46c2f72efb64dc3ed76c9-deplonfhcm --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1727126201 && python profiles.py profile --best_of_n 8 --auto_batch 5 --batches 1,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195 --samples 200 --input_tokens 1024 --output_tokens 64 --summary /code/chaiverse_profiler_1727126201/summary.json'
kubectl exec -it rirv938-mistral-22b-5269222a75a46c2f72efb64dc3ed76c9-deplonfhcm --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1727126201/summary.json'
Pipeline stage MKMLProfilerRunner completed in 1563.85s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service rirv938-mistral-22b-14k-1384-v1-profiler is running
Tearing down inference service rirv938-mistral-22b-14k-1384-v1-profiler
Service rirv938-mistral-22b-14k-1384-v1-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 1.94s
Shutdown handler de-registered
rirv938-mistral-22b-14k-_1384_v1 status is now inactive due to auto deactivation removed underperforming models
rirv938-mistral-22b-14k-_1384_v1 status is now torndown due to DeploymentManager action