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 mistralai-mistral-nemo-9330-v79-mkmlizer
Waiting for job on mistralai-mistral-nemo-9330-v79-mkmlizer to finish
Failed to get response for submission blend_hokok_2024-09-09: ('http://neversleep-noromaid-v0-8068-v150-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', '')
mistralai-mistral-nemo-9330-v79-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ _____ __ __ ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ /___/ ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ Version: 0.10.1 ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ https://mk1.ai ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ The license key for the current software has been verified as ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ belonging to: ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ Chai Research Corp. ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ║ ║
mistralai-mistral-nemo-9330-v79-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
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
Failed to get response for submission blend_hokok_2024-09-09: ('http://neversleep-noromaid-v0-8068-v150-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', '')
mistralai-mistral-nemo-9330-v79-mkmlizer: Downloaded to shared memory in 57.704s
mistralai-mistral-nemo-9330-v79-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpcr_nypyq, device:0
mistralai-mistral-nemo-9330-v79-mkmlizer: Saving flywheel model at /dev/shm/model_cache
Failed to get response for submission blend_hokok_2024-09-09: ('http://neversleep-noromaid-v0-8068-v150-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', '')
mistralai-mistral-nemo-9330-v79-mkmlizer: quantized model in 40.166s
mistralai-mistral-nemo-9330-v79-mkmlizer: Processed model mistralai/Mistral-Nemo-Instruct-2407 in 97.870s
mistralai-mistral-nemo-9330-v79-mkmlizer: creating bucket guanaco-mkml-models
mistralai-mistral-nemo-9330-v79-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
mistralai-mistral-nemo-9330-v79-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/mistralai-mistral-nemo-9330-v79
mistralai-mistral-nemo-9330-v79-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/mistralai-mistral-nemo-9330-v79/config.json
mistralai-mistral-nemo-9330-v79-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/mistralai-mistral-nemo-9330-v79/special_tokens_map.json
mistralai-mistral-nemo-9330-v79-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/mistralai-mistral-nemo-9330-v79/tokenizer_config.json
mistralai-mistral-nemo-9330-v79-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/mistralai-mistral-nemo-9330-v79/tokenizer.json
mistralai-mistral-nemo-9330-v79-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/mistralai-mistral-nemo-9330-v79/flywheel_model.0.safetensors
mistralai-mistral-nemo-9330-v79-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 1%|▏ | 5/363 [00:00<00:12, 29.58it/s]
Loading 0: 4%|▎ | 13/363 [00:00<00:07, 47.01it/s]
Loading 0: 5%|▌ | 19/363 [00:00<00:07, 45.67it/s]
Loading 0: 7%|▋ | 24/363 [00:00<00:07, 43.51it/s]
Loading 0: 9%|▊ | 31/363 [00:00<00:06, 49.10it/s]
Loading 0: 10%|█ | 37/363 [00:00<00:07, 43.02it/s]
Loading 0: 12%|█▏ | 42/363 [00:00<00:07, 40.83it/s]
Loading 0: 13%|█▎ | 49/363 [00:01<00:06, 46.06it/s]
Loading 0: 15%|█▌ | 55/363 [00:01<00:06, 45.65it/s]
Loading 0: 17%|█▋ | 61/363 [00:01<00:08, 34.01it/s]
Loading 0: 18%|█▊ | 65/363 [00:01<00:09, 32.67it/s]
Loading 0: 20%|█▉ | 72/363 [00:01<00:07, 39.05it/s]
Loading 0: 21%|██▏ | 78/363 [00:01<00:07, 39.24it/s]
Loading 0: 23%|██▎ | 83/363 [00:02<00:07, 37.79it/s]
Loading 0: 25%|██▍ | 90/363 [00:02<00:06, 42.65it/s]
Loading 0: 26%|██▋ | 96/363 [00:02<00:06, 42.21it/s]
Loading 0: 28%|██▊ | 101/363 [00:02<00:06, 40.56it/s]
Loading 0: 30%|██▉ | 108/363 [00:02<00:05, 46.63it/s]
Loading 0: 31%|███ | 113/363 [00:02<00:06, 39.80it/s]
Loading 0: 33%|███▎ | 118/363 [00:02<00:06, 36.99it/s]
Loading 0: 34%|███▍ | 125/363 [00:03<00:05, 42.42it/s]
Loading 0: 36%|███▌ | 130/363 [00:03<00:05, 40.72it/s]
Loading 0: 37%|███▋ | 135/363 [00:03<00:05, 40.84it/s]
Loading 0: 39%|███▊ | 140/363 [00:03<00:05, 43.02it/s]
Loading 0: 40%|███▉ | 145/363 [00:03<00:07, 27.45it/s]
Loading 0: 41%|████ | 149/363 [00:03<00:07, 27.15it/s]
Loading 0: 43%|████▎ | 156/363 [00:04<00:05, 35.03it/s]
Loading 0: 44%|████▍ | 161/363 [00:04<00:05, 36.51it/s]
Loading 0: 46%|████▌ | 166/363 [00:04<00:05, 36.57it/s]
Loading 0: 47%|████▋ | 172/363 [00:04<00:05, 37.74it/s]
Loading 0: 49%|████▉ | 177/363 [00:04<00:05, 35.56it/s]
Loading 0: 50%|█████ | 183/363 [00:04<00:04, 38.67it/s]
Loading 0: 52%|█████▏ | 188/363 [00:04<00:04, 38.60it/s]
Loading 0: 53%|█████▎ | 193/363 [00:04<00:04, 38.86it/s]
Loading 0: 54%|█████▍ | 197/363 [00:05<00:04, 38.90it/s]
Loading 0: 56%|█████▌ | 202/363 [00:05<00:04, 39.34it/s]
Loading 0: 57%|█████▋ | 207/363 [00:05<00:03, 41.53it/s]
Loading 0: 58%|█████▊ | 212/363 [00:05<00:04, 35.71it/s]
Loading 0: 60%|██████ | 218/363 [00:05<00:03, 40.15it/s]
Loading 0: 61%|██████▏ | 223/363 [00:05<00:04, 30.36it/s]
Loading 0: 63%|██████▎ | 227/363 [00:05<00:04, 29.97it/s]
Loading 0: 64%|██████▎ | 231/363 [00:06<00:04, 29.12it/s]
Loading 0: 65%|██████▌ | 237/363 [00:06<00:03, 35.35it/s]
Loading 0: 66%|██████▋ | 241/363 [00:06<00:03, 35.65it/s]
Loading 0: 68%|██████▊ | 246/363 [00:06<00:03, 37.32it/s]
Loading 0: 69%|██████▉ | 250/363 [00:06<00:03, 35.41it/s]
Loading 0: 70%|███████ | 255/363 [00:06<00:02, 38.04it/s]
Loading 0: 71%|███████▏ | 259/363 [00:06<00:02, 36.80it/s]
Loading 0: 73%|███████▎ | 265/363 [00:06<00:02, 39.96it/s]
Loading 0: 74%|███████▍ | 270/363 [00:07<00:02, 40.58it/s]
Loading 0: 76%|███████▌ | 275/363 [00:07<00:02, 34.61it/s]
Loading 0: 78%|███████▊ | 282/363 [00:07<00:01, 42.42it/s]
Loading 0: 79%|███████▉ | 287/363 [00:07<00:01, 41.88it/s]
Loading 0: 80%|████████ | 292/363 [00:07<00:01, 42.27it/s]
Loading 0: 82%|████████▏ | 298/363 [00:07<00:01, 41.84it/s]
Loading 0: 83%|████████▎ | 303/363 [00:07<00:01, 43.48it/s]
Loading 0: 85%|████████▍ | 308/363 [00:14<00:23, 2.38it/s]
Loading 0: 86%|████████▌ | 312/363 [00:15<00:16, 3.07it/s]
Loading 0: 88%|████████▊ | 320/363 [00:15<00:08, 5.07it/s]
Loading 0: 90%|████████▉ | 326/363 [00:15<00:05, 6.90it/s]
Loading 0: 91%|█████████ | 331/363 [00:15<00:03, 8.82it/s]
Loading 0: 93%|█████████▎| 337/363 [00:15<00:02, 12.05it/s]
Loading 0: 94%|█████████▍| 342/363 [00:15<00:01, 15.10it/s]
Loading 0: 96%|█████████▌| 348/363 [00:15<00:00, 18.60it/s]
Loading 0: 98%|█████████▊| 356/363 [00:15<00:00, 26.07it/s]
Loading 0: 100%|█████████▉| 362/363 [00:16<00:00, 29.82it/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
Job mistralai-mistral-nemo-9330-v79-mkmlizer completed after 125.72s with status: succeeded
Stopping job with name mistralai-mistral-nemo-9330-v79-mkmlizer
Pipeline stage MKMLizer completed in 127.24s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.14s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service mistralai-mistral-nemo-9330-v79
Waiting for inference service mistralai-mistral-nemo-9330-v79 to be ready
Failed to get response for submission blend_hokok_2024-09-09: ('http://neversleep-noromaid-v0-8068-v150-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', '')
Failed to get response for submission blend_jitik_2024-08-26: ('http://zonemercy-lexical-nemo-1518-v18-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', 'read tcp 127.0.0.1:59170->127.0.0.1:8080: read: connection reset by peer\n')
Failed to get response for submission blend_hokok_2024-09-09: ('http://neversleep-noromaid-v0-8068-v150-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', '')
Connection pool is full, discarding connection: %s. Connection pool size: %s
Inference service mistralai-mistral-nemo-9330-v79 ready after 171.60883283615112s
Pipeline stage MKMLDeployer completed in 172.06s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 3.0582048892974854s
Received healthy response to inference request in 1.703739881515503s
Received healthy response to inference request in 2.3210973739624023s
Received healthy response to inference request in 1.3018653392791748s
Received healthy response to inference request in 1.685364007949829s
5 requests
0 failed requests
5th percentile: 1.3785650730133057
10th percentile: 1.4552648067474365
20th percentile: 1.6086642742156982
30th percentile: 1.6890391826629638
40th percentile: 1.6963895320892335
50th percentile: 1.703739881515503
60th percentile: 1.9506828784942627
70th percentile: 2.1976258754730225
80th percentile: 2.4685188770294193
90th percentile: 2.7633618831634523
95th percentile: 2.9107833862304684
99th percentile: 3.028720588684082
mean time: 2.014054298400879
Pipeline stage StressChecker completed in 11.24s
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 6.10s
Shutdown handler de-registered
mistralai-mistral-nemo-_9330_v79 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 mistralai-mistral-nemo-9330-v79-profiler
Waiting for inference service mistralai-mistral-nemo-9330-v79-profiler to be ready
Inference service mistralai-mistral-nemo-9330-v79-profiler ready after 170.3869297504425s
Pipeline stage MKMLProfilerDeployer completed in 170.81s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/mistralai-mistral-ne1fbccc527b366d08b16116f437aaeaf4-deploh92zq:/code/chaiverse_profiler_1726554856 --namespace tenant-chaiml-guanaco
kubectl exec -it mistralai-mistral-ne1fbccc527b366d08b16116f437aaeaf4-deploh92zq --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1726554856 && python profiles.py profile --best_of_n 4 --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_1726554856/summary.json'
kubectl exec -it mistralai-mistral-ne1fbccc527b366d08b16116f437aaeaf4-deploh92zq --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1726554856/summary.json'
Pipeline stage MKMLProfilerRunner completed in 950.93s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service mistralai-mistral-nemo-9330-v79-profiler is running
Tearing down inference service mistralai-mistral-nemo-9330-v79-profiler
Service mistralai-mistral-nemo-9330-v79-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 1.78s
Shutdown handler de-registered
mistralai-mistral-nemo-_9330_v79 status is now inactive due to auto deactivation removed underperforming models
mistralai-mistral-nemo-_9330_v79 status is now torndown due to DeploymentManager action