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 trace2333-mistral-trail8-v2-mkmlizer
Waiting for job on trace2333-mistral-trail8-v2-mkmlizer to finish
trace2333-mistral-trail8-v2-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
trace2333-mistral-trail8-v2-mkmlizer: ║ _____ __ __ ║
trace2333-mistral-trail8-v2-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
trace2333-mistral-trail8-v2-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
trace2333-mistral-trail8-v2-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
trace2333-mistral-trail8-v2-mkmlizer: ║ /___/ ║
trace2333-mistral-trail8-v2-mkmlizer: ║ ║
trace2333-mistral-trail8-v2-mkmlizer: ║ Version: 0.10.1 ║
trace2333-mistral-trail8-v2-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
trace2333-mistral-trail8-v2-mkmlizer: ║ https://mk1.ai ║
trace2333-mistral-trail8-v2-mkmlizer: ║ ║
trace2333-mistral-trail8-v2-mkmlizer: ║ The license key for the current software has been verified as ║
trace2333-mistral-trail8-v2-mkmlizer: ║ belonging to: ║
trace2333-mistral-trail8-v2-mkmlizer: ║ ║
trace2333-mistral-trail8-v2-mkmlizer: ║ Chai Research Corp. ║
trace2333-mistral-trail8-v2-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
trace2333-mistral-trail8-v2-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
trace2333-mistral-trail8-v2-mkmlizer: ║ ║
trace2333-mistral-trail8-v2-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
trace2333-mistral-trail8-v2-mkmlizer: Downloaded to shared memory in 30.547s
trace2333-mistral-trail8-v2-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmp6co5z57h, device:0
trace2333-mistral-trail8-v2-mkmlizer: Saving flywheel model at /dev/shm/model_cache
trace2333-mistral-trail8-v2-mkmlizer: quantized model in 37.118s
trace2333-mistral-trail8-v2-mkmlizer: Processed model Trace2333/mistral_trail8 in 67.665s
trace2333-mistral-trail8-v2-mkmlizer: creating bucket guanaco-mkml-models
trace2333-mistral-trail8-v2-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
trace2333-mistral-trail8-v2-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/trace2333-mistral-trail8-v2
trace2333-mistral-trail8-v2-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/trace2333-mistral-trail8-v2/config.json
trace2333-mistral-trail8-v2-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/trace2333-mistral-trail8-v2/special_tokens_map.json
trace2333-mistral-trail8-v2-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/trace2333-mistral-trail8-v2/tokenizer_config.json
trace2333-mistral-trail8-v2-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/trace2333-mistral-trail8-v2/tokenizer.json
trace2333-mistral-trail8-v2-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/trace2333-mistral-trail8-v2/flywheel_model.0.safetensors
Job trace2333-mistral-trail8-v2-mkmlizer completed after 94.4s with status: succeeded
Stopping job with name trace2333-mistral-trail8-v2-mkmlizer
Pipeline stage MKMLizer completed in 95.91s
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 trace2333-mistral-trail8-v2
Waiting for inference service trace2333-mistral-trail8-v2 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
Inference service trace2333-mistral-trail8-v2 ready after 160.9596529006958s
Pipeline stage MKMLDeployer completed in 161.31s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.261568546295166s
Received healthy response to inference request in 1.917980432510376s
Received healthy response to inference request in 2.110215425491333s
Received healthy response to inference request in 1.6914474964141846s
Received healthy response to inference request in 2.5284488201141357s
5 requests
0 failed requests
5th percentile: 1.7367540836334228
10th percentile: 1.7820606708526612
20th percentile: 1.8726738452911378
30th percentile: 1.9564274311065675
40th percentile: 2.03332142829895
50th percentile: 2.110215425491333
60th percentile: 2.1707566738128663
70th percentile: 2.2312979221343996
80th percentile: 2.31494460105896
90th percentile: 2.4216967105865477
95th percentile: 2.4750727653503417
99th percentile: 2.517773609161377
mean time: 2.101932144165039
Pipeline stage StressChecker completed in 11.46s
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.27s
Shutdown handler de-registered
trace2333-mistral-trail8_v2 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.10s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service trace2333-mistral-trail8-v2-profiler
Waiting for inference service trace2333-mistral-trail8-v2-profiler to be ready
Inference service trace2333-mistral-trail8-v2-profiler ready after 150.34376692771912s
Pipeline stage MKMLProfilerDeployer completed in 151.19s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/trace2333-mistral-trail8-v2-profiler-predictor-00001-deplog5k59:/code/chaiverse_profiler_1725962126 --namespace tenant-chaiml-guanaco
kubectl exec -it trace2333-mistral-trail8-v2-profiler-predictor-00001-deplog5k59 --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1725962126 && 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 512 --output_tokens 64 --summary /code/chaiverse_profiler_1725962126/summary.json'
kubectl exec -it trace2333-mistral-trail8-v2-profiler-predictor-00001-deplog5k59 --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1725962126/summary.json'
Pipeline stage MKMLProfilerRunner completed in 942.41s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service trace2333-mistral-trail8-v2-profiler is running
Tearing down inference service trace2333-mistral-trail8-v2-profiler
Service trace2333-mistral-trail8-v2-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 1.97s
Shutdown handler de-registered
trace2333-mistral-trail8_v2 status is now inactive due to auto deactivation removed underperforming models
trace2333-mistral-trail8_v2 status is now torndown due to DeploymentManager action