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 trace2333-mistral-trail9-1476-v1-mkmlizer
Waiting for job on trace2333-mistral-trail9-1476-v1-mkmlizer to finish
trace2333-mistral-trail9-1476-v1-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ _____ __ __ ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ /___/ ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ Version: 0.10.1 ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ https://mk1.ai ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ The license key for the current software has been verified as ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ belonging to: ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ Chai Research Corp. ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ║ ║
trace2333-mistral-trail9-1476-v1-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
trace2333-mistral-trail9-1476-v1-mkmlizer: Downloaded to shared memory in 46.477s
trace2333-mistral-trail9-1476-v1-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpcnhwy23n, device:0
trace2333-mistral-trail9-1476-v1-mkmlizer: Saving flywheel model at /dev/shm/model_cache
trace2333-mistral-trail9-1476-v1-mkmlizer: quantized model in 35.726s
trace2333-mistral-trail9-1476-v1-mkmlizer: Processed model Trace2333/mistral_trail9_1476 in 82.203s
trace2333-mistral-trail9-1476-v1-mkmlizer: creating bucket guanaco-mkml-models
trace2333-mistral-trail9-1476-v1-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
trace2333-mistral-trail9-1476-v1-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/trace2333-mistral-trail9-1476-v1
trace2333-mistral-trail9-1476-v1-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/trace2333-mistral-trail9-1476-v1/config.json
trace2333-mistral-trail9-1476-v1-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/trace2333-mistral-trail9-1476-v1/special_tokens_map.json
trace2333-mistral-trail9-1476-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/trace2333-mistral-trail9-1476-v1/tokenizer_config.json
trace2333-mistral-trail9-1476-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/trace2333-mistral-trail9-1476-v1/tokenizer.json
trace2333-mistral-trail9-1476-v1-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/trace2333-mistral-trail9-1476-v1/flywheel_model.0.safetensors
trace2333-mistral-trail9-1476-v1-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 2%|▏ | 7/363 [00:00<00:06, 51.42it/s]
Loading 0: 5%|▍ | 18/363 [00:00<00:04, 81.40it/s]
Loading 0: 9%|▊ | 31/363 [00:00<00:03, 86.54it/s]
Loading 0: 11%|█ | 40/363 [00:00<00:03, 87.05it/s]
Loading 0: 14%|█▍ | 51/363 [00:00<00:03, 93.91it/s]
Loading 0: 17%|█▋ | 61/363 [00:01<00:13, 21.78it/s]
Loading 0: 19%|█▉ | 70/363 [00:01<00:10, 27.85it/s]
Loading 0: 22%|██▏ | 79/363 [00:02<00:08, 33.27it/s]
Loading 0: 24%|██▍ | 88/363 [00:02<00:06, 40.75it/s]
Loading 0: 27%|██▋ | 97/363 [00:02<00:05, 48.08it/s]
Loading 0: 29%|██▉ | 106/363 [00:02<00:04, 53.79it/s]
Loading 0: 32%|███▏ | 115/363 [00:02<00:04, 60.30it/s]
Loading 0: 34%|███▍ | 124/363 [00:02<00:03, 62.24it/s]
Loading 0: 37%|███▋ | 133/363 [00:02<00:03, 63.68it/s]
Loading 0: 39%|███▉ | 142/363 [00:03<00:10, 20.61it/s]
Loading 0: 42%|████▏ | 151/363 [00:03<00:08, 26.04it/s]
Loading 0: 44%|████▍ | 160/363 [00:04<00:06, 32.63it/s]
Loading 0: 47%|████▋ | 169/363 [00:04<00:05, 38.34it/s]
Loading 0: 49%|████▉ | 178/363 [00:04<00:04, 44.11it/s]
Loading 0: 52%|█████▏ | 187/363 [00:04<00:03, 49.64it/s]
Loading 0: 54%|█████▍ | 196/363 [00:04<00:03, 55.00it/s]
Loading 0: 56%|█████▋ | 205/363 [00:04<00:02, 57.46it/s]
Loading 0: 59%|█████▉ | 214/363 [00:04<00:02, 57.73it/s]
Loading 0: 61%|██████▏ | 223/363 [00:06<00:06, 20.49it/s]
Loading 0: 64%|██████▍ | 232/363 [00:06<00:04, 26.37it/s]
Loading 0: 66%|██████▋ | 241/363 [00:06<00:03, 33.37it/s]
Loading 0: 69%|██████▉ | 250/363 [00:06<00:02, 40.61it/s]
Loading 0: 73%|███████▎ | 265/363 [00:06<00:01, 54.27it/s]
Loading 0: 76%|███████▌ | 276/363 [00:06<00:01, 63.93it/s]
Loading 0: 79%|███████▊ | 285/363 [00:06<00:01, 67.64it/s]
Loading 0: 81%|████████ | 294/363 [00:06<00:00, 72.28it/s]
Loading 0: 83%|████████▎ | 303/363 [00:06<00:00, 72.32it/s]
Loading 0: 86%|████████▌ | 312/363 [00:08<00:02, 22.43it/s]
Loading 0: 88%|████████▊ | 319/363 [00:08<00:01, 26.68it/s]
Loading 0: 90%|█████████ | 328/363 [00:08<00:01, 33.74it/s]
Loading 0: 93%|█████████▎| 337/363 [00:08<00:00, 41.34it/s]
Loading 0: 95%|█████████▌| 346/363 [00:08<00:00, 48.98it/s]
Loading 0: 98%|█████████▊| 355/363 [00:08<00:00, 53.45it/s]
Loading 0: 100%|██████████| 363/363 [00:14<00:00, 4.26it/s]
Job trace2333-mistral-trail9-1476-v1-mkmlizer completed after 106.19s with status: succeeded
Stopping job with name trace2333-mistral-trail9-1476-v1-mkmlizer
Pipeline stage MKMLizer completed in 107.26s
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 trace2333-mistral-trail9-1476-v1
Waiting for inference service trace2333-mistral-trail9-1476-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
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 trace2333-mistral-trail9-1476-v1 ready after 160.8481044769287s
Pipeline stage MKMLDeployer completed in 161.26s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.400277853012085s
Received healthy response to inference request in 2.327908515930176s
Received healthy response to inference request in 2.1077628135681152s
Received healthy response to inference request in 2.4661543369293213s
Received healthy response to inference request in 2.0190584659576416s
5 requests
0 failed requests
5th percentile: 2.0367993354797362
10th percentile: 2.054540205001831
20th percentile: 2.0900219440460206
30th percentile: 2.1517919540405273
40th percentile: 2.2398502349853517
50th percentile: 2.327908515930176
60th percentile: 2.3568562507629394
70th percentile: 2.385803985595703
80th percentile: 2.413453149795532
90th percentile: 2.4398037433624267
95th percentile: 2.452979040145874
99th percentile: 2.463519277572632
mean time: 2.2642323970794678
Pipeline stage StressChecker completed in 12.21s
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.85s
Shutdown handler de-registered
trace2333-mistral-trail9-1476_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.12s
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 trace2333-mistral-trail9-1476-v1-profiler
Waiting for inference service trace2333-mistral-trail9-1476-v1-profiler to be ready
Inference service trace2333-mistral-trail9-1476-v1-profiler ready after 160.399108171463s
Pipeline stage MKMLProfilerDeployer completed in 160.77s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/trace2333-mistral-tr9ae314ea2e429820f56c41a795624eab-deplolwbc8:/code/chaiverse_profiler_1725976590 --namespace tenant-chaiml-guanaco
kubectl exec -it trace2333-mistral-tr9ae314ea2e429820f56c41a795624eab-deplolwbc8 --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1725976590 && 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 512 --output_tokens 64 --summary /code/chaiverse_profiler_1725976590/summary.json'
kubectl exec -it trace2333-mistral-tr9ae314ea2e429820f56c41a795624eab-deplolwbc8 --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1725976590/summary.json'
Pipeline stage MKMLProfilerRunner completed in 953.04s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service trace2333-mistral-trail9-1476-v1-profiler is running
Tearing down inference service trace2333-mistral-trail9-1476-v1-profiler
Service trace2333-mistral-trail9-1476-v1-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 1.87s
Shutdown handler de-registered
trace2333-mistral-trail9-1476_v1 status is now inactive due to auto deactivation removed underperforming models
trace2333-mistral-trail9-1476_v1 status is now torndown due to DeploymentManager action