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 mistralai-mistral-small-5341-v20-mkmlizer
Waiting for job on mistralai-mistral-small-5341-v20-mkmlizer to finish
mistralai-mistral-small-5341-v20-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
mistralai-mistral-small-5341-v20-mkmlizer: ║ _____ __ __ ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ /___/ ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ Version: 0.10.1 ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ https://mk1.ai ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ The license key for the current software has been verified as ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ belonging to: ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ Chai Research Corp. ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
mistralai-mistral-small-5341-v20-mkmlizer: ║ ║
mistralai-mistral-small-5341-v20-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
mistralai-mistral-small-5341-v20-mkmlizer: Downloaded to shared memory in 105.345s
mistralai-mistral-small-5341-v20-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmp97cr7hvg, device:0
mistralai-mistral-small-5341-v20-mkmlizer: Saving flywheel model at /dev/shm/model_cache
mistralai-mistral-small-5341-v20-mkmlizer: quantized model in 42.060s
mistralai-mistral-small-5341-v20-mkmlizer: Processed model mistralai/Mistral-Small-Instruct-2409 in 147.406s
mistralai-mistral-small-5341-v20-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
mistralai-mistral-small-5341-v20-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/mistralai-mistral-small-5341-v20
mistralai-mistral-small-5341-v20-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/mistralai-mistral-small-5341-v20/special_tokens_map.json
mistralai-mistral-small-5341-v20-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/mistralai-mistral-small-5341-v20/config.json
mistralai-mistral-small-5341-v20-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/mistralai-mistral-small-5341-v20/tokenizer_config.json
mistralai-mistral-small-5341-v20-mkmlizer: cp /dev/shm/model_cache/tokenizer.model s3://guanaco-mkml-models/mistralai-mistral-small-5341-v20/tokenizer.model
mistralai-mistral-small-5341-v20-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/mistralai-mistral-small-5341-v20/tokenizer.json
mistralai-mistral-small-5341-v20-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/mistralai-mistral-small-5341-v20/flywheel_model.0.safetensors
mistralai-mistral-small-5341-v20-mkmlizer:
Loading 0: 0%| | 0/507 [00:00<?, ?it/s]
Loading 0: 1%| | 5/507 [00:00<00:16, 30.42it/s]
Loading 0: 2%|▏ | 12/507 [00:00<00:11, 44.80it/s]
Loading 0: 3%|▎ | 17/507 [00:00<00:11, 42.49it/s]
Loading 0: 4%|▍ | 22/507 [00:00<00:11, 41.44it/s]
Loading 0: 5%|▌ | 27/507 [00:00<00:11, 42.16it/s]
Loading 0: 6%|▋ | 32/507 [00:00<00:13, 34.52it/s]
Loading 0: 8%|▊ | 39/507 [00:00<00:11, 40.91it/s]
Loading 0: 9%|▊ | 44/507 [00:01<00:11, 39.66it/s]
Loading 0: 10%|▉ | 49/507 [00:01<00:13, 33.97it/s]
Loading 0: 10%|█ | 53/507 [00:01<00:16, 28.04it/s]
Loading 0: 11%|█ | 57/507 [00:01<00:16, 27.96it/s]
Loading 0: 12%|█▏ | 63/507 [00:01<00:13, 33.01it/s]
Loading 0: 13%|█▎ | 67/507 [00:01<00:13, 33.40it/s]
Loading 0: 14%|█▍ | 72/507 [00:02<00:11, 36.94it/s]
Loading 0: 15%|█▌ | 78/507 [00:02<00:10, 41.10it/s]
Loading 0: 16%|█▋ | 83/507 [00:02<00:10, 40.20it/s]
Loading 0: 17%|█▋ | 88/507 [00:02<00:10, 39.17it/s]
Loading 0: 18%|█▊ | 93/507 [00:02<00:10, 40.38it/s]
Loading 0: 19%|█▉ | 98/507 [00:02<00:12, 33.96it/s]
Loading 0: 21%|██ | 105/507 [00:02<00:10, 39.31it/s]
Loading 0: 22%|██▏ | 110/507 [00:02<00:10, 38.19it/s]
Loading 0: 22%|██▏ | 114/507 [00:03<00:14, 27.00it/s]
Loading 0: 23%|██▎ | 118/507 [00:03<00:14, 27.65it/s]
Loading 0: 24%|██▍ | 122/507 [00:03<00:13, 27.80it/s]
Loading 0: 25%|██▌ | 129/507 [00:03<00:10, 34.67it/s]
Loading 0: 26%|██▌ | 133/507 [00:03<00:10, 34.29it/s]
Loading 0: 27%|██▋ | 138/507 [00:03<00:10, 36.55it/s]
Loading 0: 28%|██▊ | 142/507 [00:04<00:10, 36.03it/s]
Loading 0: 29%|██▉ | 147/507 [00:04<00:09, 37.79it/s]
Loading 0: 30%|██▉ | 151/507 [00:04<00:09, 36.58it/s]
Loading 0: 31%|███ | 156/507 [00:04<00:09, 38.35it/s]
Loading 0: 32%|███▏ | 160/507 [00:04<00:09, 37.19it/s]
Loading 0: 32%|███▏ | 164/507 [00:04<00:09, 35.89it/s]
Loading 0: 33%|███▎ | 169/507 [00:04<00:11, 29.28it/s]
Loading 0: 34%|███▍ | 173/507 [00:04<00:10, 30.70it/s]
Loading 0: 35%|███▍ | 177/507 [00:05<00:11, 29.26it/s]
Loading 0: 36%|███▌ | 181/507 [00:05<00:10, 31.41it/s]
Loading 0: 36%|███▋ | 185/507 [00:05<00:11, 28.73it/s]
Loading 0: 37%|███▋ | 190/507 [00:05<00:09, 33.56it/s]
Loading 0: 38%|███▊ | 194/507 [00:05<00:09, 31.70it/s]
Loading 0: 40%|███▉ | 201/507 [00:05<00:08, 38.16it/s]
Loading 0: 40%|████ | 205/507 [00:05<00:08, 36.00it/s]
Loading 0: 41%|████▏ | 210/507 [00:06<00:07, 37.19it/s]
Loading 0: 42%|████▏ | 214/507 [00:06<00:08, 36.25it/s]
Loading 0: 43%|████▎ | 218/507 [00:06<00:08, 35.88it/s]
Loading 0: 44%|████▍ | 222/507 [00:06<00:07, 35.70it/s]
Loading 0: 45%|████▍ | 226/507 [00:06<00:10, 26.66it/s]
Loading 0: 45%|████▌ | 230/507 [00:06<00:10, 27.01it/s]
Loading 0: 47%|████▋ | 237/507 [00:06<00:07, 34.62it/s]
Loading 0: 48%|████▊ | 241/507 [00:06<00:07, 34.86it/s]
Loading 0: 49%|████▊ | 246/507 [00:07<00:07, 36.81it/s]
Loading 0: 49%|████▉ | 250/507 [00:07<00:06, 36.73it/s]
Loading 0: 50%|█████ | 255/507 [00:07<00:06, 39.09it/s]
Loading 0: 51%|█████▏ | 260/507 [00:07<00:06, 39.41it/s]
Loading 0: 52%|█████▏ | 265/507 [00:07<00:06, 39.24it/s]
Loading 0: 53%|█████▎ | 270/507 [00:07<00:05, 41.00it/s]
Loading 0: 54%|█████▍ | 275/507 [00:07<00:06, 34.51it/s]
Loading 0: 56%|█████▌ | 282/507 [00:08<00:05, 41.25it/s]
Loading 0: 57%|█████▋ | 287/507 [00:08<00:08, 26.96it/s]
Loading 0: 58%|█████▊ | 293/507 [00:08<00:07, 29.91it/s]
Loading 0: 59%|█████▉ | 299/507 [00:22<00:06, 29.91it/s]
Loading 0: 59%|█████▉ | 300/507 [00:22<02:28, 1.39it/s]
Loading 0: 60%|█████▉ | 302/507 [00:22<02:11, 1.56it/s]
Loading 0: 61%|██████ | 307/507 [00:22<01:30, 2.20it/s]
Loading 0: 61%|██████▏ | 311/507 [00:22<01:08, 2.88it/s]
Loading 0: 63%|██████▎ | 318/507 [00:23<00:41, 4.60it/s]
Loading 0: 64%|██████▎ | 322/507 [00:23<00:31, 5.83it/s]
Loading 0: 64%|██████▍ | 327/507 [00:23<00:22, 7.89it/s]
Loading 0: 65%|██████▌ | 331/507 [00:23<00:17, 9.78it/s]
Loading 0: 66%|██████▌ | 335/507 [00:23<00:14, 12.11it/s]
Loading 0: 67%|██████▋ | 340/507 [00:23<00:11, 14.33it/s]
Loading 0: 68%|██████▊ | 344/507 [00:23<00:09, 17.06it/s]
Loading 0: 69%|██████▊ | 348/507 [00:24<00:08, 19.07it/s]
Loading 0: 70%|██████▉ | 354/507 [00:24<00:06, 24.62it/s]
Loading 0: 71%|███████ | 358/507 [00:24<00:05, 26.58it/s]
Loading 0: 72%|███████▏ | 363/507 [00:24<00:04, 30.05it/s]
Loading 0: 72%|███████▏ | 367/507 [00:24<00:04, 31.10it/s]
Loading 0: 73%|███████▎ | 372/507 [00:24<00:03, 34.33it/s]
Loading 0: 74%|███████▍ | 376/507 [00:24<00:03, 34.38it/s]
Loading 0: 75%|███████▌ | 381/507 [00:24<00:03, 36.71it/s]
Loading 0: 76%|███████▌ | 385/507 [00:25<00:03, 35.98it/s]
Loading 0: 77%|███████▋ | 389/507 [00:25<00:03, 35.60it/s]
Loading 0: 78%|███████▊ | 393/507 [00:25<00:03, 35.42it/s]
Loading 0: 78%|███████▊ | 397/507 [00:25<00:04, 26.63it/s]
Loading 0: 79%|███████▉ | 401/507 [00:25<00:03, 26.95it/s]
Loading 0: 80%|████████ | 408/507 [00:25<00:02, 34.84it/s]
Loading 0: 81%|████████▏ | 412/507 [00:25<00:02, 34.92it/s]
Loading 0: 82%|████████▏ | 417/507 [00:25<00:02, 37.40it/s]
Loading 0: 83%|████████▎ | 421/507 [00:26<00:02, 36.38it/s]
Loading 0: 84%|████████▍ | 426/507 [00:26<00:02, 38.37it/s]
Loading 0: 85%|████████▍ | 430/507 [00:26<00:02, 37.35it/s]
Loading 0: 86%|████████▌ | 435/507 [00:26<00:01, 39.27it/s]
Loading 0: 87%|████████▋ | 439/507 [00:26<00:01, 36.89it/s]
Loading 0: 88%|████████▊ | 444/507 [00:26<00:01, 37.24it/s]
Loading 0: 88%|████████▊ | 448/507 [00:26<00:01, 36.14it/s]
Loading 0: 89%|████████▉ | 453/507 [00:26<00:01, 37.69it/s]
Loading 0: 90%|█████████ | 457/507 [00:29<00:08, 5.81it/s]
Loading 0: 91%|█████████ | 460/507 [00:29<00:06, 7.03it/s]
Loading 0: 92%|█████████▏| 465/507 [00:29<00:04, 9.66it/s]
Loading 0: 93%|█████████▎| 472/507 [00:29<00:02, 14.72it/s]
Loading 0: 94%|█████████▍| 476/507 [00:29<00:01, 17.27it/s]
Loading 0: 95%|█████████▍| 481/507 [00:29<00:01, 20.97it/s]
Loading 0: 96%|█████████▌| 485/507 [00:29<00:00, 23.37it/s]
Loading 0: 97%|█████████▋| 490/507 [00:30<00:00, 27.71it/s]
Loading 0: 97%|█████████▋| 494/507 [00:30<00:00, 29.04it/s]
Loading 0: 98%|█████████▊| 499/507 [00:30<00:00, 32.35it/s]
Loading 0: 99%|█████████▉| 503/507 [00:30<00:00, 32.82it/s]
Job mistralai-mistral-small-5341-v20-mkmlizer completed after 175.57s with status: succeeded
Stopping job with name mistralai-mistral-small-5341-v20-mkmlizer
Pipeline stage MKMLizer completed in 176.45s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.08s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service mistralai-mistral-small-5341-v20
Waiting for inference service mistralai-mistral-small-5341-v20 to be ready
Inference service mistralai-mistral-small-5341-v20 ready after 190.5077257156372s
Pipeline stage MKMLDeployer completed in 190.85s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 4.000779151916504s
Received healthy response to inference request in 3.3744618892669678s
Received healthy response to inference request in 2.8786404132843018s
Received healthy response to inference request in 3.2369375228881836s
Received healthy response to inference request in 4.1182451248168945s
5 requests
0 failed requests
5th percentile: 2.950299835205078
10th percentile: 3.0219592571258547
20th percentile: 3.165278100967407
30th percentile: 3.2644423961639406
40th percentile: 3.319452142715454
50th percentile: 3.3744618892669678
60th percentile: 3.6249887943267822
70th percentile: 3.8755156993865967
80th percentile: 4.024272346496582
90th percentile: 4.0712587356567385
95th percentile: 4.094751930236816
99th percentile: 4.113546485900879
mean time: 3.5218128204345702
Pipeline stage StressChecker completed in 18.51s
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 5.64s
Shutdown handler de-registered
mistralai-mistral-small_5341_v20 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.10s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service mistralai-mistral-small-5341-v20-profiler
Waiting for inference service mistralai-mistral-small-5341-v20-profiler to be ready
Inference service mistralai-mistral-small-5341-v20-profiler ready after 190.50867176055908s
Pipeline stage MKMLProfilerDeployer completed in 190.87s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/mistralai-mistral-sm8aba1294e1dbc2ca3f949c829bbf2703-deplopbdqw:/code/chaiverse_profiler_1726936706 --namespace tenant-chaiml-guanaco
kubectl exec -it mistralai-mistral-sm8aba1294e1dbc2ca3f949c829bbf2703-deplopbdqw --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1726936706 && 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_1726936706/summary.json'
kubectl exec -it mistralai-mistral-sm8aba1294e1dbc2ca3f949c829bbf2703-deplopbdqw --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1726936706/summary.json'
Pipeline stage MKMLProfilerRunner completed in 1563.20s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service mistralai-mistral-small-5341-v20-profiler is running
Tearing down inference service mistralai-mistral-small-5341-v20-profiler
Service mistralai-mistral-small-5341-v20-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 2.32s
Shutdown handler de-registered
mistralai-mistral-small_5341_v20 status is now inactive due to auto deactivation removed underperforming models
mistralai-mistral-small_5341_v20 status is now torndown due to DeploymentManager action