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-24b-bon-31129-v4-mkmlizer
Waiting for job on rirv938-mistral-24b-bon-31129-v4-mkmlizer to finish
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ _____ __ __ ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ /___/ ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ Version: 0.12.8 ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ https://mk1.ai ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ The license key for the current software has been verified as ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ belonging to: ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ Chai Research Corp. ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ Expiration: 2025-04-15 23:59:59 ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ║ ║
rirv938-mistral-24b-bon-31129-v4-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
Failed to get response for submission rirv938-mistral-24b-bon_31129_v3: HTTPConnectionPool(host='rirv938-mistral-24b-bon-31129-v3-predictor.tenant-chaiml-guanaco.k.chaiverse.com', port=80): Read timed out. (read timeout=12.0)
rirv938-mistral-24b-bon-31129-v4-mkmlizer: Downloaded to shared memory in 128.277s
rirv938-mistral-24b-bon-31129-v4-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmp8k7db3vs, device:0
rirv938-mistral-24b-bon-31129-v4-mkmlizer: Saving flywheel model at /dev/shm/model_cache
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-24b-bon-31129-v4-mkmlizer: quantized model in 62.861s
rirv938-mistral-24b-bon-31129-v4-mkmlizer: Processed model rirv938/mistral_24b_bon_dataset_1200_450_v2 in 191.138s
rirv938-mistral-24b-bon-31129-v4-mkmlizer: creating bucket guanaco-mkml-models
rirv938-mistral-24b-bon-31129-v4-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
rirv938-mistral-24b-bon-31129-v4-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/rirv938-mistral-24b-bon-31129-v4
rirv938-mistral-24b-bon-31129-v4-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/rirv938-mistral-24b-bon-31129-v4/config.json
rirv938-mistral-24b-bon-31129-v4-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/rirv938-mistral-24b-bon-31129-v4/special_tokens_map.json
rirv938-mistral-24b-bon-31129-v4-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/rirv938-mistral-24b-bon-31129-v4/tokenizer_config.json
rirv938-mistral-24b-bon-31129-v4-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/rirv938-mistral-24b-bon-31129-v4/tokenizer.json
rirv938-mistral-24b-bon-31129-v4-mkmlizer: cp /dev/shm/model_cache/flywheel_model.1.safetensors s3://guanaco-mkml-models/rirv938-mistral-24b-bon-31129-v4/flywheel_model.1.safetensors
rirv938-mistral-24b-bon-31129-v4-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/rirv938-mistral-24b-bon-31129-v4/flywheel_model.0.safetensors
rirv938-mistral-24b-bon-31129-v4-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 1%| | 4/363 [00:00<00:17, 20.51it/s]
Loading 0: 2%|▏ | 7/363 [00:00<00:20, 17.38it/s]
Loading 0: 3%|▎ | 11/363 [00:00<00:16, 21.19it/s]
Loading 0: 4%|▍ | 14/363 [00:00<00:26, 13.35it/s]
Loading 0: 4%|▍ | 16/363 [00:01<00:26, 13.02it/s]
Loading 0: 6%|▌ | 21/363 [00:01<00:20, 16.56it/s]
Loading 0: 6%|▋ | 23/363 [00:01<00:26, 12.99it/s]
Loading 0: 8%|▊ | 28/363 [00:01<00:17, 18.92it/s]
Loading 0: 9%|▉ | 32/363 [00:01<00:15, 21.95it/s]
Loading 0: 10%|▉ | 35/363 [00:02<00:21, 15.24it/s]
Loading 0: 10%|█ | 38/363 [00:02<00:20, 15.93it/s]
Loading 0: 11%|█▏ | 41/363 [00:02<00:26, 12.30it/s]
Loading 0: 13%|█▎ | 46/363 [00:02<00:18, 17.43it/s]
Loading 0: 14%|█▍ | 50/363 [00:02<00:15, 20.57it/s]
Loading 0: 15%|█▍ | 53/363 [00:03<00:20, 14.93it/s]
Loading 0: 15%|█▌ | 56/363 [00:03<00:20, 15.23it/s]
Loading 0: 16%|█▋ | 59/363 [00:03<00:24, 12.24it/s]
Loading 0: 18%|█▊ | 64/363 [00:03<00:17, 17.26it/s]
Loading 0: 19%|█▊ | 68/363 [00:04<00:14, 20.72it/s]
Loading 0: 20%|█▉ | 71/363 [00:04<00:19, 15.21it/s]
Loading 0: 20%|██ | 74/363 [00:04<00:18, 15.74it/s]
Loading 0: 21%|██ | 77/363 [00:04<00:22, 12.52it/s]
Loading 0: 23%|██▎ | 82/363 [00:05<00:15, 17.68it/s]
Loading 0: 24%|██▎ | 86/363 [00:05<00:13, 21.00it/s]
Loading 0: 25%|██▍ | 89/363 [00:05<00:18, 15.17it/s]
Loading 0: 25%|██▌ | 92/363 [00:05<00:17, 15.63it/s]
Loading 0: 26%|██▋ | 96/363 [00:05<00:13, 19.25it/s]
Loading 0: 28%|██▊ | 100/363 [00:05<00:11, 23.11it/s]
Loading 0: 28%|██▊ | 103/363 [00:06<00:16, 15.84it/s]
Loading 0: 29%|██▉ | 106/363 [00:06<00:17, 14.51it/s]
Loading 0: 30%|██▉ | 108/363 [00:06<00:21, 12.14it/s]
Loading 0: 31%|███ | 111/363 [00:06<00:17, 14.65it/s]
Loading 0: 31%|███ | 113/363 [00:07<00:20, 12.21it/s]
Loading 0: 33%|███▎ | 118/363 [00:07<00:13, 18.04it/s]
Loading 0: 34%|███▎ | 122/363 [00:07<00:11, 21.55it/s]
Loading 0: 34%|███▍ | 125/363 [00:07<00:15, 15.67it/s]
Loading 0: 35%|███▌ | 128/363 [00:07<00:14, 16.40it/s]
Loading 0: 36%|███▌ | 131/363 [00:08<00:18, 12.58it/s]
Loading 0: 37%|███▋ | 136/363 [00:08<00:12, 17.74it/s]
Loading 0: 39%|███▊ | 140/363 [00:08<00:10, 21.13it/s]
Loading 0: 39%|███▉ | 143/363 [00:08<00:14, 15.28it/s]
Loading 0: 40%|████ | 146/363 [00:09<00:13, 15.98it/s]
Loading 0: 41%|████ | 149/363 [00:09<00:16, 12.65it/s]
Loading 0: 42%|████▏ | 154/363 [00:09<00:11, 17.78it/s]
Loading 0: 44%|████▎ | 158/363 [00:09<00:09, 21.39it/s]
Loading 0: 45%|████▍ | 162/363 [00:10<00:14, 14.04it/s]
Loading 0: 45%|████▌ | 165/363 [00:10<00:12, 15.88it/s]
Loading 0: 46%|████▋ | 168/363 [00:10<00:13, 14.55it/s]
Loading 0: 47%|████▋ | 172/363 [00:10<00:10, 18.36it/s]
Loading 0: 48%|████▊ | 176/363 [00:10<00:08, 21.56it/s]
Loading 0: 49%|████▉ | 179/363 [00:11<00:11, 15.68it/s]
Loading 0: 50%|█████ | 182/363 [00:11<00:11, 16.35it/s]
Loading 0: 51%|█████ | 185/363 [00:11<00:13, 13.01it/s]
Loading 0: 52%|█████▏ | 190/363 [00:11<00:09, 18.17it/s]
Loading 0: 54%|█████▎ | 195/363 [00:11<00:08, 18.86it/s]
Loading 0: 55%|█████▍ | 198/363 [00:12<00:11, 14.67it/s]
Loading 0: 55%|█████▌ | 201/363 [00:26<03:24, 1.26s/it]
Loading 0: 56%|█████▌ | 203/363 [00:26<02:48, 1.05s/it]
Loading 0: 57%|█████▋ | 207/363 [00:27<01:47, 1.46it/s]
Loading 0: 58%|█████▊ | 210/363 [00:27<01:17, 1.97it/s]
Loading 0: 59%|█████▊ | 213/363 [00:27<00:57, 2.59it/s]
Loading 0: 59%|█████▉ | 215/363 [00:27<00:48, 3.07it/s]
Loading 0: 60%|█████▉ | 217/363 [00:27<00:39, 3.71it/s]
Loading 0: 60%|██████ | 219/363 [00:27<00:31, 4.63it/s]
Loading 0: 61%|██████ | 221/363 [00:28<00:27, 5.16it/s]
Loading 0: 62%|██████▏ | 226/363 [00:28<00:15, 9.10it/s]
Loading 0: 64%|██████▎ | 231/363 [00:28<00:11, 11.72it/s]
Loading 0: 64%|██████▍ | 234/363 [00:28<00:12, 10.58it/s]
Loading 0: 65%|██████▌ | 237/363 [00:29<00:09, 12.69it/s]
Loading 0: 66%|██████▌ | 240/363 [00:29<00:10, 12.15it/s]
Loading 0: 67%|██████▋ | 244/363 [00:29<00:07, 15.88it/s]
Loading 0: 68%|██████▊ | 248/363 [00:29<00:05, 19.62it/s]
Loading 0: 69%|██████▉ | 251/363 [00:29<00:07, 14.42it/s]
Loading 0: 70%|██████▉ | 254/363 [00:30<00:07, 15.24it/s]
Loading 0: 71%|███████ | 257/363 [00:30<00:08, 11.87it/s]
Loading 0: 72%|███████▏ | 262/363 [00:30<00:05, 16.88it/s]
Loading 0: 73%|███████▎ | 266/363 [00:30<00:04, 20.30it/s]
Loading 0: 74%|███████▍ | 269/363 [00:31<00:06, 14.97it/s]
Loading 0: 75%|███████▍ | 272/363 [00:31<00:05, 15.73it/s]
Loading 0: 76%|███████▌ | 275/363 [00:31<00:06, 12.58it/s]
Loading 0: 77%|███████▋ | 280/363 [00:31<00:04, 17.81it/s]
Loading 0: 78%|███████▊ | 284/363 [00:31<00:03, 21.39it/s]
Loading 0: 79%|███████▉ | 288/363 [00:32<00:05, 13.90it/s]
Loading 0: 80%|████████ | 291/363 [00:32<00:04, 15.73it/s]
Loading 0: 81%|████████ | 294/363 [00:32<00:04, 14.61it/s]
Loading 0: 82%|████████▏ | 299/363 [00:32<00:03, 19.77it/s]
Loading 0: 83%|████████▎ | 303/363 [00:32<00:03, 18.80it/s]
Loading 0: 84%|████████▍ | 306/363 [00:33<00:03, 14.28it/s]
Loading 0: 85%|████████▌ | 309/363 [00:33<00:03, 16.24it/s]
Loading 0: 86%|████████▌ | 312/363 [00:33<00:03, 14.86it/s]
Loading 0: 87%|████████▋ | 316/363 [00:33<00:02, 18.90it/s]
Loading 0: 88%|████████▊ | 320/363 [00:33<00:01, 22.78it/s]
Loading 0: 89%|████████▉ | 323/363 [00:34<00:02, 16.06it/s]
Loading 0: 90%|████████▉ | 326/363 [00:34<00:02, 16.58it/s]
Loading 0: 91%|█████████ | 329/363 [00:34<00:02, 12.99it/s]
Loading 0: 92%|█████████▏| 334/363 [00:34<00:01, 18.13it/s]
Loading 0: 93%|█████████▎| 338/363 [00:34<00:01, 21.80it/s]
Loading 0: 94%|█████████▍| 341/363 [00:35<00:01, 15.65it/s]
Loading 0: 95%|█████████▍| 344/363 [00:35<00:01, 16.22it/s]
Loading 0: 96%|█████████▌| 347/363 [00:35<00:01, 12.59it/s]
Loading 0: 97%|█████████▋| 353/363 [00:35<00:00, 19.03it/s]
Loading 0: 98%|█████████▊| 357/363 [00:43<00:03, 1.79it/s]
Loading 0: 99%|█████████▉| 360/363 [00:43<00:01, 2.27it/s]
Loading 0: 100%|█████████▉| 362/363 [00:43<00:00, 2.66it/s]
Job rirv938-mistral-24b-bon-31129-v4-mkmlizer completed after 215.94s with status: succeeded
Stopping job with name rirv938-mistral-24b-bon-31129-v4-mkmlizer
Pipeline stage MKMLizer completed in 216.50s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.18s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service rirv938-mistral-24b-bon-31129-v4
Waiting for inference service rirv938-mistral-24b-bon-31129-v4 to be ready
Failed to get response for submission rirv938-mistral-24b-bon_31129_v3: HTTPConnectionPool(host='rirv938-mistral-24b-bon-31129-v3-predictor.tenant-chaiml-guanaco.k.chaiverse.com', port=80): Read timed out. (read timeout=12.0)
Failed to get response for submission rirv938-mistral-24b-bon_31129_v3: HTTPConnectionPool(host='rirv938-mistral-24b-bon-31129-v3-predictor.tenant-chaiml-guanaco.k.chaiverse.com', port=80): Read timed out. (read timeout=12.0)
Inference service rirv938-mistral-24b-bon-31129-v4 ready after 110.45197772979736s
Pipeline stage MKMLDeployer completed in 111.06s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 3.126645088195801s
Received healthy response to inference request in 2.486408233642578s
Received healthy response to inference request in 2.7629384994506836s
Received healthy response to inference request in 2.5261287689208984s
Received healthy response to inference request in 2.4447996616363525s
5 requests
0 failed requests
5th percentile: 2.453121376037598
10th percentile: 2.4614430904388427
20th percentile: 2.478086519241333
30th percentile: 2.494352340698242
40th percentile: 2.5102405548095703
50th percentile: 2.5261287689208984
60th percentile: 2.6208526611328127
70th percentile: 2.7155765533447265
80th percentile: 2.8356798171997073
90th percentile: 2.981162452697754
95th percentile: 3.053903770446777
99th percentile: 3.112096824645996
mean time: 2.6693840503692625
Pipeline stage StressChecker completed in 14.94s
run pipeline stage %s
Running pipeline stage OfflineFamilyFriendlyTriggerPipeline
run_pipeline:run_in_cloud %s
starting trigger_guanaco_pipeline args=%s
triggered trigger_guanaco_pipeline args=%s
Pipeline stage OfflineFamilyFriendlyTriggerPipeline completed in 0.85s
run pipeline stage %s
Running pipeline stage TriggerMKMLProfilingPipeline
run_pipeline:run_in_cloud %s
starting trigger_guanaco_pipeline args=%s
triggered trigger_guanaco_pipeline args=%s
Pipeline stage TriggerMKMLProfilingPipeline completed in 0.85s
Shutdown handler de-registered
rirv938-mistral-24b-bon_31129_v4 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.13s
run pipeline stage %s
Running pipeline stage MKMLProfilerTemplater
Pipeline stage MKMLProfilerTemplater completed in 0.11s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service rirv938-mistral-24b-bon-31129-v4-profiler
Waiting for inference service rirv938-mistral-24b-bon-31129-v4-profiler to be ready
Inference service rirv938-mistral-24b-bon-31129-v4-profiler ready after 110.52999687194824s
Pipeline stage MKMLProfilerDeployer completed in 111.05s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/rirv938-mistral-24b-c6fda4f4b31f9da22728fcb6e92f15cf-deplomqt8w:/code/chaiverse_profiler_1741199447 --namespace tenant-chaiml-guanaco
kubectl exec -it rirv938-mistral-24b-c6fda4f4b31f9da22728fcb6e92f15cf-deplomqt8w --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1741199447 && 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 768 --output_tokens 64 --summary /code/chaiverse_profiler_1741199447/summary.json'
Shutdown handler registered
run pipeline %s
run pipeline stage %s
Running pipeline stage OfflineFamilyFriendlyScorer
Evaluating %s Family Friendly Score with %s threads
Pipeline stage OfflineFamilyFriendlyScorer completed in 2890.60s
Shutdown handler de-registered
rirv938-mistral-24b-bon_31129_v4 status is now inactive due to auto deactivation removed underperforming models
rirv938-mistral-24b-bon_31129_v4 status is now torndown due to DeploymentManager action