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 chaiml-mistral31-24b-sf-19349-v2-mkmlizer
Waiting for job on chaiml-mistral31-24b-sf-19349-v2-mkmlizer to finish
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ _____ __ __ ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ /___/ ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ Version: 0.12.8 ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ https://mk1.ai ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ The license key for the current software has been verified as ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ belonging to: ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ Chai Research Corp. ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ Expiration: 2028-03-31 23:59:59 ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ║ ║
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: Downloaded to shared memory in 79.872s
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpow3n4hzo, device:0
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: Saving flywheel model at /dev/shm/model_cache
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: quantized model in 55.250s
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: Processed model ChaiML/mistral31-24b-sftmorelora-retryv2-top20k in 135.122s
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: creating bucket guanaco-mkml-models
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/chaiml-mistral31-24b-sf-19349-v2
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/chaiml-mistral31-24b-sf-19349-v2/config.json
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/chaiml-mistral31-24b-sf-19349-v2/special_tokens_map.json
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/chaiml-mistral31-24b-sf-19349-v2/tokenizer_config.json
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/chaiml-mistral31-24b-sf-19349-v2/tokenizer.json
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: cp /dev/shm/model_cache/flywheel_model.1.safetensors s3://guanaco-mkml-models/chaiml-mistral31-24b-sf-19349-v2/flywheel_model.1.safetensors
chaiml-mistral31-24b-sf-19349-v2-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/chaiml-mistral31-24b-sf-19349-v2/flywheel_model.0.safetensors
chaiml-mistral31-24b-sf-19349-v2-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 1%|▏ | 5/363 [00:00<00:17, 20.39it/s]
Loading 0: 3%|▎ | 12/363 [00:00<00:10, 34.24it/s]
Loading 0: 4%|▍ | 16/363 [00:00<00:11, 29.48it/s]
Loading 0: 6%|▌ | 21/363 [00:00<00:10, 32.30it/s]
Loading 0: 7%|▋ | 25/363 [00:00<00:11, 29.24it/s]
Loading 0: 9%|▊ | 31/363 [00:00<00:09, 36.56it/s]
Loading 0: 10%|▉ | 36/363 [00:01<00:15, 20.90it/s]
Loading 0: 11%|█ | 40/363 [00:01<00:13, 23.68it/s]
Loading 0: 12%|█▏ | 44/363 [00:01<00:12, 24.99it/s]
Loading 0: 13%|█▎ | 48/363 [00:01<00:11, 26.58it/s]
Loading 0: 14%|█▍ | 52/363 [00:01<00:12, 25.31it/s]
Loading 0: 16%|█▌ | 57/363 [00:02<00:10, 27.95it/s]
Loading 0: 17%|█▋ | 61/363 [00:02<00:11, 26.67it/s]
Loading 0: 18%|█▊ | 65/363 [00:02<00:11, 27.09it/s]
Loading 0: 19%|█▉ | 70/363 [00:02<00:12, 24.32it/s]
Loading 0: 20%|██ | 73/363 [00:02<00:13, 20.97it/s]
Loading 0: 22%|██▏ | 79/363 [00:03<00:10, 25.92it/s]
Loading 0: 23%|██▎ | 82/363 [00:03<00:11, 25.07it/s]
Loading 0: 24%|██▎ | 86/363 [00:03<00:10, 26.23it/s]
Loading 0: 25%|██▍ | 89/363 [00:03<00:10, 26.15it/s]
Loading 0: 25%|██▌ | 92/363 [00:03<00:13, 20.59it/s]
Loading 0: 27%|██▋ | 99/363 [00:03<00:09, 27.41it/s]
Loading 0: 28%|██▊ | 102/363 [00:03<00:10, 25.04it/s]
Loading 0: 29%|██▉ | 107/363 [00:04<00:11, 22.48it/s]
Loading 0: 31%|███ | 112/363 [00:04<00:09, 25.57it/s]
Loading 0: 32%|███▏ | 115/363 [00:04<00:09, 25.12it/s]
Loading 0: 33%|███▎ | 120/363 [00:04<00:08, 27.33it/s]
Loading 0: 34%|███▍ | 123/363 [00:04<00:09, 24.30it/s]
Loading 0: 35%|███▍ | 127/363 [00:04<00:08, 27.43it/s]
Loading 0: 36%|███▌ | 130/363 [00:05<00:08, 27.75it/s]
Loading 0: 37%|███▋ | 133/363 [00:05<00:08, 26.52it/s]
Loading 0: 38%|███▊ | 138/363 [00:05<00:07, 28.65it/s]
Loading 0: 39%|███▉ | 141/363 [00:05<00:08, 24.99it/s]
Loading 0: 40%|███▉ | 145/363 [00:05<00:07, 27.58it/s]
Loading 0: 41%|████▏ | 150/363 [00:05<00:09, 22.98it/s]
Loading 0: 42%|████▏ | 153/363 [00:06<00:10, 19.63it/s]
Loading 0: 43%|████▎ | 157/363 [00:06<00:08, 23.14it/s]
Loading 0: 44%|████▍ | 160/363 [00:06<00:08, 23.21it/s]
Loading 0: 45%|████▍ | 163/363 [00:06<00:08, 24.45it/s]
Loading 0: 46%|████▌ | 166/363 [00:06<00:07, 25.31it/s]
Loading 0: 47%|████▋ | 169/363 [00:06<00:07, 24.44it/s]
Loading 0: 48%|████▊ | 174/363 [00:06<00:07, 26.92it/s]
Loading 0: 49%|████▉ | 177/363 [00:06<00:07, 23.89it/s]
Loading 0: 50%|████▉ | 181/363 [00:07<00:06, 27.30it/s]
Loading 0: 51%|█████ | 186/363 [00:07<00:06, 29.22it/s]
Loading 0: 52%|█████▏ | 190/363 [00:07<00:08, 20.08it/s]
Loading 0: 53%|█████▎ | 193/363 [00:07<00:07, 21.49it/s]
Loading 0: 54%|█████▍ | 196/363 [00:07<00:07, 22.26it/s]
Loading 0: 55%|█████▌ | 200/363 [00:22<00:07, 22.26it/s]
Loading 0: 55%|█████▌ | 201/363 [00:22<03:05, 1.14s/it]
Loading 0: 56%|█████▌ | 203/363 [00:22<02:33, 1.05it/s]
Loading 0: 57%|█████▋ | 208/363 [00:22<01:32, 1.68it/s]
Loading 0: 58%|█████▊ | 211/363 [00:23<01:10, 2.15it/s]
Loading 0: 59%|█████▉ | 214/363 [00:23<00:52, 2.82it/s]
Loading 0: 60%|██████ | 218/363 [00:23<00:35, 4.03it/s]
Loading 0: 61%|██████ | 221/363 [00:23<00:27, 5.14it/s]
Loading 0: 62%|██████▏ | 224/363 [00:23<00:22, 6.14it/s]
Loading 0: 63%|██████▎ | 229/363 [00:23<00:14, 9.11it/s]
Loading 0: 64%|██████▍ | 232/363 [00:23<00:12, 10.76it/s]
Loading 0: 65%|██████▌ | 237/363 [00:24<00:08, 14.47it/s]
Loading 0: 66%|██████▌ | 240/363 [00:24<00:08, 15.21it/s]
Loading 0: 67%|██████▋ | 244/363 [00:24<00:06, 18.85it/s]
Loading 0: 68%|██████▊ | 248/363 [00:24<00:06, 18.48it/s]
Loading 0: 70%|██████▉ | 253/363 [00:24<00:04, 23.77it/s]
Loading 0: 71%|███████ | 257/363 [00:24<00:04, 22.00it/s]
Loading 0: 72%|███████▏ | 263/363 [00:25<00:03, 28.77it/s]
Loading 0: 74%|███████▎ | 267/363 [00:25<00:04, 23.96it/s]
Loading 0: 75%|███████▍ | 271/363 [00:25<00:04, 22.33it/s]
Loading 0: 75%|███████▌ | 274/363 [00:25<00:03, 23.43it/s]
Loading 0: 76%|███████▋ | 277/363 [00:25<00:03, 23.65it/s]
Loading 0: 77%|███████▋ | 280/363 [00:25<00:03, 25.03it/s]
Loading 0: 78%|███████▊ | 283/363 [00:25<00:03, 25.90it/s]
Loading 0: 79%|███████▉ | 286/363 [00:26<00:03, 25.46it/s]
Loading 0: 80%|████████ | 291/363 [00:26<00:02, 28.05it/s]
Loading 0: 81%|████████ | 294/363 [00:26<00:02, 24.20it/s]
Loading 0: 82%|████████▏ | 298/363 [00:26<00:02, 27.60it/s]
Loading 0: 83%|████████▎ | 303/363 [00:26<00:02, 29.98it/s]
Loading 0: 85%|████████▍ | 307/363 [00:26<00:02, 20.49it/s]
Loading 0: 85%|████████▌ | 310/363 [00:27<00:02, 21.98it/s]
Loading 0: 86%|████████▌ | 313/363 [00:27<00:02, 22.55it/s]
Loading 0: 88%|████████▊ | 318/363 [00:27<00:01, 25.17it/s]
Loading 0: 88%|████████▊ | 321/363 [00:27<00:01, 23.02it/s]
Loading 0: 90%|████████▉ | 325/363 [00:27<00:01, 26.05it/s]
Loading 0: 90%|█████████ | 328/363 [00:27<00:01, 26.72it/s]
Loading 0: 91%|█████████ | 331/363 [00:27<00:01, 25.07it/s]
Loading 0: 92%|█████████▏| 335/363 [00:28<00:01, 25.16it/s]
Loading 0: 93%|█████████▎| 338/363 [00:28<00:01, 24.15it/s]
Loading 0: 94%|█████████▍| 341/363 [00:35<00:14, 1.51it/s]
Loading 0: 96%|█████████▌| 347/363 [00:35<00:06, 2.62it/s]
Loading 0: 96%|█████████▋| 350/363 [00:35<00:03, 3.32it/s]
Loading 0: 98%|█████████▊| 355/363 [00:35<00:01, 4.96it/s]
Loading 0: 99%|█████████▊| 358/363 [00:35<00:00, 6.01it/s]
Job chaiml-mistral31-24b-sf-19349-v2-mkmlizer completed after 165.88s with status: succeeded
Stopping job with name chaiml-mistral31-24b-sf-19349-v2-mkmlizer
Pipeline stage MKMLizer completed in 166.37s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.42s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service chaiml-mistral31-24b-sf-19349-v2
Waiting for inference service chaiml-mistral31-24b-sf-19349-v2 to be ready
Failed to get response for submission rirv938-0sw-96p-4ff-cha_93234_v2: HTTPConnectionPool(host='guanaco-model-mesh.k2.chaiverse.com', port=80): Read timed out. (read timeout=12.0)
Inference service chaiml-mistral31-24b-sf-19349-v2 ready after 120.43591618537903s
Pipeline stage MKMLDeployer completed in 121.01s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.6151540279388428s
Received healthy response to inference request in 2.126718759536743s
Received healthy response to inference request in 2.057112693786621s
Received healthy response to inference request in 2.2797629833221436s
Received healthy response to inference request in 2.230497121810913s
5 requests
0 failed requests
5th percentile: 2.0710339069366457
10th percentile: 2.08495512008667
20th percentile: 2.1127975463867186
30th percentile: 2.147474431991577
40th percentile: 2.1889857769012453
50th percentile: 2.230497121810913
60th percentile: 2.2502034664154054
70th percentile: 2.2699098110198976
80th percentile: 2.3468411922454835
90th percentile: 2.480997610092163
95th percentile: 2.548075819015503
99th percentile: 2.601738386154175
mean time: 2.261849117279053
Pipeline stage StressChecker completed in 12.61s
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.70s
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.77s
Shutdown handler de-registered
chaiml-mistral31-24b-sf_19349_v2 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.11s
run pipeline stage %s
Running pipeline stage MKMLProfilerTemplater
Pipeline stage MKMLProfilerTemplater completed in 0.09s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service chaiml-mistral31-24b-sf-19349-v2-profiler
Waiting for inference service chaiml-mistral31-24b-sf-19349-v2-profiler to be ready
Inference service chaiml-mistral31-24b-sf-19349-v2-profiler ready after 120.68046832084656s
Pipeline stage MKMLProfilerDeployer completed in 121.16s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/chaiml-mistral31-24b1dd31703388c6bd2eef8328a3f4301d0-deplowhtg8:/code/chaiverse_profiler_1746877100 --namespace tenant-chaiml-guanaco
kubectl exec -it chaiml-mistral31-24b1dd31703388c6bd2eef8328a3f4301d0-deplowhtg8 --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1746877100 && 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_1746877100/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 2989.65s
Shutdown handler de-registered
chaiml-mistral31-24b-sf_19349_v2 status is now inactive due to auto deactivation removed underperforming models
chaiml-mistral31-24b-sf_19349_v2 status is now torndown due to DeploymentManager action