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 zonemercy-elite-pref-v0-1e5-v1-mkmlizer
Waiting for job on zonemercy-elite-pref-v0-1e5-v1-mkmlizer to finish
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ _____ __ __ ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ /___/ ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ Version: 0.10.1 ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ https://mk1.ai ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ The license key for the current software has been verified as ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ belonging to: ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ Chai Research Corp. ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ║ ║
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: Downloaded to shared memory in 96.529s
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmp1kmy4wob, device:0
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: Saving flywheel model at /dev/shm/model_cache
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: quantized model in 40.543s
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: Processed model zonemercy/Elite-Pref-v0-1e5 in 137.072s
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: creating bucket guanaco-mkml-models
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/zonemercy-elite-pref-v0-1e5-v1
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/zonemercy-elite-pref-v0-1e5-v1/config.json
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/zonemercy-elite-pref-v0-1e5-v1/special_tokens_map.json
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/zonemercy-elite-pref-v0-1e5-v1/tokenizer_config.json
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/zonemercy-elite-pref-v0-1e5-v1/tokenizer.json
zonemercy-elite-pref-v0-1e5-v1-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/zonemercy-elite-pref-v0-1e5-v1/flywheel_model.0.safetensors
zonemercy-elite-pref-v0-1e5-v1-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 1%|▏ | 5/363 [00:00<00:15, 23.17it/s]
Loading 0: 3%|▎ | 10/363 [00:00<00:11, 29.45it/s]
Loading 0: 4%|▍ | 14/363 [00:00<00:13, 25.69it/s]
Loading 0: 6%|▌ | 20/363 [00:00<00:09, 34.89it/s]
Loading 0: 7%|▋ | 24/363 [00:00<00:14, 22.71it/s]
Loading 0: 7%|▋ | 27/363 [00:01<00:15, 22.13it/s]
Loading 0: 9%|▊ | 31/363 [00:01<00:12, 25.58it/s]
Loading 0: 10%|▉ | 35/363 [00:01<00:11, 27.51it/s]
Loading 0: 11%|█ | 39/363 [00:01<00:11, 28.99it/s]
Loading 0: 12%|█▏ | 43/363 [00:01<00:11, 27.82it/s]
Loading 0: 13%|█▎ | 48/363 [00:01<00:10, 30.77it/s]
Loading 0: 14%|█▍ | 52/363 [00:01<00:10, 29.89it/s]
Loading 0: 15%|█▌ | 56/363 [00:02<00:10, 30.05it/s]
Loading 0: 17%|█▋ | 61/363 [00:02<00:12, 24.36it/s]
Loading 0: 18%|█▊ | 64/363 [00:02<00:13, 21.84it/s]
Loading 0: 19%|█▉ | 69/363 [00:02<00:10, 27.17it/s]
Loading 0: 20%|██ | 73/363 [00:02<00:10, 26.80it/s]
Loading 0: 21%|██ | 77/363 [00:02<00:11, 24.63it/s]
Loading 0: 23%|██▎ | 84/363 [00:03<00:08, 31.45it/s]
Loading 0: 24%|██▍ | 88/363 [00:03<00:09, 29.80it/s]
Loading 0: 26%|██▌ | 93/363 [00:03<00:08, 32.04it/s]
Loading 0: 27%|██▋ | 97/363 [00:03<00:08, 30.11it/s]
Loading 0: 28%|██▊ | 101/363 [00:03<00:10, 24.31it/s]
Loading 0: 29%|██▊ | 104/363 [00:03<00:11, 21.74it/s]
Loading 0: 31%|███ | 111/363 [00:04<00:08, 28.75it/s]
Loading 0: 32%|███▏ | 115/363 [00:04<00:08, 28.30it/s]
Loading 0: 33%|███▎ | 120/363 [00:04<00:07, 31.05it/s]
Loading 0: 34%|███▍ | 124/363 [00:04<00:08, 29.17it/s]
Loading 0: 36%|███▌ | 129/363 [00:04<00:07, 31.57it/s]
Loading 0: 37%|███▋ | 133/363 [00:04<00:07, 30.55it/s]
Loading 0: 38%|███▊ | 137/363 [00:04<00:07, 30.89it/s]
Loading 0: 39%|███▉ | 142/363 [00:05<00:08, 26.87it/s]
Loading 0: 40%|███▉ | 145/363 [00:05<00:08, 25.62it/s]
Loading 0: 41%|████ | 149/363 [00:05<00:08, 24.38it/s]
Loading 0: 43%|████▎ | 156/363 [00:05<00:06, 30.77it/s]
Loading 0: 44%|████▍ | 160/363 [00:05<00:06, 29.96it/s]
Loading 0: 45%|████▌ | 165/363 [00:05<00:06, 31.91it/s]
Loading 0: 47%|████▋ | 169/363 [00:06<00:06, 30.65it/s]
Loading 0: 48%|████▊ | 174/363 [00:06<00:05, 32.12it/s]
Loading 0: 49%|████▉ | 178/363 [00:06<00:06, 30.16it/s]
Loading 0: 50%|█████ | 182/363 [00:06<00:07, 25.02it/s]
Loading 0: 51%|█████ | 185/363 [00:06<00:08, 21.72it/s]
Loading 0: 53%|█████▎ | 192/363 [00:06<00:06, 28.50it/s]
Loading 0: 54%|█████▍ | 196/363 [00:07<00:05, 28.10it/s]
Loading 0: 55%|█████▌ | 201/363 [00:07<00:05, 30.41it/s]
Loading 0: 56%|█████▋ | 205/363 [00:07<00:05, 29.58it/s]
Loading 0: 58%|█████▊ | 210/363 [00:07<00:04, 31.95it/s]
Loading 0: 59%|█████▉ | 214/363 [00:07<00:04, 30.04it/s]
Loading 0: 60%|██████ | 218/363 [00:07<00:04, 29.94it/s]
Loading 0: 61%|██████▏ | 223/363 [00:08<00:05, 25.44it/s]
Loading 0: 62%|██████▏ | 226/363 [00:08<00:05, 24.46it/s]
Loading 0: 63%|██████▎ | 229/363 [00:08<00:05, 23.73it/s]
Loading 0: 64%|██████▍ | 232/363 [00:08<00:05, 24.58it/s]
Loading 0: 65%|██████▌ | 237/363 [00:08<00:04, 28.65it/s]
Loading 0: 66%|██████▌ | 240/363 [00:08<00:04, 26.88it/s]
Loading 0: 68%|██████▊ | 246/363 [00:08<00:03, 32.28it/s]
Loading 0: 69%|██████▉ | 250/363 [00:08<00:03, 30.33it/s]
Loading 0: 70%|███████ | 255/363 [00:09<00:03, 32.67it/s]
Loading 0: 71%|███████▏ | 259/363 [00:09<00:03, 31.60it/s]
Loading 0: 72%|███████▏ | 263/363 [00:09<00:03, 26.05it/s]
Loading 0: 73%|███████▎ | 266/363 [00:09<00:04, 22.93it/s]
Loading 0: 75%|███████▌ | 273/363 [00:09<00:03, 29.99it/s]
Loading 0: 76%|███████▋ | 277/363 [00:09<00:02, 28.78it/s]
Loading 0: 78%|███████▊ | 282/363 [00:10<00:02, 30.66it/s]
Loading 0: 79%|███████▉ | 286/363 [00:10<00:02, 29.35it/s]
Loading 0: 80%|████████ | 291/363 [00:10<00:02, 31.73it/s]
Loading 0: 81%|████████▏ | 295/363 [00:10<00:02, 30.52it/s]
Loading 0: 82%|████████▏ | 299/363 [00:10<00:02, 30.81it/s]
Loading 0: 84%|████████▎ | 304/363 [00:10<00:02, 26.10it/s]
Loading 0: 85%|████████▍ | 307/363 [00:11<00:02, 23.86it/s]
Loading 0: 86%|████████▌ | 311/363 [00:11<00:02, 23.35it/s]
Loading 0: 88%|████████▊ | 318/363 [00:11<00:01, 30.05it/s]
Loading 0: 89%|████████▊ | 322/363 [00:11<00:01, 29.55it/s]
Loading 0: 90%|█████████ | 327/363 [00:11<00:01, 32.08it/s]
Loading 0: 91%|█████████ | 331/363 [00:11<00:01, 30.76it/s]
Loading 0: 93%|█████████▎| 336/363 [00:11<00:00, 32.93it/s]
Loading 0: 94%|█████████▎| 340/363 [00:12<00:00, 30.99it/s]
Loading 0: 95%|█████████▍| 344/363 [00:18<00:09, 1.98it/s]
Loading 0: 96%|█████████▌| 348/363 [00:19<00:05, 2.68it/s]
Loading 0: 97%|█████████▋| 353/363 [00:19<00:02, 3.87it/s]
Loading 0: 98%|█████████▊| 357/363 [00:19<00:01, 5.03it/s]
Loading 0: 100%|█████████▉| 362/363 [00:19<00:00, 7.15it/s]
Job zonemercy-elite-pref-v0-1e5-v1-mkmlizer completed after 158.76s with status: succeeded
Stopping job with name zonemercy-elite-pref-v0-1e5-v1-mkmlizer
Pipeline stage MKMLizer completed in 159.58s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.17s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service zonemercy-elite-pref-v0-1e5-v1
Waiting for inference service zonemercy-elite-pref-v0-1e5-v1 to be ready
Failed to get response for submission chaiml-albert-dpo-0912-v_2161_v1: ('http://chaiml-albert-dpo-0912-v-2161-v1-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', 'read tcp 127.0.0.1:38576->127.0.0.1:8080: read: connection reset by peer\n')
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 zonemercy-elite-pref-v0-1e5-v1 ready after 190.8067102432251s
Pipeline stage MKMLDeployer completed in 191.22s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.1409740447998047s
Received healthy response to inference request in 2.2166550159454346s
Received healthy response to inference request in 1.9923391342163086s
Received healthy response to inference request in 1.9691798686981201s
Received healthy response to inference request in 2.0964293479919434s
5 requests
0 failed requests
5th percentile: 1.973811721801758
10th percentile: 1.9784435749053955
20th percentile: 1.9877072811126708
30th percentile: 2.0131571769714354
40th percentile: 2.0547932624816894
50th percentile: 2.0964293479919434
60th percentile: 2.114247226715088
70th percentile: 2.1320651054382322
80th percentile: 2.156110239028931
90th percentile: 2.1863826274871827
95th percentile: 2.2015188217163084
99th percentile: 2.2136277770996093
mean time: 2.083115482330322
Pipeline stage StressChecker completed in 11.82s
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.48s
Shutdown handler de-registered
zonemercy-elite-pref-v0-1e5_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 zonemercy-elite-pref-v0-1e5-v1-profiler
Waiting for inference service zonemercy-elite-pref-v0-1e5-v1-profiler to be ready
Inference service zonemercy-elite-pref-v0-1e5-v1-profiler ready after 180.41656613349915s
Pipeline stage MKMLProfilerDeployer completed in 180.78s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/zonemercy-elite-prefd517a6ca6498b4e415a3f65616758d43-deplo8q8c4:/code/chaiverse_profiler_1726260236 --namespace tenant-chaiml-guanaco
kubectl exec -it zonemercy-elite-prefd517a6ca6498b4e415a3f65616758d43-deplo8q8c4 --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1726260236 && 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_1726260236/summary.json'
kubectl exec -it zonemercy-elite-prefd517a6ca6498b4e415a3f65616758d43-deplo8q8c4 --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1726260236/summary.json'
Pipeline stage MKMLProfilerRunner completed in 1161.44s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service zonemercy-elite-pref-v0-1e5-v1-profiler is running
Tearing down inference service zonemercy-elite-pref-v0-1e5-v1-profiler
Service zonemercy-elite-pref-v0-1e5-v1-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 1.98s
Shutdown handler de-registered
zonemercy-elite-pref-v0-1e5_v1 status is now inactive due to auto deactivation removed underperforming models
zonemercy-elite-pref-v0-1e5_v1 status is now torndown due to DeploymentManager action