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 chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer
Waiting for job on chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer to finish
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ _____ __ __ ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ /___/ ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ Version: 0.12.8 ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ https://mk1.ai ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ The license key for the current software has been verified as ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ belonging to: ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ Chai Research Corp. ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ Expiration: 2028-03-31 23:59:59 ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ║ ║
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
Retrying (%r) after connection broken by '%r': %s
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: Downloaded to shared memory in 61.610s
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmp3wawan05, device:0
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: Saving flywheel model at /dev/shm/model_cache
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: quantized model in 54.408s
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: Processed model ChaiML/exp316-simpo-ft-s3-simpofullv1-1360-ff4kexp3 in 116.019s
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: creating bucket guanaco-mkml-models
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/chaiml-exp316-simpo-ft-s-4491-v5/config.json
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/chaiml-exp316-simpo-ft-s-4491-v5/special_tokens_map.json
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/chaiml-exp316-simpo-ft-s-4491-v5/tokenizer_config.json
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/chaiml-exp316-simpo-ft-s-4491-v5/tokenizer.json
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: cp /dev/shm/model_cache/flywheel_model.1.safetensors s3://guanaco-mkml-models/chaiml-exp316-simpo-ft-s-4491-v5/flywheel_model.1.safetensors
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/chaiml-exp316-simpo-ft-s-4491-v5/flywheel_model.0.safetensors
chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 1%| | 4/363 [00:00<00:09, 38.15it/s]
Loading 0: 2%|▏ | 8/363 [00:00<00:11, 29.82it/s]
Loading 0: 3%|▎ | 12/363 [00:00<00:11, 31.68it/s]
Loading 0: 4%|▍ | 16/363 [00:00<00:12, 28.17it/s]
Loading 0: 6%|▌ | 21/363 [00:00<00:10, 31.85it/s]
Loading 0: 7%|▋ | 25/363 [00:00<00:11, 29.07it/s]
Loading 0: 9%|▉ | 32/363 [00:00<00:09, 34.60it/s]
Loading 0: 10%|▉ | 36/363 [00:01<00:15, 21.04it/s]
Loading 0: 11%|█ | 40/363 [00:01<00:13, 23.95it/s]
Loading 0: 12%|█▏ | 44/363 [00:01<00:12, 25.27it/s]
Loading 0: 13%|█▎ | 48/363 [00:01<00:11, 27.22it/s]
Loading 0: 14%|█▍ | 52/363 [00:01<00:11, 26.16it/s]
Loading 0: 16%|█▌ | 57/363 [00:02<00:10, 28.42it/s]
Loading 0: 17%|█▋ | 61/363 [00:02<00:11, 27.10it/s]
Loading 0: 18%|█▊ | 65/363 [00:02<00:10, 27.89it/s]
Loading 0: 19%|█▉ | 70/363 [00:02<00:11, 24.89it/s]
Loading 0: 20%|██ | 73/363 [00:02<00:13, 21.36it/s]
Loading 0: 22%|██▏ | 79/363 [00:02<00:10, 26.45it/s]
Loading 0: 23%|██▎ | 82/363 [00:03<00:11, 24.91it/s]
Loading 0: 24%|██▎ | 86/363 [00:03<00:10, 26.56it/s]
Loading 0: 25%|██▍ | 89/363 [00:03<00:10, 26.82it/s]
Loading 0: 25%|██▌ | 92/363 [00:03<00:12, 21.37it/s]
Loading 0: 27%|██▋ | 97/363 [00:03<00:10, 26.58it/s]
Loading 0: 28%|██▊ | 100/363 [00:03<00:09, 26.80it/s]
Loading 0: 28%|██▊ | 103/363 [00:03<00:09, 26.28it/s]
Loading 0: 29%|██▉ | 107/363 [00:04<00:12, 21.15it/s]
Loading 0: 31%|███ | 112/363 [00:04<00:10, 24.63it/s]
Loading 0: 32%|███▏ | 115/363 [00:04<00:10, 24.55it/s]
Loading 0: 33%|███▎ | 120/363 [00:04<00:08, 27.01it/s]
Loading 0: 34%|███▍ | 123/363 [00:04<00:09, 24.53it/s]
Loading 0: 36%|███▌ | 129/363 [00:04<00:08, 29.07it/s]
Loading 0: 36%|███▋ | 132/363 [00:05<00:09, 25.56it/s]
Loading 0: 38%|███▊ | 138/363 [00:05<00:07, 29.17it/s]
Loading 0: 39%|███▉ | 141/363 [00:05<00:08, 25.69it/s]
Loading 0: 40%|███▉ | 145/363 [00:05<00:07, 28.56it/s]
Loading 0: 41%|████▏ | 150/363 [00:05<00:09, 23.40it/s]
Loading 0: 42%|████▏ | 153/363 [00:05<00:10, 20.17it/s]
Loading 0: 43%|████▎ | 157/363 [00:06<00:08, 23.25it/s]
Loading 0: 44%|████▍ | 160/363 [00:06<00:08, 23.35it/s]
Loading 0: 45%|████▌ | 165/363 [00:06<00:07, 25.98it/s]
Loading 0: 46%|████▋ | 168/363 [00:06<00:08, 23.29it/s]
Loading 0: 48%|████▊ | 174/363 [00:06<00:06, 27.42it/s]
Loading 0: 49%|████▉ | 177/363 [00:06<00:07, 24.66it/s]
Loading 0: 50%|█████ | 182/363 [00:07<00:06, 26.90it/s]
Loading 0: 52%|█████▏ | 187/363 [00:07<00:07, 23.67it/s]
Loading 0: 52%|█████▏ | 190/363 [00:07<00:07, 21.64it/s]
Loading 0: 53%|█████▎ | 193/363 [00:07<00:07, 22.82it/s]
Loading 0: 54%|█████▍ | 196/363 [00:07<00:07, 23.47it/s]
Loading 0: 55%|█████▌ | 200/363 [00:22<00:06, 23.47it/s]
Loading 0: 55%|█████▌ | 201/363 [00:22<03:00, 1.12s/it]
Loading 0: 56%|█████▌ | 203/363 [00:22<02:29, 1.07it/s]
Loading 0: 57%|█████▋ | 208/363 [00:22<01:30, 1.72it/s]
Loading 0: 58%|█████▊ | 211/363 [00:22<01:09, 2.19it/s]
Loading 0: 59%|█████▉ | 214/363 [00:22<00:51, 2.88it/s]
Loading 0: 60%|██████ | 218/363 [00:22<00:35, 4.10it/s]
Loading 0: 61%|██████ | 221/363 [00:23<00:27, 5.23it/s]
Loading 0: 62%|██████▏ | 224/363 [00:23<00:22, 6.26it/s]
Loading 0: 63%|██████▎ | 229/363 [00:23<00:14, 9.25it/s]
Loading 0: 64%|██████▍ | 232/363 [00:23<00:11, 11.00it/s]
Loading 0: 65%|██████▌ | 237/363 [00:23<00:08, 14.86it/s]
Loading 0: 66%|██████▌ | 240/363 [00:23<00:07, 15.60it/s]
Loading 0: 68%|██████▊ | 246/363 [00:24<00:05, 20.77it/s]
Loading 0: 69%|██████▊ | 249/363 [00:24<00:05, 20.37it/s]
Loading 0: 70%|███████ | 255/363 [00:24<00:04, 25.35it/s]
Loading 0: 71%|███████▏ | 259/363 [00:24<00:04, 25.10it/s]
Loading 0: 73%|███████▎ | 264/363 [00:24<00:03, 29.89it/s]
Loading 0: 74%|███████▍ | 268/363 [00:24<00:04, 22.82it/s]
Loading 0: 75%|███████▍ | 271/363 [00:25<00:04, 21.38it/s]
Loading 0: 75%|███████▌ | 274/363 [00:25<00:03, 22.72it/s]
Loading 0: 76%|███████▋ | 277/363 [00:25<00:03, 23.29it/s]
Loading 0: 78%|███████▊ | 282/363 [00:25<00:03, 26.47it/s]
Loading 0: 79%|███████▊ | 285/363 [00:25<00:03, 23.84it/s]
Loading 0: 80%|████████ | 291/363 [00:25<00:02, 28.38it/s]
Loading 0: 81%|████████ | 294/363 [00:25<00:02, 25.34it/s]
Loading 0: 82%|████████▏ | 299/363 [00:26<00:02, 27.25it/s]
Loading 0: 84%|████████▎ | 304/363 [00:26<00:02, 23.24it/s]
Loading 0: 85%|████████▍ | 307/363 [00:26<00:02, 21.54it/s]
Loading 0: 85%|████████▌ | 310/363 [00:26<00:02, 22.56it/s]
Loading 0: 86%|████████▌ | 313/363 [00:26<00:02, 23.06it/s]
Loading 0: 88%|████████▊ | 318/363 [00:26<00:01, 26.20it/s]
Loading 0: 88%|████████▊ | 321/363 [00:27<00:01, 23.68it/s]
Loading 0: 90%|█████████ | 327/363 [00:27<00:01, 28.41it/s]
Loading 0: 91%|█████████ | 330/363 [00:27<00:01, 25.50it/s]
Loading 0: 92%|█████████▏| 335/363 [00:27<00:01, 27.76it/s]
Loading 0: 93%|█████████▎| 338/363 [00:27<00:00, 25.95it/s]
Loading 0: 94%|█████████▍| 341/363 [00:34<00:13, 1.68it/s]
Loading 0: 96%|█████████▌| 347/363 [00:34<00:05, 2.79it/s]
Loading 0: 96%|█████████▋| 350/363 [00:34<00:03, 3.49it/s]
Loading 0: 98%|█████████▊| 355/363 [00:34<00:01, 5.16it/s]
Loading 0: 99%|█████████▉| 359/363 [00:35<00:00, 6.68it/s]
Job chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer completed after 144.94s with status: succeeded
Stopping job with name chaiml-exp316-simpo-ft-s-4491-v5-mkmlizer
Pipeline stage MKMLizer completed in 145.43s
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 chaiml-exp316-simpo-ft-s-4491-v5
Waiting for inference service chaiml-exp316-simpo-ft-s-4491-v5 to be ready
Inference service chaiml-exp316-simpo-ft-s-4491-v5 ready after 140.60579538345337s
Pipeline stage MKMLDeployer completed in 141.13s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.8796026706695557s
Received healthy response to inference request in 2.0157454013824463s
Received healthy response to inference request in 1.9880831241607666s
Received healthy response to inference request in 1.9553425312042236s
Received healthy response to inference request in 2.4488651752471924s
5 requests
0 failed requests
5th percentile: 1.9618906497955322
10th percentile: 1.9684387683868407
20th percentile: 1.981535005569458
30th percentile: 1.9936155796051025
40th percentile: 2.0046804904937745
50th percentile: 2.0157454013824463
60th percentile: 2.188993310928345
70th percentile: 2.362241220474243
80th percentile: 2.535012674331665
90th percentile: 2.7073076725006104
95th percentile: 2.793455171585083
99th percentile: 2.862373170852661
mean time: 2.257527780532837
Pipeline stage StressChecker completed in 12.44s
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.74s
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.76s
Shutdown handler de-registered
chaiml-exp316-simpo-ft-s_4491_v5 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.10s
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 chaiml-exp316-simpo-ft-s-4491-v5-profiler
Waiting for inference service chaiml-exp316-simpo-ft-s-4491-v5-profiler to be ready
Inference service chaiml-exp316-simpo-ft-s-4491-v5-profiler ready after 141.2431125640869s
Pipeline stage MKMLProfilerDeployer completed in 141.76s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/chaiml-exp316-simpo-e255b0dd30e7219857232eb523e7a8c2-deplo7q78j:/code/chaiverse_profiler_1747371548 --namespace tenant-chaiml-guanaco
kubectl exec -it chaiml-exp316-simpo-e255b0dd30e7219857232eb523e7a8c2-deplo7q78j --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1747371548 && 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_1747371548/summary.json'
Received signal 15, running shutdown handler
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service chaiml-exp316-simpo-ft-s-4491-v5-profiler is running
Tearing down inference service chaiml-exp316-simpo-ft-s-4491-v5-profiler
Service chaiml-exp316-simpo-ft-s-4491-v5-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 2.05s
Shutdown handler de-registered
chaiml-exp316-simpo-ft-s_4491_v5 status is now torndown due to DeploymentManager action