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-v24-mkmlizer
Waiting for job on mistralai-mistral-small-5341-v24-mkmlizer to finish
mistralai-mistral-small-5341-v24-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
mistralai-mistral-small-5341-v24-mkmlizer: ║ _____ __ __ ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ /___/ ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ Version: 0.10.1 ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ https://mk1.ai ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ The license key for the current software has been verified as ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ belonging to: ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ Chai Research Corp. ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
mistralai-mistral-small-5341-v24-mkmlizer: ║ ║
mistralai-mistral-small-5341-v24-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
mistralai-mistral-small-5341-v24-mkmlizer: Downloaded to shared memory in 84.163s
mistralai-mistral-small-5341-v24-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpmyym2kj3, device:0
mistralai-mistral-small-5341-v24-mkmlizer: Saving flywheel model at /dev/shm/model_cache
mistralai-mistral-small-5341-v24-mkmlizer: quantized model in 42.414s
mistralai-mistral-small-5341-v24-mkmlizer: Processed model mistralai/Mistral-Small-Instruct-2409 in 126.578s
mistralai-mistral-small-5341-v24-mkmlizer: creating bucket guanaco-mkml-models
mistralai-mistral-small-5341-v24-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
mistralai-mistral-small-5341-v24-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/mistralai-mistral-small-5341-v24
mistralai-mistral-small-5341-v24-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/mistralai-mistral-small-5341-v24/config.json
mistralai-mistral-small-5341-v24-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/mistralai-mistral-small-5341-v24/special_tokens_map.json
mistralai-mistral-small-5341-v24-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/mistralai-mistral-small-5341-v24/tokenizer_config.json
mistralai-mistral-small-5341-v24-mkmlizer: cp /dev/shm/model_cache/tokenizer.model s3://guanaco-mkml-models/mistralai-mistral-small-5341-v24/tokenizer.model
mistralai-mistral-small-5341-v24-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/mistralai-mistral-small-5341-v24/tokenizer.json
mistralai-mistral-small-5341-v24-mkmlizer: cp /dev/shm/model_cache/flywheel_model.1.safetensors s3://guanaco-mkml-models/mistralai-mistral-small-5341-v24/flywheel_model.1.safetensors
mistralai-mistral-small-5341-v24-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/mistralai-mistral-small-5341-v24/flywheel_model.0.safetensors
mistralai-mistral-small-5341-v24-mkmlizer:
Loading 0: 0%| | 0/507 [00:00<?, ?it/s]
Loading 0: 1%| | 5/507 [00:00<00:17, 29.02it/s]
Loading 0: 2%|▏ | 12/507 [00:00<00:10, 45.71it/s]
Loading 0: 3%|▎ | 17/507 [00:00<00:11, 41.54it/s]
Loading 0: 4%|▍ | 22/507 [00:00<00:12, 40.10it/s]
Loading 0: 5%|▌ | 27/507 [00:00<00:12, 39.98it/s]
Loading 0: 6%|▋ | 32/507 [00:00<00:14, 32.49it/s]
Loading 0: 8%|▊ | 39/507 [00:01<00:12, 38.57it/s]
Loading 0: 9%|▊ | 44/507 [00:01<00:11, 39.15it/s]
Loading 0: 10%|▉ | 49/507 [00:01<00:12, 35.50it/s]
Loading 0: 10%|█ | 53/507 [00:01<00:16, 27.89it/s]
Loading 0: 11%|█ | 57/507 [00:01<00:16, 27.81it/s]
Loading 0: 12%|█▏ | 63/507 [00:01<00:13, 32.40it/s]
Loading 0: 13%|█▎ | 67/507 [00:01<00:13, 31.94it/s]
Loading 0: 14%|█▍ | 72/507 [00:02<00:12, 35.87it/s]
Loading 0: 15%|█▌ | 78/507 [00:02<00:10, 41.06it/s]
Loading 0: 16%|█▋ | 83/507 [00:02<00:10, 40.57it/s]
Loading 0: 17%|█▋ | 88/507 [00:02<00:10, 39.76it/s]
Loading 0: 18%|█▊ | 93/507 [00:02<00:10, 41.02it/s]
Loading 0: 19%|█▉ | 98/507 [00:02<00:11, 35.17it/s]
Loading 0: 21%|██ | 105/507 [00:02<00:09, 41.65it/s]
Loading 0: 22%|██▏ | 110/507 [00:02<00:09, 40.61it/s]
Loading 0: 23%|██▎ | 115/507 [00:03<00:13, 29.39it/s]
Loading 0: 23%|██▎ | 119/507 [00:03<00:12, 30.84it/s]
Loading 0: 24%|██▍ | 123/507 [00:03<00:12, 30.07it/s]
Loading 0: 25%|██▌ | 129/507 [00:03<00:10, 34.96it/s]
Loading 0: 26%|██▌ | 133/507 [00:03<00:10, 34.26it/s]
Loading 0: 27%|██▋ | 138/507 [00:03<00:10, 36.00it/s]
Loading 0: 28%|██▊ | 142/507 [00:04<00:10, 34.84it/s]
Loading 0: 29%|██▉ | 147/507 [00:04<00:09, 37.89it/s]
Loading 0: 30%|██▉ | 151/507 [00:04<00:09, 36.34it/s]
Loading 0: 31%|███ | 155/507 [00:04<00:09, 37.25it/s]
Loading 0: 31%|███▏ | 159/507 [00:04<00:10, 31.99it/s]
Loading 0: 32%|███▏ | 163/507 [00:04<00:10, 33.92it/s]
Loading 0: 33%|███▎ | 168/507 [00:04<00:09, 35.73it/s]
Loading 0: 34%|███▍ | 172/507 [00:05<00:13, 25.24it/s]
Loading 0: 35%|███▍ | 176/507 [00:05<00:12, 26.19it/s]
Loading 0: 36%|███▌ | 183/507 [00:05<00:09, 34.01it/s]
Loading 0: 37%|███▋ | 187/507 [00:05<00:09, 34.52it/s]
Loading 0: 38%|███▊ | 192/507 [00:05<00:08, 37.06it/s]
Loading 0: 39%|███▊ | 196/507 [00:05<00:08, 37.16it/s]
Loading 0: 40%|███▉ | 201/507 [00:05<00:07, 40.08it/s]
Loading 0: 41%|████ | 206/507 [00:05<00:07, 40.36it/s]
Loading 0: 42%|████▏ | 211/507 [00:05<00:07, 39.67it/s]
Loading 0: 43%|████▎ | 216/507 [00:06<00:06, 41.93it/s]
Loading 0: 44%|████▎ | 221/507 [00:06<00:07, 36.86it/s]
Loading 0: 44%|████▍ | 225/507 [00:06<00:10, 27.24it/s]
Loading 0: 45%|████▌ | 230/507 [00:06<00:09, 28.57it/s]
Loading 0: 47%|████▋ | 237/507 [00:06<00:07, 35.32it/s]
Loading 0: 48%|████▊ | 241/507 [00:06<00:07, 35.41it/s]
Loading 0: 49%|████▊ | 246/507 [00:06<00:06, 37.48it/s]
Loading 0: 49%|████▉ | 250/507 [00:07<00:06, 36.92it/s]
Loading 0: 50%|█████ | 255/507 [00:07<00:06, 39.66it/s]
Loading 0: 51%|█████▏ | 260/507 [00:07<00:06, 39.83it/s]
Loading 0: 52%|█████▏ | 265/507 [00:07<00:06, 39.10it/s]
Loading 0: 53%|█████▎ | 269/507 [00:07<00:06, 39.00it/s]
Loading 0: 54%|█████▍ | 274/507 [00:07<00:05, 39.79it/s]
Loading 0: 55%|█████▌ | 279/507 [00:07<00:05, 42.18it/s]
Loading 0: 56%|█████▌ | 284/507 [00:08<00:07, 29.78it/s]
Loading 0: 57%|█████▋ | 288/507 [00:08<00:07, 29.23it/s]
Loading 0: 58%|█████▊ | 293/507 [00:08<00:07, 30.08it/s]
Loading 0: 59%|█████▉ | 299/507 [00:22<00:06, 30.08it/s]
Loading 0: 59%|█████▉ | 300/507 [00:22<02:46, 1.24it/s]
Loading 0: 60%|█████▉ | 302/507 [00:22<02:24, 1.42it/s]
Loading 0: 61%|██████ | 307/507 [00:22<01:36, 2.07it/s]
Loading 0: 61%|██████ | 310/507 [00:22<01:16, 2.57it/s]
Loading 0: 62%|██████▏ | 314/507 [00:23<00:54, 3.54it/s]
Loading 0: 63%|██████▎ | 319/507 [00:23<00:36, 5.16it/s]
Loading 0: 64%|██████▎ | 323/507 [00:23<00:26, 6.85it/s]
Loading 0: 64%|██████▍ | 327/507 [00:23<00:20, 8.97it/s]
Loading 0: 65%|██████▌ | 331/507 [00:23<00:15, 11.51it/s]
Loading 0: 66%|██████▌ | 335/507 [00:23<00:11, 14.47it/s]
Loading 0: 67%|██████▋ | 340/507 [00:23<00:10, 16.24it/s]
Loading 0: 68%|██████▊ | 344/507 [00:24<00:08, 18.59it/s]
Loading 0: 69%|██████▊ | 348/507 [00:24<00:07, 20.72it/s]
Loading 0: 70%|██████▉ | 354/507 [00:24<00:05, 26.82it/s]
Loading 0: 71%|███████ | 358/507 [00:24<00:05, 28.23it/s]
Loading 0: 72%|███████▏ | 363/507 [00:24<00:04, 32.07it/s]
Loading 0: 72%|███████▏ | 367/507 [00:24<00:04, 33.19it/s]
Loading 0: 73%|███████▎ | 372/507 [00:24<00:03, 36.66it/s]
Loading 0: 74%|███████▍ | 377/507 [00:24<00:03, 35.75it/s]
Loading 0: 75%|███████▌ | 381/507 [00:24<00:03, 36.37it/s]
Loading 0: 76%|███████▌ | 385/507 [00:25<00:03, 36.30it/s]
Loading 0: 77%|███████▋ | 389/507 [00:25<00:03, 36.66it/s]
Loading 0: 78%|███████▊ | 393/507 [00:25<00:03, 35.13it/s]
Loading 0: 78%|███████▊ | 397/507 [00:25<00:04, 24.95it/s]
Loading 0: 79%|███████▉ | 401/507 [00:25<00:04, 25.45it/s]
Loading 0: 80%|████████ | 408/507 [00:25<00:02, 33.81it/s]
Loading 0: 81%|████████▏ | 412/507 [00:25<00:02, 33.51it/s]
Loading 0: 82%|████████▏ | 417/507 [00:26<00:02, 36.23it/s]
Loading 0: 83%|████████▎ | 421/507 [00:26<00:02, 35.80it/s]
Loading 0: 84%|████████▍ | 426/507 [00:26<00:02, 38.82it/s]
Loading 0: 85%|████████▌ | 431/507 [00:26<00:01, 38.98it/s]
Loading 0: 86%|████████▌ | 436/507 [00:26<00:01, 38.61it/s]
Loading 0: 87%|████████▋ | 441/507 [00:26<00:01, 41.29it/s]
Loading 0: 88%|████████▊ | 446/507 [00:26<00:01, 35.64it/s]
Loading 0: 89%|████████▉ | 453/507 [00:26<00:01, 43.25it/s]
Loading 0: 90%|█████████ | 458/507 [00:29<00:06, 7.01it/s]
Loading 0: 91%|█████████ | 462/507 [00:29<00:05, 8.70it/s]
Loading 0: 92%|█████████▏| 466/507 [00:29<00:03, 10.55it/s]
Loading 0: 93%|█████████▎| 472/507 [00:29<00:02, 14.61it/s]
Loading 0: 94%|█████████▍| 476/507 [00:29<00:01, 17.23it/s]
Loading 0: 95%|█████████▍| 481/507 [00:29<00:01, 21.52it/s]
Loading 0: 96%|█████████▌| 486/507 [00:29<00:00, 24.66it/s]
Loading 0: 97%|█████████▋| 490/507 [00:30<00:00, 27.26it/s]
Loading 0: 97%|█████████▋| 494/507 [00:30<00:00, 29.28it/s]
Loading 0: 98%|█████████▊| 499/507 [00:30<00:00, 33.56it/s]
Loading 0: 99%|█████████▉| 504/507 [00:30<00:00, 35.22it/s]
Job mistralai-mistral-small-5341-v24-mkmlizer completed after 166.36s with status: succeeded
Stopping job with name mistralai-mistral-small-5341-v24-mkmlizer
Pipeline stage MKMLizer completed in 167.70s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.09s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service mistralai-mistral-small-5341-v24
Waiting for inference service mistralai-mistral-small-5341-v24 to be ready
Inference service mistralai-mistral-small-5341-v24 ready after 190.5166985988617s
Pipeline stage MKMLDeployer completed in 190.85s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.838155508041382s
Received healthy response to inference request in 2.3594799041748047s
Received healthy response to inference request in 2.0824713706970215s
Received healthy response to inference request in 3.1631550788879395s
Received healthy response to inference request in 2.9612412452697754s
5 requests
0 failed requests
5th percentile: 2.137873077392578
10th percentile: 2.1932747840881346
20th percentile: 2.304078197479248
30th percentile: 2.45521502494812
40th percentile: 2.646685266494751
50th percentile: 2.838155508041382
60th percentile: 2.887389802932739
70th percentile: 2.9366240978240965
80th percentile: 3.001624011993408
90th percentile: 3.082389545440674
95th percentile: 3.1227723121643067
99th percentile: 3.155078525543213
mean time: 2.6809006214141844
Pipeline stage StressChecker completed in 14.26s
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 6.73s
Shutdown handler de-registered
mistralai-mistral-small_5341_v24 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.11s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service mistralai-mistral-small-5341-v24-profiler
Waiting for inference service mistralai-mistral-small-5341-v24-profiler to be ready
Inference service mistralai-mistral-small-5341-v24-profiler ready after 190.4674196243286s
Pipeline stage MKMLProfilerDeployer completed in 190.83s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/mistralai-mistral-sm04f87fb5ee725c11bb469d0728f3d109-deplotnzpc:/code/chaiverse_profiler_1727018231 --namespace tenant-chaiml-guanaco
kubectl exec -it mistralai-mistral-sm04f87fb5ee725c11bb469d0728f3d109-deplotnzpc --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1727018231 && 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_1727018231/summary.json'
kubectl exec -it mistralai-mistral-sm04f87fb5ee725c11bb469d0728f3d109-deplotnzpc --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1727018231/summary.json'
Pipeline stage MKMLProfilerRunner completed in 1535.40s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service mistralai-mistral-small-5341-v24-profiler is running
Tearing down inference service mistralai-mistral-small-5341-v24-profiler
Service mistralai-mistral-small-5341-v24-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 2.10s
Shutdown handler de-registered
mistralai-mistral-small_5341_v24 status is now inactive due to auto deactivation removed underperforming models
mistralai-mistral-small_5341_v24 status is now torndown due to DeploymentManager action