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 lizhecheng-more-data-dp-43169-v1-mkmlizer
Waiting for job on lizhecheng-more-data-dp-43169-v1-mkmlizer to finish
lizhecheng-more-data-dp-43169-v1-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ _____ __ __ ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ /___/ ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ Version: 0.11.12 ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ https://mk1.ai ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ The license key for the current software has been verified as ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ belonging to: ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ Chai Research Corp. ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ Expiration: 2025-04-15 23:59:59 ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ║ ║
lizhecheng-more-data-dp-43169-v1-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
lizhecheng-more-data-dp-43169-v1-mkmlizer: Downloaded to shared memory in 85.272s
lizhecheng-more-data-dp-43169-v1-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmplvj450zm, device:0
lizhecheng-more-data-dp-43169-v1-mkmlizer: Saving flywheel model at /dev/shm/model_cache
lizhecheng-more-data-dp-43169-v1-mkmlizer: quantized model in 41.245s
lizhecheng-more-data-dp-43169-v1-mkmlizer: Processed model Lizhecheng/more-data-dpo-checkpoint-650-lower-lr in 126.517s
lizhecheng-more-data-dp-43169-v1-mkmlizer: creating bucket guanaco-mkml-models
lizhecheng-more-data-dp-43169-v1-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
lizhecheng-more-data-dp-43169-v1-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/lizhecheng-more-data-dp-43169-v1
lizhecheng-more-data-dp-43169-v1-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/lizhecheng-more-data-dp-43169-v1/config.json
lizhecheng-more-data-dp-43169-v1-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/lizhecheng-more-data-dp-43169-v1/special_tokens_map.json
lizhecheng-more-data-dp-43169-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/lizhecheng-more-data-dp-43169-v1/tokenizer_config.json
lizhecheng-more-data-dp-43169-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/lizhecheng-more-data-dp-43169-v1/tokenizer.json
lizhecheng-more-data-dp-43169-v1-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 1%|▏ | 5/363 [00:00<00:15, 22.82it/s]
Loading 0: 3%|▎ | 10/363 [00:00<00:11, 29.78it/s]
Loading 0: 4%|▍ | 14/363 [00:00<00:13, 26.23it/s]
Loading 0: 6%|▌ | 21/363 [00:00<00:09, 37.44it/s]
Loading 0: 7%|▋ | 26/363 [00:01<00:15, 21.17it/s]
Loading 0: 9%|▊ | 31/363 [00:01<00:12, 25.87it/s]
Loading 0: 10%|▉ | 35/363 [00:01<00:11, 27.60it/s]
Loading 0: 11%|█ | 39/363 [00:01<00:11, 29.40it/s]
Loading 0: 12%|█▏ | 43/363 [00:01<00:10, 29.28it/s]
Loading 0: 13%|█▎ | 48/363 [00:01<00:09, 32.50it/s]
Loading 0: 14%|█▍ | 52/363 [00:01<00:10, 29.57it/s]
Loading 0: 15%|█▌ | 56/363 [00:01<00:10, 29.50it/s]
Loading 0: 17%|█▋ | 61/363 [00:02<00:11, 26.19it/s]
Loading 0: 18%|█▊ | 64/363 [00:02<00:13, 22.76it/s]
Loading 0: 20%|█▉ | 71/363 [00:02<00:09, 30.17it/s]
Loading 0: 21%|██ | 75/363 [00:02<00:09, 29.56it/s]
Loading 0: 22%|██▏ | 79/363 [00:02<00:10, 28.07it/s]
Loading 0: 23%|██▎ | 84/363 [00:02<00:09, 30.65it/s]
Loading 0: 24%|██▍ | 88/363 [00:03<00:09, 29.43it/s]
Loading 0: 26%|██▌ | 93/363 [00:03<00:08, 32.14it/s]
Loading 0: 27%|██▋ | 97/363 [00:03<00:08, 30.40it/s]
Loading 0: 28%|██▊ | 101/363 [00:03<00:10, 24.83it/s]
Loading 0: 29%|██▊ | 104/363 [00:03<00:12, 21.49it/s]
Loading 0: 31%|███ | 111/363 [00:03<00:08, 28.60it/s]
Loading 0: 32%|███▏ | 115/363 [00:04<00:08, 28.13it/s]
Loading 0: 33%|███▎ | 120/363 [00:04<00:07, 30.84it/s]
Loading 0: 34%|███▍ | 124/363 [00:04<00:08, 29.37it/s]
Loading 0: 36%|███▌ | 129/363 [00:04<00:07, 32.21it/s]
Loading 0: 37%|███▋ | 133/363 [00:04<00:07, 30.59it/s]
Loading 0: 38%|███▊ | 137/363 [00:04<00:07, 30.98it/s]
Loading 0: 39%|███▉ | 142/363 [00:05<00:08, 27.11it/s]
Loading 0: 40%|███▉ | 145/363 [00:05<00:08, 25.13it/s]
Loading 0: 41%|████ | 149/363 [00:05<00:09, 23.60it/s]
Loading 0: 43%|████▎ | 156/363 [00:05<00:06, 30.96it/s]
Loading 0: 44%|████▍ | 160/363 [00:05<00:06, 29.88it/s]
Loading 0: 45%|████▌ | 165/363 [00:05<00:06, 31.97it/s]
Loading 0: 47%|████▋ | 169/363 [00:05<00:06, 31.04it/s]
Loading 0: 48%|████▊ | 174/363 [00:06<00:05, 33.32it/s]
Loading 0: 49%|████▉ | 178/363 [00:06<00:05, 31.73it/s]
Loading 0: 50%|█████ | 182/363 [00:06<00:07, 25.66it/s]
Loading 0: 51%|█████ | 185/363 [00:06<00:08, 22.03it/s]
Loading 0: 52%|█████▏ | 190/363 [00:06<00:06, 27.03it/s]
Loading 0: 53%|█████▎ | 194/363 [00:06<00:07, 24.11it/s]
Loading 0: 55%|█████▍ | 199/363 [00:07<00:05, 28.69it/s]
Loading 0: 56%|█████▌ | 203/363 [00:07<00:06, 25.46it/s]
Loading 0: 58%|█████▊ | 210/363 [00:07<00:04, 31.80it/s]
Loading 0: 59%|█████▉ | 214/363 [00:07<00:04, 29.89it/s]
Loading 0: 60%|██████ | 218/363 [00:07<00:04, 30.26it/s]
Loading 0: 61%|██████▏ | 223/363 [00:07<00:05, 26.63it/s]
Loading 0: 62%|██████▏ | 226/363 [00:08<00:05, 24.63it/s]
Loading 0: 63%|██████▎ | 230/363 [00:08<00:05, 23.15it/s]
Loading 0: 65%|██████▌ | 237/363 [00:08<00:04, 29.56it/s]
Loading 0: 66%|██████▋ | 241/363 [00:08<00:04, 28.25it/s]
Loading 0: 68%|██████▊ | 246/363 [00:08<00:03, 30.56it/s]
Loading 0: 69%|██████▉ | 250/363 [00:08<00:03, 28.96it/s]
Loading 0: 70%|███████ | 255/363 [00:09<00:03, 31.22it/s]
Loading 0: 71%|███████▏ | 259/363 [00:09<00:03, 30.06it/s]
Loading 0: 72%|███████▏ | 263/363 [00:09<00:04, 24.74it/s]
Loading 0: 73%|███████▎ | 266/363 [00:09<00:04, 21.75it/s]
Loading 0: 75%|███████▌ | 273/363 [00:09<00:03, 28.57it/s]
Loading 0: 76%|███████▋ | 277/363 [00:09<00:03, 27.46it/s]
Loading 0: 78%|███████▊ | 282/363 [00:10<00:02, 29.91it/s]
Loading 0: 79%|███████▉ | 286/363 [00:10<00:02, 28.95it/s]
Loading 0: 80%|████████ | 291/363 [00:10<00:02, 30.79it/s]
Loading 0: 81%|████████▏ | 295/363 [00:10<00:02, 29.63it/s]
Loading 0: 82%|████████▏ | 299/363 [00:10<00:02, 30.39it/s]
Loading 0: 84%|████████▎ | 304/363 [00:10<00:02, 26.46it/s]
Loading 0: 85%|████████▍ | 307/363 [00:10<00:02, 24.41it/s]
Loading 0: 86%|████████▌ | 311/363 [00:11<00:02, 22.78it/s]
Loading 0: 88%|████████▊ | 318/363 [00:11<00:01, 29.61it/s]
Loading 0: 89%|████████▊ | 322/363 [00:11<00:01, 29.15it/s]
Loading 0: 90%|█████████ | 327/363 [00:11<00:01, 32.08it/s]
Loading 0: 91%|█████████ | 331/363 [00:11<00:01, 30.44it/s]
Loading 0: 93%|█████████▎| 336/363 [00:11<00:00, 32.46it/s]
Loading 0: 94%|█████████▎| 340/363 [00:12<00:00, 31.38it/s]
Loading 0: 95%|█████████▍| 344/363 [00:18<00:09, 1.97it/s]
Loading 0: 96%|█████████▌| 348/363 [00:19<00:05, 2.65it/s]
Loading 0: 97%|█████████▋| 353/363 [00:19<00:02, 3.85it/s]
Loading 0: 98%|█████████▊| 357/363 [00:19<00:01, 4.97it/s]
Loading 0: 100%|█████████▉| 362/363 [00:19<00:00, 7.08it/s]
Job lizhecheng-more-data-dp-43169-v1-mkmlizer completed after 155.81s with status: succeeded
Stopping job with name lizhecheng-more-data-dp-43169-v1-mkmlizer
Pipeline stage MKMLizer completed in 156.28s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.15s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service lizhecheng-more-data-dp-43169-v1
Waiting for inference service lizhecheng-more-data-dp-43169-v1 to be ready
Inference service lizhecheng-more-data-dp-43169-v1 ready after 120.41023993492126s
Pipeline stage MKMLDeployer completed in 120.90s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.2462732791900635s
Received healthy response to inference request in 1.665909767150879s
Received healthy response to inference request in 1.673184871673584s
Received healthy response to inference request in 1.76530122756958s
Received healthy response to inference request in 1.7555444240570068s
5 requests
0 failed requests
5th percentile: 1.6673647880554199
10th percentile: 1.6688198089599608
20th percentile: 1.671729850769043
30th percentile: 1.6896567821502686
40th percentile: 1.7226006031036376
50th percentile: 1.7555444240570068
60th percentile: 1.7594471454620362
70th percentile: 1.7633498668670655
80th percentile: 1.861495637893677
90th percentile: 2.0538844585418703
95th percentile: 2.150078868865967
99th percentile: 2.227034397125244
mean time: 1.8212427139282226
Pipeline stage StressChecker completed in 10.70s
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 0.62s
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 0.63s
Shutdown handler de-registered
lizhecheng-more-data-dp_43169_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.09s
run pipeline stage %s
Running pipeline stage MKMLProfilerTemplater
Pipeline stage MKMLProfilerTemplater completed in 0.08s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service lizhecheng-more-data-dp-43169-v1-profiler
Waiting for inference service lizhecheng-more-data-dp-43169-v1-profiler to be ready
Inference service lizhecheng-more-data-dp-43169-v1-profiler ready after 120.27691197395325s
Pipeline stage MKMLProfilerDeployer completed in 120.59s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/lizhecheng-more-dataed24fbb17a118f22cc623441b1dd816d-deplomskmw:/code/chaiverse_profiler_1737367629 --namespace tenant-chaiml-guanaco
kubectl exec -it lizhecheng-more-dataed24fbb17a118f22cc623441b1dd816d-deplomskmw --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1737367629 && 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_1737367629/summary.json'
%s, retrying in %s seconds...
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/lizhecheng-more-dataed24fbb17a118f22cc623441b1dd816d-deplomskmw:/code/chaiverse_profiler_1737367633 --namespace tenant-chaiml-guanaco
kubectl exec -it lizhecheng-more-dataed24fbb17a118f22cc623441b1dd816d-deplomskmw --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1737367633 && 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_1737367633/summary.json'
%s, retrying in %s seconds...
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/lizhecheng-more-dataed24fbb17a118f22cc623441b1dd816d-deplomskmw:/code/chaiverse_profiler_1737367635 --namespace tenant-chaiml-guanaco
kubectl exec -it lizhecheng-more-dataed24fbb17a118f22cc623441b1dd816d-deplomskmw --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1737367635 && 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_1737367635/summary.json'
clean up pipeline due to error=ISVCScriptError('Command failed with error: Defaulted container "kserve-container" out of: kserve-container, queue-proxy\nUnable to use a TTY - input is not a terminal or the right kind of file\nTraceback (most recent call last):\n File "/code/chaiverse_profiler_1737367635/profiles.py", line 602, in <module>\n cli()\n File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1157, in __call__\n return self.main(*args, **kwargs)\n File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1078, in main\n rv = self.invoke(ctx)\n File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1688, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1434, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 783, in invoke\n return __callback(*args, **kwargs)\n File "/code/chaiverse_profiler_1737367635/profiles.py", line 104, in profile_batches\n profiles = run_batch_profile_with_auto_batch(target, batches, settings, output, auto_batch)\n File "/code/chaiverse_profiler_1737367635/profiles.py", line 154, in run_batch_profile_with_auto_batch\n profiles = run_batch_profile(target, batches, settings, output)\n File "/code/chaiverse_profiler_1737367635/profiles.py", line 261, in run_batch_profile\n batch_profile = profile_throughput(\n File "/code/chaiverse_profiler_1737367635/profiles.py", line 279, in profile_throughput\n raw = analysis_data.load_raw_data(\nTypeError: load_raw_data() got an unexpected keyword argument \'num_unique_prompts\'\ncommand terminated with exit code 1\n, output: waiting for startup of TargetModel(endpoint=\'localhost\', route=\'GPT-J-6B-lit-v2\', namespace=\'tenant-chaiml-guanaco\', max_characters=9999, reward=False, url_format=\'{endpoint}-predictor-default.{namespace}.knative.ord1.coreweave.cloud\')\n')
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service lizhecheng-more-data-dp-43169-v1-profiler is running
Tearing down inference service lizhecheng-more-data-dp-43169-v1-profiler
Service lizhecheng-more-data-dp-43169-v1-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 1.34s
Shutdown handler de-registered
Shutdown handler registered
run pipeline %s
run pipeline stage %s
Running pipeline stage OfflineFamilyFriendlyScorer
Evaluating %s Family Friendly Score with %s threads
Pipeline stage OfflineFamilyFriendlyScorer completed in 2606.89s
Shutdown handler de-registered
lizhecheng-more-data-dp_43169_v1 status is now inactive due to auto deactivation removed underperforming models
lizhecheng-more-data-dp_43169_v1 status is now torndown due to DeploymentManager action