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 cycy233-nemo-p-e-v1-c4-v1-mkmlizer
Waiting for job on cycy233-nemo-p-e-v1-c4-v1-mkmlizer to finish
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ _____ __ __ ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ /___/ ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ Version: 0.10.1 ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ https://mk1.ai ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ The license key for the current software has been verified as ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ belonging to: ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ Chai Research Corp. ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: ║ ║
cycy233-nemo-p-e-v1-c4-v1-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
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
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: Downloaded to shared memory in 46.693s
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpqwmf_hsb, device:0
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: Saving flywheel model at /dev/shm/model_cache
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: quantized model in 35.712s
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: Processed model cycy233/nemo-p-e-v1-c4 in 82.406s
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: creating bucket guanaco-mkml-models
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/cycy233-nemo-p-e-v1-c4-v1
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/cycy233-nemo-p-e-v1-c4-v1/config.json
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/cycy233-nemo-p-e-v1-c4-v1/special_tokens_map.json
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/cycy233-nemo-p-e-v1-c4-v1/tokenizer_config.json
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/cycy233-nemo-p-e-v1-c4-v1/tokenizer.json
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
cycy233-nemo-p-e-v1-c4-v1-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/cycy233-nemo-p-e-v1-c4-v1/flywheel_model.0.safetensors
cycy233-nemo-p-e-v1-c4-v1-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 1%|▏ | 5/363 [00:00<00:11, 32.53it/s]
Loading 0: 4%|▎ | 13/363 [00:00<00:06, 52.96it/s]
Loading 0: 5%|▌ | 19/363 [00:00<00:07, 48.60it/s]
Loading 0: 7%|▋ | 25/363 [00:00<00:06, 48.49it/s]
Loading 0: 9%|▊ | 31/363 [00:00<00:06, 50.99it/s]
Loading 0: 10%|█ | 37/363 [00:00<00:07, 43.66it/s]
Loading 0: 12%|█▏ | 42/363 [00:00<00:07, 42.54it/s]
Loading 0: 13%|█▎ | 49/363 [00:01<00:06, 48.17it/s]
Loading 0: 15%|█▌ | 55/363 [00:01<00:06, 47.41it/s]
Loading 0: 17%|█▋ | 61/363 [00:01<00:08, 35.60it/s]
Loading 0: 18%|█▊ | 66/363 [00:01<00:08, 36.22it/s]
Loading 0: 20%|█▉ | 71/363 [00:01<00:07, 38.24it/s]
Loading 0: 21%|██ | 76/363 [00:01<00:07, 39.74it/s]
Loading 0: 23%|██▎ | 82/363 [00:01<00:07, 37.64it/s]
Loading 0: 25%|██▍ | 90/363 [00:02<00:06, 44.50it/s]
Loading 0: 26%|██▌ | 95/363 [00:02<00:05, 45.52it/s]
Loading 0: 28%|██▊ | 100/363 [00:02<00:06, 40.67it/s]
Loading 0: 30%|███ | 109/363 [00:02<00:04, 52.02it/s]
Loading 0: 32%|███▏ | 115/363 [00:02<00:05, 47.16it/s]
Loading 0: 33%|███▎ | 121/363 [00:02<00:05, 45.64it/s]
Loading 0: 35%|███▍ | 126/363 [00:02<00:05, 46.47it/s]
Loading 0: 36%|███▋ | 132/363 [00:02<00:05, 46.05it/s]
Loading 0: 38%|███▊ | 137/363 [00:03<00:05, 42.23it/s]
Loading 0: 39%|███▉ | 142/363 [00:03<00:07, 30.57it/s]
Loading 0: 40%|████ | 146/363 [00:03<00:06, 32.02it/s]
Loading 0: 41%|████▏ | 150/363 [00:03<00:06, 31.58it/s]
Loading 0: 43%|████▎ | 157/363 [00:03<00:05, 38.56it/s]
Loading 0: 45%|████▍ | 163/363 [00:03<00:04, 40.40it/s]
Loading 0: 46%|████▋ | 168/363 [00:04<00:04, 40.39it/s]
Loading 0: 48%|████▊ | 174/363 [00:04<00:04, 44.56it/s]
Loading 0: 49%|████▉ | 179/363 [00:04<00:04, 44.48it/s]
Loading 0: 51%|█████ | 184/363 [00:04<00:03, 45.45it/s]
Loading 0: 52%|█████▏ | 190/363 [00:04<00:03, 44.87it/s]
Loading 0: 54%|█████▎ | 195/363 [00:04<00:03, 43.43it/s]
Loading 0: 56%|█████▌ | 202/363 [00:04<00:03, 48.72it/s]
Loading 0: 57%|█████▋ | 208/363 [00:04<00:03, 48.17it/s]
Loading 0: 59%|█████▊ | 213/363 [00:04<00:03, 46.62it/s]
Loading 0: 60%|██████ | 218/363 [00:05<00:03, 47.17it/s]
Loading 0: 61%|██████▏ | 223/363 [00:05<00:03, 35.29it/s]
Loading 0: 63%|██████▎ | 227/363 [00:05<00:03, 34.17it/s]
Loading 0: 64%|██████▎ | 231/363 [00:05<00:04, 31.34it/s]
Loading 0: 65%|██████▌ | 237/363 [00:05<00:03, 35.29it/s]
Loading 0: 66%|██████▋ | 241/363 [00:05<00:03, 33.59it/s]
Loading 0: 68%|██████▊ | 246/363 [00:05<00:03, 35.77it/s]
Loading 0: 69%|██████▉ | 250/363 [00:06<00:03, 35.12it/s]
Loading 0: 70%|███████ | 255/363 [00:06<00:02, 38.47it/s]
Loading 0: 71%|███████▏ | 259/363 [00:06<00:02, 36.85it/s]
Loading 0: 73%|███████▎ | 264/363 [00:06<00:02, 40.18it/s]
Loading 0: 74%|███████▍ | 269/363 [00:06<00:02, 39.27it/s]
Loading 0: 75%|███████▌ | 274/363 [00:06<00:02, 40.12it/s]
Loading 0: 77%|███████▋ | 279/363 [00:06<00:02, 41.59it/s]
Loading 0: 78%|███████▊ | 284/363 [00:06<00:02, 34.70it/s]
Loading 0: 80%|████████ | 291/363 [00:07<00:01, 42.10it/s]
Loading 0: 82%|████████▏ | 296/363 [00:07<00:01, 41.37it/s]
Loading 0: 83%|████████▎ | 301/363 [00:07<00:01, 41.92it/s]
Loading 0: 84%|████████▍ | 306/363 [00:14<00:23, 2.43it/s]
Loading 0: 85%|████████▌ | 310/363 [00:14<00:16, 3.16it/s]
Loading 0: 87%|████████▋ | 314/363 [00:14<00:11, 4.16it/s]
Loading 0: 88%|████████▊ | 319/363 [00:14<00:07, 5.86it/s]
Loading 0: 89%|████████▉ | 323/363 [00:14<00:05, 7.52it/s]
Loading 0: 91%|█████████ | 329/363 [00:14<00:03, 11.00it/s]
Loading 0: 92%|█████████▏| 335/363 [00:14<00:01, 14.88it/s]
Loading 0: 94%|█████████▎| 340/363 [00:14<00:01, 18.47it/s]
Loading 0: 96%|█████████▌| 347/363 [00:15<00:00, 25.26it/s]
Loading 0: 97%|█████████▋| 353/363 [00:15<00:00, 29.58it/s]
Loading 0: 99%|█████████▉| 359/363 [00:15<00:00, 34.27it/s]
Job cycy233-nemo-p-e-v1-c4-v1-mkmlizer completed after 108.69s with status: succeeded
Stopping job with name cycy233-nemo-p-e-v1-c4-v1-mkmlizer
Pipeline stage MKMLizer completed in 110.25s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.17s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service cycy233-nemo-p-e-v1-c4-v1
Waiting for inference service cycy233-nemo-p-e-v1-c4-v1 to be ready
Failed to get response for submission mistralai-mixtral-8x7b_3473_v136: ('http://mistralai-mixtral-8x7b-3473-v136-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', 'read tcp 127.0.0.1:46144->127.0.0.1:8080: read: connection reset by peer\n')
Inference service cycy233-nemo-p-e-v1-c4-v1 ready after 191.4499545097351s
Pipeline stage MKMLDeployer completed in 191.76s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.1507232189178467s
Received healthy response to inference request in 3.0921502113342285s
Received healthy response to inference request in 1.7549116611480713s
Received healthy response to inference request in 2.4025495052337646s
Received healthy response to inference request in 1.8406918048858643s
5 requests
0 failed requests
5th percentile: 1.7720676898956298
10th percentile: 1.7892237186431885
20th percentile: 1.8235357761383058
30th percentile: 1.9026980876922608
40th percentile: 2.0267106533050536
50th percentile: 2.1507232189178467
60th percentile: 2.251453733444214
70th percentile: 2.3521842479705812
80th percentile: 2.5404696464538574
90th percentile: 2.816309928894043
95th percentile: 2.9542300701141357
99th percentile: 3.06456618309021
mean time: 2.248205280303955
Pipeline stage StressChecker completed in 12.29s
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 5.28s
Shutdown handler de-registered
cycy233-nemo-p-e-v1-c4_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.14s
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 cycy233-nemo-p-e-v1-c4-v1-profiler
Waiting for inference service cycy233-nemo-p-e-v1-c4-v1-profiler to be ready
Inference service cycy233-nemo-p-e-v1-c4-v1-profiler ready after 180.44867873191833s
Pipeline stage MKMLProfilerDeployer completed in 180.83s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/cycy233-nemo-p-e-v1-c4-v1-profiler-predictor-00001-deploym47cvw:/code/chaiverse_profiler_1727074069 --namespace tenant-chaiml-guanaco
kubectl exec -it cycy233-nemo-p-e-v1-c4-v1-profiler-predictor-00001-deploym47cvw --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1727074069 && 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_1727074069/summary.json'
kubectl exec -it cycy233-nemo-p-e-v1-c4-v1-profiler-predictor-00001-deploym47cvw --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1727074069/summary.json'
Pipeline stage MKMLProfilerRunner completed in 1188.74s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service cycy233-nemo-p-e-v1-c4-v1-profiler is running
Tearing down inference service cycy233-nemo-p-e-v1-c4-v1-profiler
Service cycy233-nemo-p-e-v1-c4-v1-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 2.19s
Shutdown handler de-registered
cycy233-nemo-p-e-v1-c4_v1 status is now inactive due to auto deactivation removed underperforming models
Shutdown handler de-registered
cycy233-nemo-p-e-v2-c3_v1 status is now torndown due to DeploymentManager action
cycy233-nemo-p-e-v1-c3_v1 status is now torndown due to DeploymentManager action
cycy233-nemo-p-e-v1-c4_v1 status is now torndown due to DeploymentManager action