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 alexdaoud-trainer-bagir-7866-v1-mkmlizer
Waiting for job on alexdaoud-trainer-bagir-7866-v1-mkmlizer to finish
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ _____ __ __ ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ /___/ ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ Version: 0.11.12 ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ https://mk1.ai ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ The license key for the current software has been verified as ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ belonging to: ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ Chai Research Corp. ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ Expiration: 2025-01-15 23:59:59 ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ║ ║
alexdaoud-trainer-bagir-7866-v1-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
alexdaoud-trainer-bagir-7866-v1-mkmlizer: Downloaded to shared memory in 33.240s
alexdaoud-trainer-bagir-7866-v1-mkmlizer: quantizing model to /dev/shm/model_cache, profile:t0, folder:/tmp/tmph_cuhf3t, device:0
alexdaoud-trainer-bagir-7866-v1-mkmlizer: Saving flywheel model at /dev/shm/model_cache
alexdaoud-trainer-bagir-7866-v1-mkmlizer: quantized model in 86.478s
alexdaoud-trainer-bagir-7866-v1-mkmlizer: Processed model alexdaoud/trainer_bagir_2024-12-11-checkpoint-79 in 119.719s
alexdaoud-trainer-bagir-7866-v1-mkmlizer: creating bucket guanaco-mkml-models
alexdaoud-trainer-bagir-7866-v1-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
alexdaoud-trainer-bagir-7866-v1-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/alexdaoud-trainer-bagir-7866-v1
alexdaoud-trainer-bagir-7866-v1-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/alexdaoud-trainer-bagir-7866-v1/config.json
alexdaoud-trainer-bagir-7866-v1-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/alexdaoud-trainer-bagir-7866-v1/special_tokens_map.json
alexdaoud-trainer-bagir-7866-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/alexdaoud-trainer-bagir-7866-v1/tokenizer_config.json
alexdaoud-trainer-bagir-7866-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/alexdaoud-trainer-bagir-7866-v1/tokenizer.json
Job alexdaoud-trainer-bagir-7866-v1-mkmlizer completed after 145.63s with status: succeeded
Stopping job with name alexdaoud-trainer-bagir-7866-v1-mkmlizer
Pipeline stage MKMLizer completed in 146.17s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.18s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service alexdaoud-trainer-bagir-7866-v1
Waiting for inference service alexdaoud-trainer-bagir-7866-v1 to be ready
Inference service alexdaoud-trainer-bagir-7866-v1 ready after 230.77677583694458s
Pipeline stage MKMLDeployer completed in 231.33s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 3.264488935470581s
Received healthy response to inference request in 2.732844352722168s
Received healthy response to inference request in 2.7338693141937256s
Received healthy response to inference request in 3.5017406940460205s
Received healthy response to inference request in 2.313509225845337s
5 requests
0 failed requests
5th percentile: 2.3973762512207033
10th percentile: 2.4812432765960692
20th percentile: 2.6489773273468016
30th percentile: 2.7330493450164797
40th percentile: 2.7334593296051026
50th percentile: 2.7338693141937256
60th percentile: 2.9461171627044678
70th percentile: 3.15836501121521
80th percentile: 3.3119392871856688
90th percentile: 3.4068399906158446
95th percentile: 3.454290342330933
99th percentile: 3.492250623703003
mean time: 2.9092905044555666
Pipeline stage StressChecker completed in 15.78s
run pipeline stage %s
Running pipeline stage OfflineFamilyFriendlyTriggerPipeline
run_pipeline:run_in_cloud %s
starting trigger_guanaco_pipeline args=%s
triggered trigger_guanaco_pipeline args=%s
Pipeline stage OfflineFamilyFriendlyTriggerPipeline completed in 2.29s
run pipeline stage %s
Running pipeline stage TriggerMKMLProfilingPipeline
run_pipeline:run_in_cloud %s
starting trigger_guanaco_pipeline args=%s
triggered trigger_guanaco_pipeline args=%s
Pipeline stage TriggerMKMLProfilingPipeline completed in 2.20s
Shutdown handler de-registered
alexdaoud-trainer-bagir-_7866_v1 status is now deployed due to DeploymentManager action
Shutdown handler registered
run pipeline %s
run pipeline stage %s
Running pipeline stage OfflineFamilyFriendlyScorer
Evaluating %s Family Friendly Score with %s threads
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.09s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service alexdaoud-trainer-bagir-7866-v1-profiler
Waiting for inference service alexdaoud-trainer-bagir-7866-v1-profiler to be ready
Inference service alexdaoud-trainer-bagir-7866-v1-profiler ready after 220.5408856868744s
Pipeline stage MKMLProfilerDeployer completed in 220.86s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo4qmg2:/code/chaiverse_profiler_1734418006 --namespace tenant-chaiml-guanaco
kubectl exec -it alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo4qmg2 --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1734418006 && 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 256 --output_tokens 1 --summary /code/chaiverse_profiler_1734418006/summary.json'
%s, retrying in %s seconds...
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo4qmg2:/code/chaiverse_profiler_1734420775 --namespace tenant-chaiml-guanaco
%s, retrying in %s seconds...
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo4qmg2:/code/chaiverse_profiler_1734420776 --namespace tenant-chaiml-guanaco
clean up pipeline due to error=ISVCScriptError('Command failed with error: Defaulted container "kserve-container" out of: kserve-container, queue-proxy\nerror: unable to upgrade connection: container not found ("kserve-container")\n, output: ')
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service alexdaoud-trainer-bagir-7866-v1-profiler is running
Tearing down inference service alexdaoud-trainer-bagir-7866-v1-profiler
Service alexdaoud-trainer-bagir-7866-v1-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 2.34s
Shutdown handler de-registered
Shutdown handler registered
run pipeline %s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service alexdaoud-trainer-bagir-7866-v1-profiler is running
Skipping teardown as no inference service was found
Pipeline stage MKMLProfilerDeleter completed in 2.51s
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 alexdaoud-trainer-bagir-7866-v1-profiler
Waiting for inference service alexdaoud-trainer-bagir-7866-v1-profiler to be ready
Inference service alexdaoud-trainer-bagir-7866-v1-profiler ready after 40.11492705345154s
Pipeline stage MKMLProfilerDeployer completed in 40.40s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo92vgd:/code/chaiverse_profiler_1734420867 --namespace tenant-chaiml-guanaco
kubectl exec -it alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo92vgd --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1734420867 && 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 256 --output_tokens 1 --summary /code/chaiverse_profiler_1734420867/summary.json'
%s, retrying in %s seconds...
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo92vgd:/code/chaiverse_profiler_1734423702 --namespace tenant-chaiml-guanaco
%s, retrying in %s seconds...
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo92vgd:/code/chaiverse_profiler_1734423703 --namespace tenant-chaiml-guanaco
kubectl exec -it alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo92vgd --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1734423703 && 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 256 --output_tokens 1 --summary /code/chaiverse_profiler_1734423703/summary.json'
Received signal 2, running shutdown handler
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service alexdaoud-trainer-bagir-7866-v1-profiler is running
Tearing down inference service alexdaoud-trainer-bagir-7866-v1-profiler
Service alexdaoud-trainer-bagir-7866-v1-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 2.33s
Shutdown handler de-registered
Shutdown handler registered
run pipeline %s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service alexdaoud-trainer-bagir-7866-v1-profiler is running
Skipping teardown as no inference service was found
Pipeline stage MKMLProfilerDeleter completed in 2.37s
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 alexdaoud-trainer-bagir-7866-v1-profiler
Waiting for inference service alexdaoud-trainer-bagir-7866-v1-profiler to be ready
Inference service alexdaoud-trainer-bagir-7866-v1-profiler ready after 100.2989239692688s
Pipeline stage MKMLProfilerDeployer completed in 100.65s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo2nrvp:/code/chaiverse_profiler_1734424566 --namespace tenant-chaiml-guanaco
kubectl exec -it alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo2nrvp --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1734424566 && 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 256 --output_tokens 1 --summary /code/chaiverse_profiler_1734424566/summary.json'
%s, retrying in %s seconds...
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo2nrvp:/code/chaiverse_profiler_1734427351 --namespace tenant-chaiml-guanaco
%s, retrying in %s seconds...
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo2nrvp:/code/chaiverse_profiler_1734427352 --namespace tenant-chaiml-guanaco
kubectl exec -it alexdaoud-trainer-ba4fa38a6444aea3f82b770b2ee8514f82-deplo2nrvp --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1734427352 && 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 256 --output_tokens 1 --summary /code/chaiverse_profiler_1734427352/summary.json'
Received signal 2, running shutdown handler
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service alexdaoud-trainer-bagir-7866-v1-profiler is running
Tearing down inference service alexdaoud-trainer-bagir-7866-v1-profiler
Service alexdaoud-trainer-bagir-7866-v1-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 2.47s
Shutdown handler de-registered
alexdaoud-trainer-bagir-_7866_v1 status is now inactive due to auto deactivation removed underperforming models