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 rica40325-31160001-v1-mkmlizer
Waiting for job on rica40325-31160001-v1-mkmlizer to finish
rica40325-31160001-v1-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
rica40325-31160001-v1-mkmlizer: ║ _____ __ __ ║
rica40325-31160001-v1-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
rica40325-31160001-v1-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
rica40325-31160001-v1-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
rica40325-31160001-v1-mkmlizer: ║ /___/ ║
rica40325-31160001-v1-mkmlizer: ║ ║
rica40325-31160001-v1-mkmlizer: ║ Version: 0.12.8 ║
rica40325-31160001-v1-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
rica40325-31160001-v1-mkmlizer: ║ https://mk1.ai ║
rica40325-31160001-v1-mkmlizer: ║ ║
rica40325-31160001-v1-mkmlizer: ║ The license key for the current software has been verified as ║
rica40325-31160001-v1-mkmlizer: ║ belonging to: ║
rica40325-31160001-v1-mkmlizer: ║ ║
rica40325-31160001-v1-mkmlizer: ║ Chai Research Corp. ║
rica40325-31160001-v1-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
rica40325-31160001-v1-mkmlizer: ║ Expiration: 2025-04-15 23:59:59 ║
rica40325-31160001-v1-mkmlizer: ║ ║
rica40325-31160001-v1-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
rica40325-31160001-v1-mkmlizer: Downloaded to shared memory in 41.692s
rica40325-31160001-v1-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmprueh769f, device:0
rica40325-31160001-v1-mkmlizer: Saving flywheel model at /dev/shm/model_cache
rica40325-31160001-v1-mkmlizer: quantized model in 26.983s
rica40325-31160001-v1-mkmlizer: Processed model rica40325/31160001 in 68.675s
rica40325-31160001-v1-mkmlizer: creating bucket guanaco-mkml-models
rica40325-31160001-v1-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
rica40325-31160001-v1-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/rica40325-31160001-v1
rica40325-31160001-v1-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/rica40325-31160001-v1/config.json
rica40325-31160001-v1-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/rica40325-31160001-v1/special_tokens_map.json
rica40325-31160001-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/rica40325-31160001-v1/tokenizer_config.json
rica40325-31160001-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/rica40325-31160001-v1/tokenizer.json
rica40325-31160001-v1-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/rica40325-31160001-v1/flywheel_model.0.safetensors
rica40325-31160001-v1-mkmlizer:
Loading 0: 0%| | 0/291 [00:00<?, ?it/s]
Loading 0: 2%|▏ | 5/291 [00:00<00:08, 33.13it/s]
Loading 0: 5%|▍ | 14/291 [00:00<00:05, 47.03it/s]
Loading 0: 8%|▊ | 23/291 [00:00<00:05, 51.35it/s]
Loading 0: 11%|█ | 32/291 [00:00<00:04, 52.36it/s]
Loading 0: 14%|█▍ | 41/291 [00:00<00:04, 54.08it/s]
Loading 0: 17%|█▋ | 50/291 [00:00<00:04, 54.75it/s]
Loading 0: 20%|██ | 59/291 [00:01<00:04, 54.75it/s]
Loading 0: 23%|██▎ | 68/291 [00:01<00:04, 54.85it/s]
Loading 0: 26%|██▌ | 76/291 [00:01<00:03, 59.41it/s]
Loading 0: 29%|██▊ | 83/291 [00:01<00:04, 42.44it/s]
Loading 0: 30%|███ | 88/291 [00:01<00:04, 41.90it/s]
Loading 0: 32%|███▏ | 94/291 [00:01<00:04, 45.17it/s]
Loading 0: 34%|███▍ | 100/291 [00:02<00:04, 44.35it/s]
Loading 0: 36%|███▌ | 105/291 [00:02<00:04, 45.07it/s]
Loading 0: 38%|███▊ | 112/291 [00:02<00:03, 50.08it/s]
Loading 0: 41%|████ | 118/291 [00:02<00:03, 47.95it/s]
Loading 0: 42%|████▏ | 123/291 [00:02<00:03, 47.69it/s]
Loading 0: 45%|████▍ | 130/291 [00:02<00:03, 52.75it/s]
Loading 0: 47%|████▋ | 136/291 [00:02<00:03, 50.14it/s]
Loading 0: 49%|████▉ | 142/291 [00:02<00:02, 50.01it/s]
Loading 0: 51%|█████ | 149/291 [00:03<00:03, 45.79it/s]
Loading 0: 54%|█████▍ | 157/291 [00:03<00:02, 52.53it/s]
Loading 0: 56%|█████▌ | 163/291 [00:03<00:02, 45.44it/s]
Loading 0: 58%|█████▊ | 168/291 [00:03<00:02, 42.80it/s]
Loading 0: 60%|██████ | 175/291 [00:03<00:02, 48.63it/s]
Loading 0: 62%|██████▏ | 181/291 [00:03<00:02, 42.51it/s]
Loading 0: 64%|██████▍ | 187/291 [00:04<00:02, 35.03it/s]
Loading 0: 66%|██████▌ | 191/291 [00:04<00:02, 35.19it/s]
Loading 0: 67%|██████▋ | 195/291 [00:04<00:02, 33.23it/s]
Loading 0: 69%|██████▉ | 201/291 [00:04<00:02, 38.44it/s]
Loading 0: 71%|███████ | 206/291 [00:04<00:02, 39.09it/s]
Loading 0: 73%|███████▎ | 211/291 [00:04<00:01, 40.11it/s]
Loading 0: 74%|███████▍ | 216/291 [00:04<00:01, 41.91it/s]
Loading 0: 76%|███████▌ | 221/291 [00:04<00:01, 35.04it/s]
Loading 0: 78%|███████▊ | 228/291 [00:05<00:01, 41.98it/s]
Loading 0: 80%|████████ | 233/291 [00:05<00:01, 42.05it/s]
Loading 0: 82%|████████▏ | 238/291 [00:05<00:01, 42.23it/s]
Loading 0: 84%|████████▎ | 243/291 [00:05<00:01, 43.27it/s]
Loading 0: 85%|████████▌ | 248/291 [00:05<00:01, 35.38it/s]
Loading 0: 88%|████████▊ | 256/291 [00:05<00:00, 44.32it/s]
Loading 0: 90%|████████▉ | 261/291 [00:05<00:00, 44.70it/s]
Loading 0: 91%|█████████▏| 266/291 [00:06<00:00, 36.28it/s]
Loading 0: 94%|█████████▍| 273/291 [00:06<00:00, 43.09it/s]
Loading 0: 96%|█████████▌| 278/291 [00:06<00:00, 43.17it/s]
Loading 0: 97%|█████████▋| 283/291 [00:06<00:00, 36.57it/s]
Loading 0: 99%|█████████▉| 288/291 [00:11<00:00, 3.05it/s]
Job rica40325-31160001-v1-mkmlizer completed after 94.91s with status: succeeded
Stopping job with name rica40325-31160001-v1-mkmlizer
Pipeline stage MKMLizer completed in 95.44s
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 rica40325-31160001-v1
Waiting for inference service rica40325-31160001-v1 to be ready
Inference service rica40325-31160001-v1 ready after 90.37932991981506s
Pipeline stage MKMLDeployer completed in 90.79s
run pipeline stage %s
Running pipeline stage StressChecker
HTTPConnectionPool(host='guanaco-submitter.guanaco-backend.k2.chaiverse.com', port=80): Read timed out. (read timeout=20)
Received unhealthy response to inference request!
Received healthy response to inference request in 1.9071106910705566s
Received healthy response to inference request in 1.4177203178405762s
Received healthy response to inference request in 1.1524910926818848s
Received healthy response to inference request in 1.282278060913086s
5 requests
1 failed requests
5th percentile: 1.178448486328125
10th percentile: 1.2044058799743653
20th percentile: 1.2563206672668457
30th percentile: 1.309366512298584
40th percentile: 1.36354341506958
50th percentile: 1.4177203178405762
60th percentile: 1.6134764671325683
70th percentile: 1.8092326164245605
80th percentile: 5.550598478317264
90th percentile: 12.83757405281067
95th percentile: 16.48106184005737
99th percentile: 19.395852069854737
mean time: 5.1768299579620365
%s, retrying in %s seconds...
Received healthy response to inference request in 1.2905645370483398s
Received healthy response to inference request in 1.1735038757324219s
Received healthy response to inference request in 1.297755241394043s
Received healthy response to inference request in 1.1336174011230469s
Received healthy response to inference request in 1.157466173171997s
5 requests
0 failed requests
5th percentile: 1.1383871555328369
10th percentile: 1.1431569099426269
20th percentile: 1.152696418762207
30th percentile: 1.1606737136840821
40th percentile: 1.167088794708252
50th percentile: 1.1735038757324219
60th percentile: 1.220328140258789
70th percentile: 1.2671524047851563
80th percentile: 1.2920026779174805
90th percentile: 1.2948789596557617
95th percentile: 1.2963171005249023
99th percentile: 1.2974676132202148
mean time: 1.2105814456939696
Pipeline stage StressChecker completed in 34.16s
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.67s
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.63s
Shutdown handler de-registered
rica40325-31160001_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.11s
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 rica40325-31160001-v1-profiler
Waiting for inference service rica40325-31160001-v1-profiler to be ready
Inference service rica40325-31160001-v1-profiler ready after 80.32834315299988s
Pipeline stage MKMLProfilerDeployer completed in 80.79s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/rica40325-31160001-v1-profiler-predictor-00001-deployment-k2bsp:/code/chaiverse_profiler_1741705124 --namespace tenant-chaiml-guanaco
kubectl exec -it rica40325-31160001-v1-profiler-predictor-00001-deployment-k2bsp --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1741705124 && 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_1741705124/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 2041.00s
Shutdown handler de-registered
rica40325-31160001_v1 status is now inactive due to auto deactivation removed underperforming models
rica40325-31160001_v1 status is now torndown due to DeploymentManager action