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-alignment-first-v5-mkmlizer
Waiting for job on rica40325-alignment-first-v5-mkmlizer to finish
rica40325-alignment-first-v5-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
rica40325-alignment-first-v5-mkmlizer: ║ _____ __ __ ║
rica40325-alignment-first-v5-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
rica40325-alignment-first-v5-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
rica40325-alignment-first-v5-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
rica40325-alignment-first-v5-mkmlizer: ║ /___/ ║
rica40325-alignment-first-v5-mkmlizer: ║ ║
rica40325-alignment-first-v5-mkmlizer: ║ Version: 0.10.1 ║
rica40325-alignment-first-v5-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
rica40325-alignment-first-v5-mkmlizer: ║ https://mk1.ai ║
rica40325-alignment-first-v5-mkmlizer: ║ ║
rica40325-alignment-first-v5-mkmlizer: ║ The license key for the current software has been verified as ║
rica40325-alignment-first-v5-mkmlizer: ║ belonging to: ║
rica40325-alignment-first-v5-mkmlizer: ║ ║
rica40325-alignment-first-v5-mkmlizer: ║ Chai Research Corp. ║
rica40325-alignment-first-v5-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
rica40325-alignment-first-v5-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
rica40325-alignment-first-v5-mkmlizer: ║ ║
rica40325-alignment-first-v5-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
rica40325-alignment-first-v5-mkmlizer: Downloaded to shared memory in 20.910s
rica40325-alignment-first-v5-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpydlxbxe_, device:0
rica40325-alignment-first-v5-mkmlizer: Saving flywheel model at /dev/shm/model_cache
rica40325-alignment-first-v5-mkmlizer: creating bucket guanaco-mkml-models
rica40325-alignment-first-v5-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
rica40325-alignment-first-v5-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/rica40325-alignment-first-v5
rica40325-alignment-first-v5-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/rica40325-alignment-first-v5/config.json
rica40325-alignment-first-v5-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/rica40325-alignment-first-v5/special_tokens_map.json
rica40325-alignment-first-v5-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/rica40325-alignment-first-v5/tokenizer_config.json
rica40325-alignment-first-v5-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/rica40325-alignment-first-v5/tokenizer.json
rica40325-alignment-first-v5-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/rica40325-alignment-first-v5/flywheel_model.0.safetensors
rica40325-alignment-first-v5-mkmlizer:
Loading 0: 0%| | 0/291 [00:00<?, ?it/s]
Loading 0: 2%|▏ | 7/291 [00:00<00:05, 53.70it/s]
Loading 0: 8%|▊ | 22/291 [00:00<00:03, 85.63it/s]
Loading 0: 11%|█ | 31/291 [00:00<00:03, 84.84it/s]
Loading 0: 14%|█▎ | 40/291 [00:00<00:03, 83.10it/s]
Loading 0: 17%|█▋ | 49/291 [00:00<00:02, 84.02it/s]
Loading 0: 21%|██ | 61/291 [00:00<00:02, 83.65it/s]
Loading 0: 26%|██▌ | 76/291 [00:00<00:02, 91.81it/s]
Loading 0: 30%|██▉ | 86/291 [00:02<00:08, 24.69it/s]
Loading 0: 33%|███▎ | 97/291 [00:02<00:06, 31.23it/s]
Loading 0: 37%|███▋ | 107/291 [00:02<00:04, 38.84it/s]
Loading 0: 40%|███▉ | 115/291 [00:02<00:04, 42.81it/s]
Loading 0: 43%|████▎ | 124/291 [00:02<00:03, 49.44it/s]
Loading 0: 46%|████▌ | 133/291 [00:02<00:02, 55.46it/s]
Loading 0: 49%|████▉ | 142/291 [00:02<00:02, 59.97it/s]
Loading 0: 52%|█████▏ | 151/291 [00:02<00:02, 64.65it/s]
Loading 0: 55%|█████▍ | 160/291 [00:02<00:01, 68.24it/s]
Loading 0: 58%|█████▊ | 170/291 [00:03<00:01, 75.88it/s]
Loading 0: 62%|██████▏ | 179/291 [00:03<00:01, 78.74it/s]
Loading 0: 65%|██████▍ | 188/291 [00:04<00:04, 21.82it/s]
Loading 0: 68%|██████▊ | 198/291 [00:04<00:03, 29.04it/s]
Loading 0: 71%|███████ | 206/291 [00:04<00:02, 34.69it/s]
Loading 0: 76%|███████▌ | 220/291 [00:04<00:01, 47.14it/s]
Loading 0: 80%|███████▉ | 232/291 [00:04<00:01, 55.41it/s]
Loading 0: 83%|████████▎ | 241/291 [00:04<00:00, 61.56it/s]
Loading 0: 86%|████████▌ | 250/291 [00:05<00:00, 66.82it/s]
Loading 0: 91%|█████████ | 265/291 [00:05<00:00, 78.65it/s]
Loading 0: 95%|█████████▌| 277/291 [00:05<00:00, 80.91it/s]
Loading 0: 99%|█████████▊| 287/291 [00:05<00:00, 48.14it/s]
Job rica40325-alignment-first-v5-mkmlizer completed after 63.88s with status: succeeded
Stopping job with name rica40325-alignment-first-v5-mkmlizer
Pipeline stage MKMLizer completed in 65.62s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.08s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service rica40325-alignment-first-v5
Waiting for inference service rica40325-alignment-first-v5 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
Connection pool is full, discarding connection: %s. Connection pool size: %s
Inference service rica40325-alignment-first-v5 ready after 141.06997346878052s
Pipeline stage MKMLDeployer completed in 141.47s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.037132501602173s
Received healthy response to inference request in 1.9419214725494385s
Received healthy response to inference request in 1.6326324939727783s
Received healthy response to inference request in 1.7137055397033691s
Received healthy response to inference request in 2.360287666320801s
5 requests
0 failed requests
5th percentile: 1.6488471031188965
10th percentile: 1.6650617122650146
20th percentile: 1.697490930557251
30th percentile: 1.759348726272583
40th percentile: 1.8506350994110108
50th percentile: 1.9419214725494385
60th percentile: 1.9800058841705321
70th percentile: 2.018090295791626
80th percentile: 2.1017635345458987
90th percentile: 2.2310256004333495
95th percentile: 2.295656633377075
99th percentile: 2.347361459732056
mean time: 1.937135934829712
Pipeline stage StressChecker completed in 10.33s
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.95s
Shutdown handler de-registered
rica40325-alignment-first_v5 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-alignment-first-v5-profiler
Waiting for inference service rica40325-alignment-first-v5-profiler to be ready
Inference service rica40325-alignment-first-v5-profiler ready after 150.35165977478027s
Pipeline stage MKMLProfilerDeployer completed in 150.74s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/rica40325-alignment-6886a598393435557e8ab9e6cd0ba782-deplodt8bs:/code/chaiverse_profiler_1725797458 --namespace tenant-chaiml-guanaco
kubectl exec -it rica40325-alignment-6886a598393435557e8ab9e6cd0ba782-deplodt8bs --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1725797458 && 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_1725797458/summary.json'
kubectl exec -it rica40325-alignment-6886a598393435557e8ab9e6cd0ba782-deplodt8bs --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1725797458/summary.json'
Pipeline stage MKMLProfilerRunner completed in 846.12s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service rica40325-alignment-first-v5-profiler is running
Tearing down inference service rica40325-alignment-first-v5-profiler
Service rica40325-alignment-first-v5-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 1.68s
Shutdown handler de-registered
rica40325-alignment-first_v5 status is now inactive due to auto deactivation removed underperforming models
rica40325-alignment-first_v5 status is now torndown due to DeploymentManager action