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 fengfengzi14-mistral-testg3-v1-mkmlizer
Waiting for job on fengfengzi14-mistral-testg3-v1-mkmlizer to finish
fengfengzi14-mistral-testg3-v1-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ _____ __ __ ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ /___/ ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ Version: 0.10.1 ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ https://mk1.ai ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ The license key for the current software has been verified as ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ belonging to: ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ Chai Research Corp. ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ║ ║
fengfengzi14-mistral-testg3-v1-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
fengfengzi14-mistral-testg3-v1-mkmlizer: Downloaded to shared memory in 27.825s
fengfengzi14-mistral-testg3-v1-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpl1p3f3fi, device:0
fengfengzi14-mistral-testg3-v1-mkmlizer: Saving flywheel model at /dev/shm/model_cache
fengfengzi14-mistral-testg3-v1-mkmlizer: quantized model in 18.308s
fengfengzi14-mistral-testg3-v1-mkmlizer: Processed model fengfengzi14/mistral_testG3 in 46.134s
fengfengzi14-mistral-testg3-v1-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
fengfengzi14-mistral-testg3-v1-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/fengfengzi14-mistral-testg3-v1
fengfengzi14-mistral-testg3-v1-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/fengfengzi14-mistral-testg3-v1/config.json
fengfengzi14-mistral-testg3-v1-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/fengfengzi14-mistral-testg3-v1/special_tokens_map.json
fengfengzi14-mistral-testg3-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/fengfengzi14-mistral-testg3-v1/tokenizer_config.json
fengfengzi14-mistral-testg3-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer.model s3://guanaco-mkml-models/fengfengzi14-mistral-testg3-v1/tokenizer.model
fengfengzi14-mistral-testg3-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/fengfengzi14-mistral-testg3-v1/tokenizer.json
fengfengzi14-mistral-testg3-v1-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/fengfengzi14-mistral-testg3-v1/flywheel_model.0.safetensors
fengfengzi14-mistral-testg3-v1-mkmlizer:
Loading 0: 0%| | 0/291 [00:00<?, ?it/s]
Loading 0: 2%|▏ | 7/291 [00:00<00:06, 46.67it/s]
Loading 0: 5%|▌ | 16/291 [00:00<00:05, 54.89it/s]
Loading 0: 9%|▊ | 25/291 [00:00<00:04, 60.95it/s]
Loading 0: 14%|█▎ | 40/291 [00:00<00:03, 75.88it/s]
Loading 0: 17%|█▋ | 49/291 [00:00<00:03, 76.95it/s]
Loading 0: 20%|█▉ | 58/291 [00:00<00:03, 77.16it/s]
Loading 0: 23%|██▎ | 67/291 [00:00<00:02, 76.67it/s]
Loading 0: 27%|██▋ | 79/291 [00:01<00:02, 76.38it/s]
Loading 0: 30%|███ | 88/291 [00:01<00:02, 70.63it/s]
Loading 0: 33%|███▎ | 97/291 [00:01<00:02, 68.45it/s]
Loading 0: 36%|███▌ | 104/291 [00:02<00:09, 19.61it/s]
Loading 0: 38%|███▊ | 112/291 [00:02<00:07, 24.01it/s]
Loading 0: 42%|████▏ | 121/291 [00:02<00:05, 30.83it/s]
Loading 0: 45%|████▍ | 130/291 [00:02<00:04, 38.05it/s]
Loading 0: 48%|████▊ | 139/291 [00:03<00:03, 45.02it/s]
Loading 0: 52%|█████▏ | 150/291 [00:03<00:02, 56.50it/s]
Loading 0: 55%|█████▍ | 159/291 [00:03<00:02, 62.59it/s]
Loading 0: 58%|█████▊ | 168/291 [00:03<00:01, 63.54it/s]
Loading 0: 60%|██████ | 176/291 [00:03<00:01, 61.55it/s]
Loading 0: 63%|██████▎ | 184/291 [00:03<00:01, 64.78it/s]
Loading 0: 66%|██████▋ | 193/291 [00:03<00:01, 70.78it/s]
Loading 0: 69%|██████▉ | 202/291 [00:03<00:01, 69.72it/s]
Loading 0: 72%|███████▏ | 210/291 [00:05<00:04, 19.41it/s]
Loading 0: 74%|███████▍ | 216/291 [00:05<00:03, 22.99it/s]
Loading 0: 77%|███████▋ | 224/291 [00:05<00:02, 29.31it/s]
Loading 0: 80%|███████▉ | 232/291 [00:05<00:01, 35.35it/s]
Loading 0: 83%|████████▎ | 241/291 [00:05<00:01, 40.78it/s]
Loading 0: 86%|████████▌ | 250/291 [00:05<00:00, 47.57it/s]
Loading 0: 89%|████████▊ | 258/291 [00:05<00:00, 53.78it/s]
Loading 0: 91%|█████████ | 265/291 [00:05<00:00, 54.07it/s]
Loading 0: 94%|█████████▍| 274/291 [00:05<00:00, 61.18it/s]
Loading 0: 97%|█████████▋| 283/291 [00:06<00:00, 67.88it/s]
Loading 0: 100%|██████████| 291/291 [00:07<00:00, 16.98it/s]
Job fengfengzi14-mistral-testg3-v1-mkmlizer completed after 64.24s with status: succeeded
Stopping job with name fengfengzi14-mistral-testg3-v1-mkmlizer
Pipeline stage MKMLizer completed in 65.50s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.07s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service fengfengzi14-mistral-testg3-v1
Waiting for inference service fengfengzi14-mistral-testg3-v1 to be ready
Failed to get response for submission blend_lobuf_2024-08-22: ('http://zonemercy-taurus-edit-v1-1e5-v3-predictor.tenant-chaiml-guanaco.k.chaiverse.com/v1/models/GPT-J-6B-lit-v2:predict', 'read tcp 127.0.0.1:41780->127.0.0.1:8080: read: connection reset by peer\n')
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 fengfengzi14-mistral-testg3-v1 ready after 150.6345283985138s
Pipeline stage MKMLDeployer completed in 152.24s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 1.2933037281036377s
Received healthy response to inference request in 0.8481991291046143s
Received healthy response to inference request in 1.0183076858520508s
Received healthy response to inference request in 1.0508718490600586s
Received healthy response to inference request in 1.3687620162963867s
5 requests
0 failed requests
5th percentile: 0.8822208404541015
10th percentile: 0.9162425518035888
20th percentile: 0.9842859745025635
30th percentile: 1.0248205184936523
40th percentile: 1.0378461837768556
50th percentile: 1.0508718490600586
60th percentile: 1.1478446006774903
70th percentile: 1.2448173522949217
80th percentile: 1.3083953857421875
90th percentile: 1.338578701019287
95th percentile: 1.353670358657837
99th percentile: 1.3657436847686768
mean time: 1.1158888816833497
Pipeline stage StressChecker completed in 7.91s
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.35s
Shutdown handler de-registered
fengfengzi14-mistral-testg3_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.13s
run pipeline stage %s
Running pipeline stage MKMLProfilerTemplater
Pipeline stage MKMLProfilerTemplater completed in 0.10s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service fengfengzi14-mistral-testg3-v1-profiler
Waiting for inference service fengfengzi14-mistral-testg3-v1-profiler to be ready
Inference service fengfengzi14-mistral-testg3-v1-profiler ready after 150.359797000885s
Pipeline stage MKMLProfilerDeployer completed in 150.70s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/fengfengzi14-mistral702cf41e436210568e206c317ac5e99d-deplo22ppg:/code/chaiverse_profiler_1725681518 --namespace tenant-chaiml-guanaco
kubectl exec -it fengfengzi14-mistral702cf41e436210568e206c317ac5e99d-deplo22ppg --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1725681518 && python profiles.py profile --best_of_n 1 --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_1725681518/summary.json'
kubectl exec -it fengfengzi14-mistral702cf41e436210568e206c317ac5e99d-deplo22ppg --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1725681518/summary.json'
Pipeline stage MKMLProfilerRunner completed in 445.72s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service fengfengzi14-mistral-testg3-v1-profiler is running
Tearing down inference service fengfengzi14-mistral-testg3-v1-profiler
Service fengfengzi14-mistral-testg3-v1-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 1.63s
Shutdown handler de-registered
fengfengzi14-mistral-testg3_v1 status is now inactive due to auto deactivation removed underperforming models
fengfengzi14-mistral-testg3_v1 status is now torndown due to DeploymentManager action
Deleting key trace2333-mistral-align-8132-v6/special_tokens_map.json from bucket guanaco-mkml-models