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-v89-mkmlizer
Waiting for job on mistralai-mistral-nemo-9330-v89-mkmlizer to finish
mistralai-mistral-nemo-9330-v89-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ _____ __ __ ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ /___/ ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ Version: 0.10.1 ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ https://mk1.ai ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ The license key for the current software has been verified as ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ belonging to: ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ Chai Research Corp. ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ║ ║
mistralai-mistral-nemo-9330-v89-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
Failed to get response for submission mistralai-mistral-small-_5341_v1: ('http://mistralai-mistral-small-5341-v1-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', 'request timeout')
Failed to get response for submission mistralai-mistral-small-_5341_v1: ('http://mistralai-mistral-small-5341-v1-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', 'request timeout')
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
mistralai-mistral-nemo-9330-v89-mkmlizer: Downloaded to shared memory in 46.983s
mistralai-mistral-nemo-9330-v89-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpt2ucr0st, device:0
mistralai-mistral-nemo-9330-v89-mkmlizer: Saving flywheel model at /dev/shm/model_cache
mistralai-mistral-nemo-9330-v89-mkmlizer: quantized model in 35.682s
mistralai-mistral-nemo-9330-v89-mkmlizer: Processed model mistralai/Mistral-Nemo-Instruct-2407 in 82.665s
mistralai-mistral-nemo-9330-v89-mkmlizer: creating bucket guanaco-mkml-models
mistralai-mistral-nemo-9330-v89-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
mistralai-mistral-nemo-9330-v89-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/mistralai-mistral-nemo-9330-v89
mistralai-mistral-nemo-9330-v89-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/mistralai-mistral-nemo-9330-v89/flywheel_model.0.safetensors
mistralai-mistral-nemo-9330-v89-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 1%|▏ | 5/363 [00:00<00:10, 34.31it/s]
Loading 0: 4%|▎ | 13/363 [00:00<00:06, 54.79it/s]
Loading 0: 5%|▌ | 19/363 [00:00<00:07, 48.64it/s]
Loading 0: 7%|▋ | 25/363 [00:00<00:06, 49.24it/s]
Loading 0: 9%|▊ | 31/363 [00:00<00:06, 52.35it/s]
Loading 0: 10%|█ | 37/363 [00:00<00:06, 49.63it/s]
Loading 0: 12%|█▏ | 43/363 [00:00<00:06, 50.13it/s]
Loading 0: 13%|█▎ | 49/363 [00:00<00:06, 52.30it/s]
Loading 0: 15%|█▌ | 55/363 [00:01<00:06, 49.70it/s]
Loading 0: 17%|█▋ | 61/363 [00:01<00:07, 38.09it/s]
Loading 0: 18%|█▊ | 66/363 [00:01<00:07, 38.79it/s]
Loading 0: 20%|█▉ | 72/363 [00:01<00:06, 43.34it/s]
Loading 0: 21%|██▏ | 78/363 [00:01<00:06, 42.70it/s]
Loading 0: 23%|██▎ | 83/363 [00:01<00:06, 40.87it/s]
Loading 0: 25%|██▍ | 90/363 [00:01<00:05, 45.58it/s]
Loading 0: 26%|██▌ | 95/363 [00:02<00:05, 45.85it/s]
Loading 0: 28%|██▊ | 100/363 [00:02<00:06, 38.60it/s]
Loading 0: 30%|███ | 109/363 [00:02<00:05, 50.19it/s]
Loading 0: 32%|███▏ | 115/363 [00:02<00:05, 45.95it/s]
Loading 0: 33%|███▎ | 120/363 [00:02<00:05, 44.57it/s]
Loading 0: 35%|███▍ | 126/363 [00:02<00:05, 47.34it/s]
Loading 0: 36%|███▋ | 132/363 [00:02<00:05, 42.76it/s]
Loading 0: 38%|███▊ | 137/363 [00:03<00:05, 40.23it/s]
Loading 0: 39%|███▉ | 142/363 [00:03<00:06, 33.03it/s]
Loading 0: 40%|████ | 146/363 [00:03<00:06, 34.10it/s]
Loading 0: 41%|████▏ | 150/363 [00:03<00:06, 33.20it/s]
Loading 0: 43%|████▎ | 157/363 [00:03<00:05, 39.87it/s]
Loading 0: 45%|████▍ | 163/363 [00:03<00:05, 39.32it/s]
Loading 0: 46%|████▋ | 168/363 [00:03<00:04, 39.03it/s]
Loading 0: 48%|████▊ | 174/363 [00:04<00:04, 43.91it/s]
Loading 0: 49%|████▉ | 179/363 [00:04<00:04, 44.22it/s]
Loading 0: 51%|█████ | 184/363 [00:04<00:03, 45.15it/s]
Loading 0: 52%|█████▏ | 190/363 [00:04<00:04, 43.18it/s]
Loading 0: 54%|█████▎ | 195/363 [00:04<00:03, 42.44it/s]
Loading 0: 56%|█████▌ | 202/363 [00:04<00:03, 47.30it/s]
Loading 0: 57%|█████▋ | 208/363 [00:04<00:03, 45.49it/s]
Loading 0: 59%|█████▊ | 213/363 [00:04<00:03, 44.18it/s]
Loading 0: 61%|██████ | 221/363 [00:05<00:02, 52.64it/s]
Loading 0: 63%|██████▎ | 227/363 [00:05<00:03, 35.18it/s]
Loading 0: 64%|██████▍ | 232/363 [00:05<00:03, 36.09it/s]
Loading 0: 66%|██████▌ | 238/363 [00:05<00:03, 39.74it/s]
Loading 0: 67%|██████▋ | 244/363 [00:05<00:02, 40.75it/s]
Loading 0: 69%|██████▊ | 249/363 [00:05<00:02, 40.31it/s]
Loading 0: 71%|███████ | 256/363 [00:05<00:02, 45.26it/s]
Loading 0: 72%|███████▏ | 262/363 [00:06<00:02, 43.84it/s]
Loading 0: 74%|███████▎ | 267/363 [00:06<00:02, 42.71it/s]
Loading 0: 75%|███████▌ | 274/363 [00:06<00:01, 47.27it/s]
Loading 0: 77%|███████▋ | 280/363 [00:06<00:01, 47.15it/s]
Loading 0: 79%|███████▊ | 285/363 [00:06<00:01, 46.34it/s]
Loading 0: 80%|████████ | 292/363 [00:06<00:01, 49.65it/s]
Loading 0: 82%|████████▏ | 298/363 [00:06<00:01, 48.58it/s]
Loading 0: 84%|████████▎ | 304/363 [00:13<00:20, 2.83it/s]
Loading 0: 85%|████████▍ | 308/363 [00:13<00:15, 3.55it/s]
Loading 0: 86%|████████▌ | 312/363 [00:13<00:11, 4.51it/s]
Loading 0: 88%|████████▊ | 320/363 [00:14<00:05, 7.26it/s]
Loading 0: 90%|████████▉ | 326/363 [00:14<00:03, 9.63it/s]
Loading 0: 91%|█████████ | 331/363 [00:14<00:02, 12.01it/s]
Loading 0: 93%|█████████▎| 338/363 [00:14<00:01, 16.61it/s]
Loading 0: 95%|█████████▍| 344/363 [00:14<00:00, 20.24it/s]
Loading 0: 96%|█████████▌| 349/363 [00:14<00:00, 23.25it/s]
Loading 0: 98%|█████████▊| 356/363 [00:14<00:00, 29.55it/s]
Loading 0: 100%|█████████▉| 362/363 [00:14<00:00, 32.43it/s]
Job mistralai-mistral-nemo-9330-v89-mkmlizer completed after 104.52s with status: succeeded
Stopping job with name mistralai-mistral-nemo-9330-v89-mkmlizer
Pipeline stage MKMLizer completed in 105.72s
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-v89
Waiting for inference service mistralai-mistral-nemo-9330-v89 to be ready
Failed to get response for submission mistralai-mistral-small-_5341_v1: ('http://mistralai-mistral-small-5341-v1-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', 'request timeout')
Failed to get response for submission mistralai-mistral-small-_5341_v1: ('http://mistralai-mistral-small-5341-v1-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', 'request timeout')
Inference service mistralai-mistral-nemo-9330-v89 ready after 190.95829606056213s
Pipeline stage MKMLDeployer completed in 191.34s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 1.5475080013275146s
Received healthy response to inference request in 1.203650712966919s
Received healthy response to inference request in 1.1228196620941162s
Received healthy response to inference request in 0.8436391353607178s
Received healthy response to inference request in 1.362506628036499s
5 requests
0 failed requests
5th percentile: 0.8994752407073975
10th percentile: 0.9553113460540772
20th percentile: 1.0669835567474366
30th percentile: 1.1389858722686768
40th percentile: 1.1713182926177979
50th percentile: 1.203650712966919
60th percentile: 1.267193078994751
70th percentile: 1.330735445022583
80th percentile: 1.3995069026947022
90th percentile: 1.4735074520111084
95th percentile: 1.5105077266693114
99th percentile: 1.540107946395874
mean time: 1.2160248279571533
Pipeline stage StressChecker completed in 6.89s
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.54s
Shutdown handler de-registered
Failed to get response for submission mistralai-mistral-small-_5341_v1: ('http://mistralai-mistral-small-5341-v1-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', 'request timeout')
mistralai-mistral-nemo-_9330_v89 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.13s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service mistralai-mistral-nemo-9330-v89-profiler
Waiting for inference service mistralai-mistral-nemo-9330-v89-profiler to be ready
Inference service mistralai-mistral-nemo-9330-v89-profiler ready after 190.4735188484192s
Pipeline stage MKMLProfilerDeployer completed in 190.83s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/mistralai-mistral-ne7729eac2b288648c448e3f99f657d2d6-deplo9tjjb:/code/chaiverse_profiler_1726668051 --namespace tenant-chaiml-guanaco
kubectl exec -it mistralai-mistral-ne7729eac2b288648c448e3f99f657d2d6-deplo9tjjb --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1726668051 && 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_1726668051/summary.json'
kubectl exec -it mistralai-mistral-ne7729eac2b288648c448e3f99f657d2d6-deplo9tjjb --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1726668051/summary.json'
Pipeline stage MKMLProfilerRunner completed in 960.09s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service mistralai-mistral-nemo-9330-v89-profiler is running
Tearing down inference service mistralai-mistral-nemo-9330-v89-profiler
Service mistralai-mistral-nemo-9330-v89-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 2.12s
Shutdown handler de-registered
mistralai-mistral-nemo-_9330_v89 status is now inactive due to auto deactivation removed underperforming models
mistralai-mistral-nemo-_9330_v89 status is now torndown due to DeploymentManager action