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-fd5w-dl1w-ultr-9118-v1-mkmlizer
Waiting for job on trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer to finish
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ _____ __ __ ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ /___/ ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ Version: 0.10.1 ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ https://mk1.ai ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ The license key for the current software has been verified as ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ belonging to: ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ Chai Research Corp. ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ║ ║
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: Downloaded to shared memory in 63.969s
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmp61wozuum, device:0
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: Saving flywheel model at /dev/shm/model_cache
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: quantized model in 29.282s
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: Processed model Trace2333/fd5w_dl1w_ultra1w_2e5 in 93.251s
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: creating bucket guanaco-mkml-models
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/trace2333-fd5w-dl1w-ultr-9118-v1
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/trace2333-fd5w-dl1w-ultr-9118-v1/config.json
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/trace2333-fd5w-dl1w-ultr-9118-v1/special_tokens_map.json
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/trace2333-fd5w-dl1w-ultr-9118-v1/tokenizer_config.json
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/trace2333-fd5w-dl1w-ultr-9118-v1/tokenizer.json
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/trace2333-fd5w-dl1w-ultr-9118-v1/flywheel_model.0.safetensors
trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer:
Loading 0: 0%| | 0/291 [00:00<?, ?it/s]
Loading 0: 2%|▏ | 5/291 [00:00<00:10, 26.01it/s]
Loading 0: 4%|▍ | 12/291 [00:00<00:07, 35.16it/s]
Loading 0: 5%|▌ | 16/291 [00:00<00:08, 31.86it/s]
Loading 0: 7%|▋ | 21/291 [00:00<00:07, 34.17it/s]
Loading 0: 9%|▊ | 25/291 [00:00<00:08, 32.73it/s]
Loading 0: 10%|█ | 30/291 [00:00<00:07, 37.02it/s]
Loading 0: 12%|█▏ | 34/291 [00:01<00:10, 25.49it/s]
Loading 0: 13%|█▎ | 38/291 [00:01<00:09, 26.54it/s]
Loading 0: 14%|█▍ | 42/291 [00:01<00:09, 25.54it/s]
Loading 0: 16%|█▋ | 48/291 [00:01<00:07, 31.04it/s]
Loading 0: 18%|█▊ | 52/291 [00:01<00:07, 30.66it/s]
Loading 0: 20%|█▉ | 57/291 [00:01<00:07, 33.18it/s]
Loading 0: 21%|██ | 61/291 [00:01<00:07, 32.07it/s]
Loading 0: 23%|██▎ | 66/291 [00:02<00:06, 35.49it/s]
Loading 0: 24%|██▍ | 70/291 [00:02<00:06, 33.96it/s]
Loading 0: 25%|██▌ | 74/291 [00:02<00:06, 34.22it/s]
Loading 0: 27%|██▋ | 78/291 [00:02<00:06, 32.62it/s]
Loading 0: 28%|██▊ | 82/291 [00:02<00:08, 23.27it/s]
Loading 0: 29%|██▉ | 85/291 [00:02<00:08, 24.54it/s]
Loading 0: 31%|███ | 90/291 [00:02<00:06, 29.24it/s]
Loading 0: 32%|███▏ | 94/291 [00:03<00:06, 29.61it/s]
Loading 0: 34%|███▍ | 99/291 [00:03<00:05, 32.83it/s]
Loading 0: 35%|███▌ | 103/291 [00:03<00:05, 31.85it/s]
Loading 0: 37%|███▋ | 108/291 [00:03<00:05, 34.27it/s]
Loading 0: 38%|███▊ | 112/291 [00:03<00:05, 32.67it/s]
Loading 0: 40%|███▉ | 116/291 [00:03<00:05, 33.03it/s]
Loading 0: 42%|████▏ | 122/291 [00:03<00:04, 36.38it/s]
Loading 0: 44%|████▎ | 127/291 [00:04<00:04, 33.93it/s]
Loading 0: 46%|████▌ | 133/291 [00:04<00:05, 30.21it/s]
Loading 0: 47%|████▋ | 137/291 [00:04<00:05, 30.03it/s]
Loading 0: 48%|████▊ | 141/291 [00:04<00:05, 27.89it/s]
Loading 0: 51%|█████ | 147/291 [00:04<00:04, 32.01it/s]
Loading 0: 52%|█████▏ | 151/291 [00:04<00:04, 28.78it/s]
Loading 0: 54%|█████▎ | 156/291 [00:05<00:04, 31.91it/s]
Loading 0: 55%|█████▍ | 160/291 [00:05<00:04, 31.66it/s]
Loading 0: 57%|█████▋ | 165/291 [00:05<00:03, 32.97it/s]
Loading 0: 58%|█████▊ | 169/291 [00:05<00:03, 31.29it/s]
Loading 0: 60%|█████▉ | 174/291 [00:05<00:03, 33.01it/s]
Loading 0: 61%|██████ | 178/291 [00:05<00:03, 31.72it/s]
Loading 0: 63%|██████▎ | 184/291 [00:05<00:02, 37.59it/s]
Loading 0: 65%|██████▍ | 188/291 [00:06<00:03, 26.52it/s]
Loading 0: 66%|██████▌ | 192/291 [00:06<00:03, 27.18it/s]
Loading 0: 67%|██████▋ | 196/291 [00:06<00:03, 28.16it/s]
Loading 0: 69%|██████▉ | 201/291 [00:06<00:02, 31.29it/s]
Loading 0: 70%|███████ | 205/291 [00:06<00:02, 30.21it/s]
Loading 0: 72%|███████▏ | 210/291 [00:06<00:02, 32.64it/s]
Loading 0: 74%|███████▎ | 214/291 [00:06<00:02, 31.44it/s]
Loading 0: 75%|███████▌ | 219/291 [00:07<00:02, 34.25it/s]
Loading 0: 77%|███████▋ | 223/291 [00:07<00:02, 32.22it/s]
Loading 0: 78%|███████▊ | 227/291 [00:07<00:01, 32.06it/s]
Loading 0: 79%|███████▉ | 231/291 [00:07<00:01, 31.39it/s]
Loading 0: 81%|████████ | 235/291 [00:07<00:02, 23.50it/s]
Loading 0: 82%|████████▏ | 239/291 [00:07<00:02, 23.62it/s]
Loading 0: 85%|████████▍ | 246/291 [00:08<00:01, 30.77it/s]
Loading 0: 86%|████████▌ | 250/291 [00:08<00:01, 30.50it/s]
Loading 0: 88%|████████▊ | 255/291 [00:08<00:01, 33.54it/s]
Loading 0: 89%|████████▉ | 259/291 [00:08<00:01, 31.54it/s]
Loading 0: 91%|█████████ | 264/291 [00:08<00:00, 34.15it/s]
Loading 0: 92%|█████████▏| 268/291 [00:08<00:00, 32.11it/s]
Loading 0: 94%|█████████▍| 273/291 [00:08<00:00, 34.58it/s]
Loading 0: 95%|█████████▌| 277/291 [00:08<00:00, 33.05it/s]
Loading 0: 97%|█████████▋| 281/291 [00:09<00:00, 33.20it/s]
Loading 0: 98%|█████████▊| 286/291 [00:14<00:01, 2.59it/s]
Loading 0: 99%|█████████▉| 289/291 [00:14<00:00, 3.21it/s]
Job trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer completed after 119.49s with status: succeeded
Stopping job with name trace2333-fd5w-dl1w-ultr-9118-v1-mkmlizer
Pipeline stage MKMLizer completed in 120.43s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.14s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service trace2333-fd5w-dl1w-ultr-9118-v1
Waiting for inference service trace2333-fd5w-dl1w-ultr-9118-v1 to be ready
Retrying (%r) after connection broken by '%r': %s
Inference service trace2333-fd5w-dl1w-ultr-9118-v1 ready after 130.4305431842804s
Pipeline stage MKMLDeployer completed in 130.84s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.1518969535827637s
Received healthy response to inference request in 2.191241502761841s
Received healthy response to inference request in 1.7846918106079102s
Received healthy response to inference request in 1.726412057876587s
Received healthy response to inference request in 1.5301146507263184s
5 requests
0 failed requests
5th percentile: 1.5693741321563721
10th percentile: 1.6086336135864259
20th percentile: 1.6871525764465332
30th percentile: 1.7380680084228515
40th percentile: 1.7613799095153808
50th percentile: 1.7846918106079102
60th percentile: 1.9315738677978516
70th percentile: 2.078455924987793
80th percentile: 2.159765863418579
90th percentile: 2.17550368309021
95th percentile: 2.1833725929260255
99th percentile: 2.1896677207946778
mean time: 1.876871395111084
Pipeline stage StressChecker completed in 10.03s
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 4.67s
Shutdown handler de-registered
trace2333-fd5w-dl1w-ultr_9118_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.14s
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 trace2333-fd5w-dl1w-ultr-9118-v1-profiler
Waiting for inference service trace2333-fd5w-dl1w-ultr-9118-v1-profiler to be ready
Inference service trace2333-fd5w-dl1w-ultr-9118-v1-profiler ready after 150.38075518608093s
Pipeline stage MKMLProfilerDeployer completed in 150.77s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/trace2333-fd5w-dl1w-d3e9cb4cc21958a527e98af4c2a79e8c-deploknc9d:/code/chaiverse_profiler_1725507232 --namespace tenant-chaiml-guanaco
kubectl exec -it trace2333-fd5w-dl1w-d3e9cb4cc21958a527e98af4c2a79e8c-deploknc9d --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1725507232 && python profiles.py profile --best_of_n 16 --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_1725507232/summary.json'
%s, retrying in %s seconds...
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/trace2333-fd5w-dl1w-d3e9cb4cc21958a527e98af4c2a79e8c-deploknc9d:/code/chaiverse_profiler_1725508164 --namespace tenant-chaiml-guanaco
kubectl exec -it trace2333-fd5w-dl1w-d3e9cb4cc21958a527e98af4c2a79e8c-deploknc9d --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1725508164 && python profiles.py profile --best_of_n 16 --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_1725508164/summary.json'
%s, retrying in %s seconds...
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/trace2333-fd5w-dl1w-d3e9cb4cc21958a527e98af4c2a79e8c-deploknc9d:/code/chaiverse_profiler_1725508478 --namespace tenant-chaiml-guanaco
kubectl exec -it trace2333-fd5w-dl1w-d3e9cb4cc21958a527e98af4c2a79e8c-deploknc9d --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1725508478 && python profiles.py profile --best_of_n 16 --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_1725508478/summary.json'
clean up pipeline due to error=%s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service trace2333-fd5w-dl1w-ultr-9118-v1-profiler is running
Tearing down inference service trace2333-fd5w-dl1w-ultr-9118-v1-profiler
Service trace2333-fd5w-dl1w-ultr-9118-v1-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 1.54s
Shutdown handler de-registered
trace2333-fd5w-dl1w-ultr_9118_v1 status is now inactive due to auto deactivation removed underperforming models
trace2333-fd5w-dl1w-ultr_9118_v1 status is now torndown due to DeploymentManager action