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 cycy233-modelv-100k-step4000-v3-mkmlizer
Waiting for job on cycy233-modelv-100k-step4000-v3-mkmlizer to finish
cycy233-modelv-100k-step4000-v3-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ _____ __ __ ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ /___/ ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ Version: 0.12.8 ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ https://mk1.ai ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ The license key for the current software has been verified as ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ belonging to: ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ Chai Research Corp. ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ Expiration: 2028-03-31 23:59:59 ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ║ ║
cycy233-modelv-100k-step4000-v3-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
cycy233-modelv-100k-step4000-v3-mkmlizer: Downloaded to shared memory in 29.039s
cycy233-modelv-100k-step4000-v3-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpcasfhw3r, device:0
cycy233-modelv-100k-step4000-v3-mkmlizer: Saving flywheel model at /dev/shm/model_cache
cycy233-modelv-100k-step4000-v3-mkmlizer: quantized model in 36.423s
cycy233-modelv-100k-step4000-v3-mkmlizer: Processed model cycy233/modelV_100k_step4000 in 65.463s
cycy233-modelv-100k-step4000-v3-mkmlizer: creating bucket guanaco-mkml-models
cycy233-modelv-100k-step4000-v3-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
cycy233-modelv-100k-step4000-v3-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/cycy233-modelv-100k-step4000-v3
cycy233-modelv-100k-step4000-v3-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/cycy233-modelv-100k-step4000-v3/config.json
cycy233-modelv-100k-step4000-v3-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/cycy233-modelv-100k-step4000-v3/special_tokens_map.json
cycy233-modelv-100k-step4000-v3-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/cycy233-modelv-100k-step4000-v3/tokenizer_config.json
cycy233-modelv-100k-step4000-v3-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/cycy233-modelv-100k-step4000-v3/tokenizer.json
cycy233-modelv-100k-step4000-v3-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/cycy233-modelv-100k-step4000-v3/flywheel_model.0.safetensors
cycy233-modelv-100k-step4000-v3-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 1%|▏ | 5/363 [00:00<00:12, 29.45it/s]
Loading 0: 4%|▎ | 13/363 [00:00<00:07, 48.07it/s]
Loading 0: 5%|▌ | 19/363 [00:00<00:07, 43.09it/s]
Loading 0: 7%|▋ | 24/363 [00:00<00:08, 41.50it/s]
Loading 0: 8%|▊ | 30/363 [00:00<00:07, 45.27it/s]
Loading 0: 10%|▉ | 35/363 [00:00<00:07, 44.25it/s]
Loading 0: 11%|█ | 40/363 [00:00<00:07, 44.91it/s]
Loading 0: 12%|█▏ | 45/363 [00:01<00:06, 45.89it/s]
Loading 0: 14%|█▍ | 50/363 [00:01<00:07, 39.46it/s]
Loading 0: 17%|█▋ | 60/363 [00:01<00:06, 48.94it/s]
Loading 0: 18%|█▊ | 65/363 [00:01<00:09, 32.45it/s]
Loading 0: 20%|█▉ | 72/363 [00:01<00:07, 38.28it/s]
Loading 0: 21%|██ | 77/363 [00:01<00:07, 40.10it/s]
Loading 0: 23%|██▎ | 82/363 [00:02<00:07, 36.11it/s]
Loading 0: 25%|██▍ | 90/363 [00:02<00:06, 44.51it/s]
Loading 0: 26%|██▋ | 96/363 [00:02<00:06, 43.67it/s]
Loading 0: 28%|██▊ | 101/363 [00:02<00:06, 42.45it/s]
Loading 0: 30%|███ | 109/363 [00:02<00:05, 50.68it/s]
Loading 0: 32%|███▏ | 115/363 [00:02<00:05, 46.59it/s]
Loading 0: 33%|███▎ | 120/363 [00:02<00:05, 43.71it/s]
Loading 0: 35%|███▍ | 126/363 [00:02<00:05, 45.38it/s]
Loading 0: 36%|███▌ | 131/363 [00:03<00:05, 45.72it/s]
Loading 0: 37%|███▋ | 136/363 [00:03<00:06, 37.58it/s]
Loading 0: 39%|███▉ | 142/363 [00:03<00:06, 32.46it/s]
Loading 0: 40%|████ | 146/363 [00:03<00:06, 33.35it/s]
Loading 0: 41%|████▏ | 150/363 [00:03<00:06, 31.84it/s]
Loading 0: 43%|████▎ | 156/363 [00:03<00:05, 37.80it/s]
Loading 0: 44%|████▍ | 161/363 [00:03<00:05, 39.93it/s]
Loading 0: 46%|████▌ | 166/363 [00:04<00:04, 41.77it/s]
Loading 0: 47%|████▋ | 172/363 [00:04<00:04, 42.44it/s]
Loading 0: 49%|████▉ | 177/363 [00:04<00:04, 42.41it/s]
Loading 0: 50%|█████ | 183/363 [00:04<00:03, 46.46it/s]
Loading 0: 52%|█████▏ | 188/363 [00:04<00:03, 45.44it/s]
Loading 0: 53%|█████▎ | 193/363 [00:04<00:03, 46.15it/s]
Loading 0: 55%|█████▍ | 199/363 [00:04<00:03, 44.37it/s]
Loading 0: 56%|█████▌ | 204/363 [00:04<00:04, 39.70it/s]
Loading 0: 58%|█████▊ | 210/363 [00:05<00:03, 44.01it/s]
Loading 0: 59%|█████▉ | 215/363 [00:05<00:03, 44.62it/s]
Loading 0: 61%|██████ | 222/363 [00:05<00:03, 45.47it/s]
Loading 0: 63%|██████▎ | 227/363 [00:05<00:04, 32.35it/s]
Loading 0: 64%|██████▎ | 231/363 [00:05<00:04, 32.03it/s]
Loading 0: 65%|██████▌ | 237/363 [00:05<00:03, 37.59it/s]
Loading 0: 67%|██████▋ | 242/363 [00:05<00:03, 39.31it/s]
Loading 0: 68%|██████▊ | 247/363 [00:06<00:02, 40.59it/s]
Loading 0: 69%|██████▉ | 252/363 [00:06<00:02, 40.99it/s]
Loading 0: 71%|███████ | 257/363 [00:06<00:02, 35.72it/s]
Loading 0: 73%|███████▎ | 265/363 [00:06<00:02, 44.38it/s]
Loading 0: 75%|███████▍ | 271/363 [00:06<00:02, 43.61it/s]
Loading 0: 76%|███████▌ | 276/363 [00:06<00:02, 42.28it/s]
Loading 0: 78%|███████▊ | 282/363 [00:06<00:01, 46.33it/s]
Loading 0: 79%|███████▉ | 287/363 [00:06<00:01, 43.51it/s]
Loading 0: 80%|████████ | 292/363 [00:07<00:01, 42.92it/s]
Loading 0: 82%|████████▏ | 297/363 [00:07<00:01, 43.08it/s]
Loading 0: 83%|████████▎ | 302/363 [00:07<00:01, 44.65it/s]
Loading 0: 85%|████████▍ | 307/363 [00:14<00:23, 2.39it/s]
Loading 0: 86%|████████▌ | 312/363 [00:14<00:15, 3.29it/s]
Loading 0: 88%|████████▊ | 319/363 [00:14<00:08, 5.08it/s]
Loading 0: 89%|████████▉ | 324/363 [00:14<00:05, 6.66it/s]
Loading 0: 91%|█████████ | 329/363 [00:14<00:03, 8.69it/s]
Loading 0: 92%|█████████▏| 334/363 [00:14<00:02, 11.26it/s]
Loading 0: 93%|█████████▎| 339/363 [00:15<00:01, 13.28it/s]
Loading 0: 95%|█████████▌| 346/363 [00:15<00:00, 18.72it/s]
Loading 0: 97%|█████████▋| 351/363 [00:15<00:00, 21.97it/s]
Loading 0: 98%|█████████▊| 356/363 [00:15<00:00, 25.23it/s]
Loading 0: 99%|█████████▉| 361/363 [00:15<00:00, 28.09it/s]
Job cycy233-modelv-100k-step4000-v3-mkmlizer completed after 84.03s with status: succeeded
Stopping job with name cycy233-modelv-100k-step4000-v3-mkmlizer
Pipeline stage MKMLizer completed in 84.52s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.15s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service cycy233-modelv-100k-step4000-v3
Waiting for inference service cycy233-modelv-100k-step4000-v3 to be ready
Inference service cycy233-modelv-100k-step4000-v3 ready after 130.53514885902405s
Pipeline stage MKMLDeployer completed in 131.06s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.291233539581299s
Received healthy response to inference request in 1.336366891860962s
Received healthy response to inference request in 1.5522871017456055s
Received healthy response to inference request in 1.7063977718353271s
Received healthy response to inference request in 1.8113222122192383s
5 requests
0 failed requests
5th percentile: 1.3795509338378906
10th percentile: 1.4227349758148193
20th percentile: 1.5091030597686768
30th percentile: 1.58310923576355
40th percentile: 1.6447535037994385
50th percentile: 1.7063977718353271
60th percentile: 1.7483675479888916
70th percentile: 1.790337324142456
80th percentile: 1.9073044776916506
90th percentile: 2.0992690086364747
95th percentile: 2.1952512741088865
99th percentile: 2.2720370864868165
mean time: 1.7395215034484863
Pipeline stage StressChecker completed in 10.12s
run pipeline stage %s
Running pipeline stage OfflineFamilyFriendlyTriggerPipeline
run_pipeline:run_in_cloud %s
starting trigger_guanaco_pipeline args=%s
triggered trigger_guanaco_pipeline args=%s
Pipeline stage OfflineFamilyFriendlyTriggerPipeline completed in 0.70s
run pipeline stage %s
Running pipeline stage TriggerMKMLProfilingPipeline
run_pipeline:run_in_cloud %s
starting trigger_guanaco_pipeline args=%s
triggered trigger_guanaco_pipeline args=%s
Pipeline stage TriggerMKMLProfilingPipeline completed in 0.68s
Shutdown handler de-registered
cycy233-modelv-100k-step4000_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.09s
run pipeline stage %s
Running pipeline stage MKMLProfilerTemplater
Pipeline stage MKMLProfilerTemplater completed in 0.09s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service cycy233-modelv-100k-step4000-v3-profiler
Waiting for inference service cycy233-modelv-100k-step4000-v3-profiler to be ready
Inference service cycy233-modelv-100k-step4000-v3-profiler ready after 130.5380778312683s
Pipeline stage MKMLProfilerDeployer completed in 130.97s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/cycy233-modelv-100k-ec2a9414fc99c36bb9e5f32445184496-deplor6wb4:/code/chaiverse_profiler_1745389935 --namespace tenant-chaiml-guanaco
kubectl exec -it cycy233-modelv-100k-ec2a9414fc99c36bb9e5f32445184496-deplor6wb4 --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1745389935 && 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_1745389935/summary.json'
Shutdown handler registered
run pipeline %s
run pipeline stage %s
Running pipeline stage OfflineFamilyFriendlyScorer
Evaluating %s Family Friendly Score with %s threads
Pipeline stage OfflineFamilyFriendlyScorer completed in 2800.94s
Shutdown handler de-registered
cycy233-modelv-100k-step4000_v3 status is now inactive due to auto deactivation removed underperforming models
cycy233-modelv-100k-step4000_v3 status is now torndown due to DeploymentManager action