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-mistral-13b-first-v1-mkmlizer
Waiting for job on rica40325-mistral-13b-first-v1-mkmlizer to finish
Connection pool is full, discarding connection: %s. Connection pool size: %s
Connection pool is full, discarding connection: %s. Connection pool size: %s
rica40325-mistral-13b-first-v1-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
rica40325-mistral-13b-first-v1-mkmlizer: ║ _____ __ __ ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ /___/ ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ Version: 0.10.1 ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ https://mk1.ai ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ The license key for the current software has been verified as ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ belonging to: ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ Chai Research Corp. ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
rica40325-mistral-13b-first-v1-mkmlizer: ║ ║
rica40325-mistral-13b-first-v1-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
rica40325-mistral-13b-first-v1-mkmlizer: Downloaded to shared memory in 43.782s
rica40325-mistral-13b-first-v1-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmp4wtxpk2j, device:0
rica40325-mistral-13b-first-v1-mkmlizer: Saving flywheel model at /dev/shm/model_cache
Retrying (%r) after connection broken by '%r': %s
rica40325-mistral-13b-first-v1-mkmlizer: quantized model in 35.167s
rica40325-mistral-13b-first-v1-mkmlizer: Processed model rica40325/mistral-13B-first in 78.950s
rica40325-mistral-13b-first-v1-mkmlizer: creating bucket guanaco-mkml-models
rica40325-mistral-13b-first-v1-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
rica40325-mistral-13b-first-v1-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/rica40325-mistral-13b-first-v1
rica40325-mistral-13b-first-v1-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/rica40325-mistral-13b-first-v1/special_tokens_map.json
rica40325-mistral-13b-first-v1-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/rica40325-mistral-13b-first-v1/config.json
rica40325-mistral-13b-first-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/rica40325-mistral-13b-first-v1/tokenizer_config.json
rica40325-mistral-13b-first-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/rica40325-mistral-13b-first-v1/tokenizer.json
rica40325-mistral-13b-first-v1-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 2%|▏ | 7/363 [00:00<00:06, 55.80it/s]
Loading 0: 6%|▌ | 22/363 [00:00<00:03, 87.61it/s]
Loading 0: 9%|▉ | 34/363 [00:00<00:03, 86.93it/s]
Loading 0: 12%|█▏ | 44/363 [00:00<00:03, 90.95it/s]
Loading 0: 15%|█▍ | 54/363 [00:00<00:03, 92.17it/s]
Loading 0: 18%|█▊ | 64/363 [00:01<00:12, 23.85it/s]
Loading 0: 20%|█▉ | 71/363 [00:01<00:10, 28.33it/s]
Loading 0: 22%|██▏ | 79/363 [00:01<00:08, 34.02it/s]
Loading 0: 24%|██▍ | 88/363 [00:02<00:06, 41.03it/s]
Loading 0: 28%|██▊ | 103/363 [00:02<00:04, 54.85it/s]
Loading 0: 31%|███ | 112/363 [00:02<00:04, 59.54it/s]
Loading 0: 33%|███▎ | 121/363 [00:02<00:03, 62.84it/s]
Loading 0: 36%|███▌ | 130/363 [00:02<00:03, 68.38it/s]
Loading 0: 39%|███▉ | 141/363 [00:02<00:02, 77.86it/s]
Loading 0: 41%|████▏ | 150/363 [00:03<00:09, 23.41it/s]
Loading 0: 44%|████▍ | 160/363 [00:03<00:06, 29.45it/s]
Loading 0: 48%|████▊ | 175/363 [00:03<00:04, 40.99it/s]
Loading 0: 51%|█████ | 184/363 [00:04<00:03, 45.67it/s]
Loading 0: 53%|█████▎ | 193/363 [00:04<00:03, 52.01it/s]
Loading 0: 56%|█████▌ | 202/363 [00:04<00:02, 58.50it/s]
Loading 0: 58%|█████▊ | 211/363 [00:04<00:02, 60.67it/s]
Loading 0: 61%|██████ | 220/363 [00:04<00:02, 63.31it/s]
Loading 0: 63%|██████▎ | 228/363 [00:05<00:06, 22.18it/s]
Loading 0: 66%|██████▌ | 238/363 [00:05<00:04, 28.52it/s]
Loading 0: 68%|██████▊ | 247/363 [00:05<00:03, 34.96it/s]
Loading 0: 71%|███████ | 256/363 [00:05<00:02, 42.49it/s]
Loading 0: 73%|███████▎ | 265/363 [00:06<00:01, 50.00it/s]
Loading 0: 76%|███████▌ | 276/363 [00:06<00:01, 61.30it/s]
Loading 0: 79%|███████▉ | 286/363 [00:06<00:01, 64.25it/s]
Loading 0: 82%|████████▏ | 296/363 [00:06<00:00, 72.10it/s]
Loading 0: 84%|████████▍ | 305/363 [00:07<00:02, 23.24it/s]
Loading 0: 88%|████████▊ | 319/363 [00:07<00:01, 32.86it/s]
Loading 0: 90%|█████████ | 328/363 [00:07<00:00, 39.02it/s]
Loading 0: 93%|█████████▎| 337/363 [00:07<00:00, 46.10it/s]
Loading 0: 96%|█████████▌| 348/363 [00:07<00:00, 56.57it/s]
Loading 0: 99%|█████████▊| 358/363 [00:08<00:00, 59.88it/s]
Job rica40325-mistral-13b-first-v1-mkmlizer completed after 104.18s with status: succeeded
Stopping job with name rica40325-mistral-13b-first-v1-mkmlizer
Pipeline stage MKMLizer completed in 106.37s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.10s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service rica40325-mistral-13b-first-v1
Waiting for inference service rica40325-mistral-13b-first-v1 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
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
Connection pool is full, discarding connection: %s. Connection pool size: %s
Inference service rica40325-mistral-13b-first-v1 ready after 201.7432599067688s
Pipeline stage MKMLDeployer completed in 202.79s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.1995432376861572s
Received healthy response to inference request in 2.30928111076355s
Received healthy response to inference request in 3.940298318862915s
Received healthy response to inference request in 2.003519296646118s
Received healthy response to inference request in 3.3278157711029053s
5 requests
0 failed requests
5th percentile: 2.042724084854126
10th percentile: 2.0819288730621337
20th percentile: 2.1603384494781492
30th percentile: 2.221490812301636
40th percentile: 2.265385961532593
50th percentile: 2.30928111076355
60th percentile: 2.716694974899292
70th percentile: 3.124108839035034
80th percentile: 3.450312280654907
90th percentile: 3.6953052997589113
95th percentile: 3.817801809310913
99th percentile: 3.9157990169525148
mean time: 2.7560915470123293
Pipeline stage StressChecker completed in 15.15s
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 9.62s
Shutdown handler de-registered
rica40325-mistral-13b-first_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.12s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service rica40325-mistral-13b-first-v1-profiler
Waiting for inference service rica40325-mistral-13b-first-v1-profiler to be ready
Inference service rica40325-mistral-13b-first-v1-profiler ready after 220.4753339290619s
Pipeline stage MKMLProfilerDeployer completed in 220.81s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/rica40325-mistral-1301867365adbc097da859fe508bea12fb-deplo984xz:/code/chaiverse_profiler_1727175256 --namespace tenant-chaiml-guanaco
kubectl exec -it rica40325-mistral-1301867365adbc097da859fe508bea12fb-deplo984xz --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1727175256 && 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_1727175256/summary.json'
kubectl exec -it rica40325-mistral-1301867365adbc097da859fe508bea12fb-deplo984xz --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1727175256/summary.json'
Pipeline stage MKMLProfilerRunner completed in 1155.40s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service rica40325-mistral-13b-first-v1-profiler is running
Tearing down inference service rica40325-mistral-13b-first-v1-profiler
Service rica40325-mistral-13b-first-v1-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 2.07s
Shutdown handler de-registered
rica40325-mistral-13b-first_v1 status is now inactive due to auto deactivation removed underperforming models
rica40325-mistral-13b-first_v1 status is now torndown due to DeploymentManager action