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 nischaydnk-exp32-mistra-66443-v4-mkmlizer
Waiting for job on nischaydnk-exp32-mistra-66443-v4-mkmlizer to finish
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ _____ __ __ ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ /___/ ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ Version: 0.12.8 ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ https://mk1.ai ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ The license key for the current software has been verified as ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ belonging to: ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ Chai Research Corp. ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ Expiration: 2025-04-15 23:59:59 ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ║ ║
nischaydnk-exp32-mistra-66443-v4-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
nischaydnk-exp32-mistra-66443-v4-mkmlizer: Downloaded to shared memory in 59.605s
nischaydnk-exp32-mistra-66443-v4-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpjzlzuufh, device:0
nischaydnk-exp32-mistra-66443-v4-mkmlizer: Saving flywheel model at /dev/shm/model_cache
Failed to get response for submission nischaydnk-exp32-mistra_66443_v3: HTTPConnectionPool(host='nischaydnk-exp32-mistra-66443-v3-predictor.tenant-chaiml-guanaco.k.chaiverse.com', port=80): Read timed out. (read timeout=12.0)
nischaydnk-exp32-mistra-66443-v4-mkmlizer: quantized model in 53.149s
nischaydnk-exp32-mistra-66443-v4-mkmlizer: Processed model NischayDnk/exp32-Mistral24B-SFT-megachaimix-e2 in 112.754s
nischaydnk-exp32-mistra-66443-v4-mkmlizer: creating bucket guanaco-mkml-models
nischaydnk-exp32-mistra-66443-v4-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
nischaydnk-exp32-mistra-66443-v4-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/nischaydnk-exp32-mistra-66443-v4
nischaydnk-exp32-mistra-66443-v4-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/nischaydnk-exp32-mistra-66443-v4/config.json
nischaydnk-exp32-mistra-66443-v4-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/nischaydnk-exp32-mistra-66443-v4/special_tokens_map.json
nischaydnk-exp32-mistra-66443-v4-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/nischaydnk-exp32-mistra-66443-v4/tokenizer_config.json
nischaydnk-exp32-mistra-66443-v4-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/nischaydnk-exp32-mistra-66443-v4/tokenizer.json
nischaydnk-exp32-mistra-66443-v4-mkmlizer: cp /dev/shm/model_cache/flywheel_model.1.safetensors s3://guanaco-mkml-models/nischaydnk-exp32-mistra-66443-v4/flywheel_model.1.safetensors
nischaydnk-exp32-mistra-66443-v4-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/nischaydnk-exp32-mistra-66443-v4/flywheel_model.0.safetensors
nischaydnk-exp32-mistra-66443-v4-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 1%| | 4/363 [00:00<00:09, 38.12it/s]
Loading 0: 2%|▏ | 8/363 [00:00<00:11, 30.92it/s]
Loading 0: 3%|▎ | 12/363 [00:00<00:10, 33.25it/s]
Loading 0: 4%|▍ | 16/363 [00:00<00:11, 29.69it/s]
Loading 0: 6%|▌ | 21/363 [00:00<00:10, 32.23it/s]
Loading 0: 7%|▋ | 25/363 [00:00<00:11, 29.85it/s]
Loading 0: 9%|▉ | 32/363 [00:00<00:09, 35.11it/s]
Loading 0: 10%|▉ | 36/363 [00:01<00:15, 21.51it/s]
Loading 0: 11%|█ | 40/363 [00:01<00:13, 24.39it/s]
Loading 0: 12%|█▏ | 44/363 [00:01<00:12, 25.77it/s]
Loading 0: 13%|█▎ | 48/363 [00:01<00:11, 27.65it/s]
Loading 0: 14%|█▍ | 52/363 [00:01<00:11, 27.00it/s]
Loading 0: 16%|█▌ | 57/363 [00:01<00:10, 29.99it/s]
Loading 0: 17%|█▋ | 61/363 [00:02<00:10, 27.95it/s]
Loading 0: 18%|█▊ | 65/363 [00:02<00:10, 28.46it/s]
Loading 0: 19%|█▉ | 70/363 [00:02<00:11, 25.42it/s]
Loading 0: 20%|██ | 73/363 [00:02<00:13, 21.41it/s]
Loading 0: 22%|██▏ | 79/363 [00:02<00:10, 26.92it/s]
Loading 0: 23%|██▎ | 82/363 [00:03<00:10, 26.19it/s]
Loading 0: 24%|██▎ | 86/363 [00:03<00:10, 27.41it/s]
Loading 0: 25%|██▍ | 89/363 [00:03<00:09, 27.69it/s]
Loading 0: 25%|██▌ | 92/363 [00:03<00:12, 22.08it/s]
Loading 0: 27%|██▋ | 99/363 [00:03<00:09, 29.24it/s]
Loading 0: 28%|██▊ | 103/363 [00:03<00:09, 27.80it/s]
Loading 0: 29%|██▉ | 107/363 [00:04<00:10, 23.36it/s]
Loading 0: 31%|███ | 112/363 [00:04<00:09, 26.20it/s]
Loading 0: 32%|███▏ | 115/363 [00:04<00:09, 26.15it/s]
Loading 0: 33%|███▎ | 120/363 [00:04<00:08, 27.83it/s]
Loading 0: 34%|███▍ | 123/363 [00:04<00:09, 24.77it/s]
Loading 0: 36%|███▌ | 129/363 [00:04<00:08, 29.16it/s]
Loading 0: 36%|███▋ | 132/363 [00:04<00:08, 26.42it/s]
Loading 0: 38%|███▊ | 138/363 [00:05<00:07, 30.73it/s]
Loading 0: 39%|███▉ | 142/363 [00:05<00:07, 28.22it/s]
Loading 0: 40%|████ | 147/363 [00:05<00:06, 32.36it/s]
Loading 0: 42%|████▏ | 151/363 [00:05<00:08, 23.97it/s]
Loading 0: 42%|████▏ | 154/363 [00:05<00:09, 22.51it/s]
Loading 0: 43%|████▎ | 157/363 [00:05<00:08, 23.41it/s]
Loading 0: 44%|████▍ | 160/363 [00:05<00:08, 24.08it/s]
Loading 0: 45%|████▌ | 165/363 [00:06<00:07, 27.21it/s]
Loading 0: 46%|████▋ | 168/363 [00:06<00:08, 24.25it/s]
Loading 0: 48%|████▊ | 174/363 [00:06<00:06, 29.03it/s]
Loading 0: 49%|████▉ | 177/363 [00:06<00:07, 25.94it/s]
Loading 0: 50%|█████ | 182/363 [00:06<00:06, 27.94it/s]
Loading 0: 52%|█████▏ | 187/363 [00:07<00:07, 24.46it/s]
Loading 0: 52%|█████▏ | 190/363 [00:07<00:07, 23.04it/s]
Loading 0: 53%|█████▎ | 193/363 [00:07<00:07, 24.00it/s]
Loading 0: 54%|█████▍ | 196/363 [00:07<00:06, 24.42it/s]
Loading 0: 55%|█████▌ | 200/363 [00:21<00:06, 24.42it/s]
Loading 0: 55%|█████▌ | 201/363 [00:21<02:55, 1.08s/it]
Loading 0: 56%|█████▌ | 203/363 [00:21<02:25, 1.10it/s]
Loading 0: 57%|█████▋ | 208/363 [00:21<01:27, 1.77it/s]
Loading 0: 58%|█████▊ | 211/363 [00:21<01:07, 2.26it/s]
Loading 0: 59%|█████▉ | 214/363 [00:22<00:49, 2.98it/s]
Loading 0: 60%|██████ | 218/363 [00:22<00:34, 4.25it/s]
Loading 0: 61%|██████ | 221/363 [00:22<00:26, 5.39it/s]
Loading 0: 62%|██████▏ | 224/363 [00:22<00:21, 6.45it/s]
Loading 0: 63%|██████▎ | 228/363 [00:22<00:14, 9.02it/s]
Loading 0: 64%|██████▎ | 231/363 [00:22<00:12, 10.47it/s]
Loading 0: 65%|██████▌ | 237/363 [00:22<00:08, 15.45it/s]
Loading 0: 66%|██████▌ | 240/363 [00:23<00:07, 16.22it/s]
Loading 0: 68%|██████▊ | 246/363 [00:23<00:05, 21.61it/s]
Loading 0: 69%|██████▉ | 250/363 [00:23<00:05, 22.31it/s]
Loading 0: 70%|███████ | 255/363 [00:23<00:04, 25.50it/s]
Loading 0: 71%|███████▏ | 259/363 [00:23<00:04, 25.15it/s]
Loading 0: 73%|███████▎ | 264/363 [00:23<00:03, 30.06it/s]
Loading 0: 74%|███████▍ | 268/363 [00:24<00:04, 23.12it/s]
Loading 0: 75%|███████▍ | 271/363 [00:24<00:04, 21.84it/s]
Loading 0: 75%|███████▌ | 274/363 [00:24<00:03, 22.93it/s]
Loading 0: 76%|███████▋ | 277/363 [00:24<00:03, 23.25it/s]
Loading 0: 78%|███████▊ | 282/363 [00:24<00:03, 26.37it/s]
Loading 0: 79%|███████▊ | 285/363 [00:24<00:03, 24.20it/s]
Loading 0: 80%|████████ | 291/363 [00:24<00:02, 29.44it/s]
Loading 0: 81%|████████▏ | 295/363 [00:25<00:02, 28.26it/s]
Loading 0: 82%|████████▏ | 299/363 [00:25<00:02, 28.05it/s]
Loading 0: 84%|████████▎ | 304/363 [00:25<00:02, 25.08it/s]
Loading 0: 85%|████████▍ | 307/363 [00:25<00:02, 22.25it/s]
Loading 0: 85%|████████▌ | 310/363 [00:25<00:02, 23.15it/s]
Loading 0: 86%|████████▌ | 313/363 [00:25<00:02, 22.98it/s]
Loading 0: 88%|████████▊ | 318/363 [00:26<00:01, 25.84it/s]
Loading 0: 88%|████████▊ | 321/363 [00:26<00:01, 22.97it/s]
Loading 0: 90%|█████████ | 327/363 [00:26<00:01, 27.85it/s]
Loading 0: 91%|█████████ | 330/363 [00:26<00:01, 25.18it/s]
Loading 0: 92%|█████████▏| 335/363 [00:26<00:01, 27.67it/s]
Loading 0: 93%|█████████▎| 338/363 [00:26<00:00, 26.12it/s]
Loading 0: 94%|█████████▍| 341/363 [00:33<00:13, 1.68it/s]
Loading 0: 96%|█████████▌| 347/363 [00:33<00:05, 2.80it/s]
Loading 0: 96%|█████████▋| 350/363 [00:33<00:03, 3.52it/s]
Loading 0: 98%|█████████▊| 355/363 [00:34<00:01, 5.21it/s]
Loading 0: 99%|█████████▉| 359/363 [00:34<00:00, 6.76it/s]
Job nischaydnk-exp32-mistra-66443-v4-mkmlizer completed after 145.56s with status: succeeded
Stopping job with name nischaydnk-exp32-mistra-66443-v4-mkmlizer
Pipeline stage MKMLizer completed in 146.08s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.14s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service nischaydnk-exp32-mistra-66443-v4
Waiting for inference service nischaydnk-exp32-mistra-66443-v4 to be ready
Inference service nischaydnk-exp32-mistra-66443-v4 ready after 150.52863454818726s
Pipeline stage MKMLDeployer completed in 151.04s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 3.282083749771118s
Received healthy response to inference request in 2.5685155391693115s
Received healthy response to inference request in 2.5719175338745117s
Received healthy response to inference request in 2.4552533626556396s
Received healthy response to inference request in 2.6403019428253174s
5 requests
0 failed requests
5th percentile: 2.477905797958374
10th percentile: 2.5005582332611085
20th percentile: 2.5458631038665773
30th percentile: 2.5691959381103517
40th percentile: 2.5705567359924317
50th percentile: 2.5719175338745117
60th percentile: 2.599271297454834
70th percentile: 2.6266250610351562
80th percentile: 2.7686583042144775
90th percentile: 3.025371026992798
95th percentile: 3.153727388381958
99th percentile: 3.2564124774932863
mean time: 2.70361442565918
Pipeline stage StressChecker completed in 15.06s
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.68s
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.69s
Shutdown handler de-registered
nischaydnk-exp32-mistra_66443_v4 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 nischaydnk-exp32-mistra-66443-v4-profiler
Waiting for inference service nischaydnk-exp32-mistra-66443-v4-profiler to be ready
Inference service nischaydnk-exp32-mistra-66443-v4-profiler ready after 150.59363079071045s
Pipeline stage MKMLProfilerDeployer completed in 151.02s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/nischaydnk-exp32-mis062e8cd6f3a675802ee0191995401cd0-deplotkwmf:/code/chaiverse_profiler_1740741920 --namespace tenant-chaiml-guanaco
kubectl exec -it nischaydnk-exp32-mis062e8cd6f3a675802ee0191995401cd0-deplotkwmf --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1740741920 && 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_1740741920/summary.json'
Shutdown handler registered
run pipeline %s
run pipeline stage %s
Running pipeline stage OfflineFamilyFriendlyScorer
Evaluating %s Family Friendly Score with %s threads
%s, retrying in %s seconds...
Evaluating %s Family Friendly Score with %s threads
Pipeline stage OfflineFamilyFriendlyScorer completed in 3990.93s
Shutdown handler de-registered
nischaydnk-exp32-mistra_66443_v4 status is now inactive due to auto deactivation removed underperforming models
nischaydnk-exp32-mistra_66443_v4 status is now torndown due to DeploymentManager action