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-v3-mkmlizer
Waiting for job on trace2333-mistral-trail9-1476-v3-mkmlizer to finish
trace2333-mistral-trail9-1476-v3-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ _____ __ __ ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ /___/ ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ Version: 0.10.1 ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ https://mk1.ai ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ The license key for the current software has been verified as ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ belonging to: ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ Chai Research Corp. ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ║ ║
trace2333-mistral-trail9-1476-v3-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
trace2333-mistral-trail9-1476-v3-mkmlizer: Downloaded to shared memory in 36.070s
trace2333-mistral-trail9-1476-v3-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmp4i57am4k, device:0
trace2333-mistral-trail9-1476-v3-mkmlizer: Saving flywheel model at /dev/shm/model_cache
trace2333-mistral-trail9-1476-v3-mkmlizer: quantized model in 35.068s
trace2333-mistral-trail9-1476-v3-mkmlizer: Processed model Trace2333/mistral_trail9_1476 in 71.139s
trace2333-mistral-trail9-1476-v3-mkmlizer: creating bucket guanaco-mkml-models
trace2333-mistral-trail9-1476-v3-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
trace2333-mistral-trail9-1476-v3-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/trace2333-mistral-trail9-1476-v3
trace2333-mistral-trail9-1476-v3-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/trace2333-mistral-trail9-1476-v3/config.json
trace2333-mistral-trail9-1476-v3-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/trace2333-mistral-trail9-1476-v3/special_tokens_map.json
trace2333-mistral-trail9-1476-v3-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/trace2333-mistral-trail9-1476-v3/tokenizer_config.json
trace2333-mistral-trail9-1476-v3-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/trace2333-mistral-trail9-1476-v3/tokenizer.json
trace2333-mistral-trail9-1476-v3-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/trace2333-mistral-trail9-1476-v3/flywheel_model.0.safetensors
trace2333-mistral-trail9-1476-v3-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 2%|▏ | 7/363 [00:00<00:06, 55.06it/s]
Loading 0: 6%|▌ | 22/363 [00:00<00:03, 89.71it/s]
Loading 0: 9%|▉ | 32/363 [00:00<00:03, 93.31it/s]
Loading 0: 12%|█▏ | 43/363 [00:00<00:03, 88.27it/s]
Loading 0: 16%|█▌ | 58/363 [00:00<00:03, 94.85it/s]
Loading 0: 19%|█▊ | 68/363 [00:01<00:11, 24.69it/s]
Loading 0: 22%|██▏ | 79/363 [00:01<00:08, 31.70it/s]
Loading 0: 26%|██▌ | 94/363 [00:02<00:06, 43.58it/s]
Loading 0: 28%|██▊ | 103/363 [00:02<00:05, 49.25it/s]
Loading 0: 31%|███ | 112/363 [00:02<00:04, 55.75it/s]
Loading 0: 34%|███▍ | 124/363 [00:02<00:03, 63.14it/s]
Loading 0: 38%|███▊ | 139/363 [00:02<00:02, 74.91it/s]
Loading 0: 41%|████ | 149/363 [00:03<00:08, 25.63it/s]
Loading 0: 44%|████▍ | 160/363 [00:03<00:06, 32.06it/s]
Loading 0: 48%|████▊ | 175/363 [00:03<00:04, 42.91it/s]
Loading 0: 51%|█████ | 184/363 [00:04<00:03, 48.76it/s]
Loading 0: 54%|█████▍ | 196/363 [00:04<00:02, 55.99it/s]
Loading 0: 56%|█████▋ | 205/363 [00:04<00:02, 58.73it/s]
Loading 0: 59%|█████▉ | 214/363 [00:04<00:02, 61.16it/s]
Loading 0: 61%|██████▏ | 223/363 [00:05<00:06, 22.18it/s]
Loading 0: 66%|██████▌ | 238/363 [00:05<00:03, 32.33it/s]
Loading 0: 68%|██████▊ | 247/363 [00:05<00:03, 38.48it/s]
Loading 0: 71%|███████▏ | 259/363 [00:05<00:02, 47.06it/s]
Loading 0: 75%|███████▌ | 274/363 [00:06<00:01, 59.15it/s]
Loading 0: 78%|███████▊ | 283/363 [00:06<00:01, 64.17it/s]
Loading 0: 80%|████████ | 292/363 [00:06<00:01, 68.46it/s]
Loading 0: 84%|████████▎ | 304/363 [00:07<00:02, 24.63it/s]
Loading 0: 87%|████████▋ | 314/363 [00:07<00:01, 31.15it/s]
Loading 0: 90%|█████████ | 328/363 [00:07<00:00, 41.47it/s]
Loading 0: 94%|█████████▎| 340/363 [00:07<00:00, 49.72it/s]
Loading 0: 98%|█████████▊| 355/363 [00:07<00:00, 61.46it/s]
Job trace2333-mistral-trail9-1476-v3-mkmlizer completed after 95.57s with status: succeeded
Stopping job with name trace2333-mistral-trail9-1476-v3-mkmlizer
Pipeline stage MKMLizer completed in 97.26s
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 trace2333-mistral-trail9-1476-v3
Waiting for inference service trace2333-mistral-trail9-1476-v3 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
Inference service trace2333-mistral-trail9-1476-v3 ready after 160.5912628173828s
Pipeline stage MKMLDeployer completed in 161.65s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 3.440406560897827s
Received healthy response to inference request in 2.0192461013793945s
Received healthy response to inference request in 2.2397844791412354s
Received healthy response to inference request in 1.8986406326293945s
Received healthy response to inference request in 2.062725067138672s
5 requests
0 failed requests
5th percentile: 1.9227617263793946
10th percentile: 1.9468828201293946
20th percentile: 1.9951250076293945
30th percentile: 2.02794189453125
40th percentile: 2.045333480834961
50th percentile: 2.062725067138672
60th percentile: 2.1335488319396974
70th percentile: 2.204372596740723
80th percentile: 2.479908895492554
90th percentile: 2.9601577281951905
95th percentile: 3.2002821445465086
99th percentile: 3.3923816776275633
mean time: 2.3321605682373048
Pipeline stage StressChecker completed in 12.48s
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.39s
Shutdown handler de-registered
trace2333-mistral-trail9-1476_v3 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.13s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service trace2333-mistral-trail9-1476-v3-profiler
Waiting for inference service trace2333-mistral-trail9-1476-v3-profiler to be ready
Inference service trace2333-mistral-trail9-1476-v3-profiler ready after 160.36714267730713s
Pipeline stage MKMLProfilerDeployer completed in 160.74s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/trace2333-mistral-tr60089ac12c92fb608a06243f01ac8a44-deplodrk7d:/code/chaiverse_profiler_1726023264 --namespace tenant-chaiml-guanaco
kubectl exec -it trace2333-mistral-tr60089ac12c92fb608a06243f01ac8a44-deplodrk7d --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1726023264 && 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_1726023264/summary.json'
kubectl exec -it trace2333-mistral-tr60089ac12c92fb608a06243f01ac8a44-deplodrk7d --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1726023264/summary.json'
Pipeline stage MKMLProfilerRunner completed in 951.26s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service trace2333-mistral-trail9-1476-v3-profiler is running
Tearing down inference service trace2333-mistral-trail9-1476-v3-profiler
Service trace2333-mistral-trail9-1476-v3-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 2.02s
Shutdown handler de-registered
trace2333-mistral-trail9-1476_v3 status is now inactive due to auto deactivation removed underperforming models
trace2333-mistral-trail9-1476_v3 status is now torndown due to DeploymentManager action