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-horror-sft-v1-5e4-v7-mkmlizer
Waiting for job on chaiml-horror-sft-v1-5e4-v7-mkmlizer to finish
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
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ _____ __ __ ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ /___/ ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ Version: 0.10.1 ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ https://mk1.ai ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ The license key for the current software has been verified as ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ belonging to: ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ Chai Research Corp. ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ Expiration: 2024-10-15 23:59:59 ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ║ ║
chaiml-horror-sft-v1-5e4-v7-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
chaiml-horror-sft-v1-5e4-v7-mkmlizer: Downloaded to shared memory in 33.471s
chaiml-horror-sft-v1-5e4-v7-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpwftfytyk, device:0
chaiml-horror-sft-v1-5e4-v7-mkmlizer: Saving flywheel model at /dev/shm/model_cache
chaiml-horror-sft-v1-5e4-v7-mkmlizer: quantized model in 35.815s
chaiml-horror-sft-v1-5e4-v7-mkmlizer: Processed model ChaiML/Horror-SFT-v1-5e4 in 69.286s
chaiml-horror-sft-v1-5e4-v7-mkmlizer: creating bucket guanaco-mkml-models
chaiml-horror-sft-v1-5e4-v7-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
chaiml-horror-sft-v1-5e4-v7-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/chaiml-horror-sft-v1-5e4-v7
chaiml-horror-sft-v1-5e4-v7-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/chaiml-horror-sft-v1-5e4-v7/config.json
chaiml-horror-sft-v1-5e4-v7-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/chaiml-horror-sft-v1-5e4-v7/special_tokens_map.json
chaiml-horror-sft-v1-5e4-v7-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/chaiml-horror-sft-v1-5e4-v7/tokenizer_config.json
chaiml-horror-sft-v1-5e4-v7-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/chaiml-horror-sft-v1-5e4-v7/tokenizer.json
chaiml-horror-sft-v1-5e4-v7-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/chaiml-horror-sft-v1-5e4-v7/flywheel_model.0.safetensors
chaiml-horror-sft-v1-5e4-v7-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 1%|▏ | 5/363 [00:00<00:12, 28.90it/s]
Loading 0: 4%|▎ | 13/363 [00:00<00:07, 49.35it/s]
Loading 0: 5%|▌ | 19/363 [00:00<00:07, 45.75it/s]
Loading 0: 7%|▋ | 24/363 [00:00<00:07, 44.40it/s]
Loading 0: 9%|▊ | 31/363 [00:00<00:06, 51.07it/s]
Loading 0: 10%|█ | 37/363 [00:00<00:06, 47.46it/s]
Loading 0: 12%|█▏ | 42/363 [00:00<00:07, 45.46it/s]
Loading 0: 13%|█▎ | 49/363 [00:01<00:06, 49.81it/s]
Loading 0: 15%|█▌ | 55/363 [00:01<00:06, 45.77it/s]
Loading 0: 17%|█▋ | 61/363 [00:01<00:08, 34.52it/s]
Loading 0: 18%|█▊ | 65/363 [00:01<00:08, 33.39it/s]
Loading 0: 20%|█▉ | 71/363 [00:01<00:07, 38.99it/s]
Loading 0: 21%|██ | 76/363 [00:01<00:07, 40.55it/s]
Loading 0: 22%|██▏ | 81/363 [00:01<00:06, 41.89it/s]
Loading 0: 24%|██▎ | 86/363 [00:02<00:06, 42.27it/s]
Loading 0: 25%|██▌ | 91/363 [00:02<00:07, 35.54it/s]
Loading 0: 27%|██▋ | 98/363 [00:02<00:06, 42.95it/s]
Loading 0: 28%|██▊ | 103/363 [00:02<00:06, 42.59it/s]
Loading 0: 30%|███ | 110/363 [00:02<00:05, 43.76it/s]
Loading 0: 32%|███▏ | 115/363 [00:02<00:05, 44.74it/s]
Loading 0: 33%|███▎ | 120/363 [00:02<00:05, 42.55it/s]
Loading 0: 35%|███▍ | 126/363 [00:02<00:05, 45.83it/s]
Loading 0: 36%|███▋ | 132/363 [00:03<00:05, 42.86it/s]
Loading 0: 38%|███▊ | 137/363 [00:03<00:05, 42.25it/s]
Loading 0: 39%|███▉ | 142/363 [00:03<00:06, 32.18it/s]
Loading 0: 40%|████ | 146/363 [00:03<00:06, 33.32it/s]
Loading 0: 41%|████▏ | 150/363 [00:03<00:06, 32.25it/s]
Loading 0: 43%|████▎ | 157/363 [00:03<00:05, 39.24it/s]
Loading 0: 45%|████▍ | 163/363 [00:03<00:05, 39.46it/s]
Loading 0: 46%|████▋ | 168/363 [00:04<00:04, 39.22it/s]
Loading 0: 48%|████▊ | 175/363 [00:04<00:04, 44.45it/s]
Loading 0: 50%|████▉ | 180/363 [00:04<00:04, 45.45it/s]
Loading 0: 51%|█████ | 185/363 [00:04<00:04, 38.41it/s]
Loading 0: 53%|█████▎ | 193/363 [00:04<00:03, 46.38it/s]
Loading 0: 55%|█████▍ | 199/363 [00:04<00:03, 44.13it/s]
Loading 0: 56%|█████▌ | 204/363 [00:04<00:03, 42.62it/s]
Loading 0: 58%|█████▊ | 211/363 [00:05<00:03, 47.63it/s]
Loading 0: 60%|█████▉ | 217/363 [00:05<00:03, 44.10it/s]
Loading 0: 61%|██████▏ | 223/363 [00:05<00:04, 34.55it/s]
Loading 0: 63%|██████▎ | 227/363 [00:05<00:03, 34.57it/s]
Loading 0: 64%|██████▎ | 231/363 [00:05<00:03, 33.55it/s]
Loading 0: 66%|██████▌ | 238/363 [00:05<00:03, 40.15it/s]
Loading 0: 67%|██████▋ | 244/363 [00:05<00:02, 40.06it/s]
Loading 0: 69%|██████▊ | 249/363 [00:06<00:02, 39.85it/s]
Loading 0: 70%|███████ | 255/363 [00:06<00:02, 43.55it/s]
Loading 0: 72%|███████▏ | 260/363 [00:06<00:02, 43.42it/s]
Loading 0: 73%|███████▎ | 265/363 [00:06<00:02, 44.00it/s]
Loading 0: 75%|███████▍ | 271/363 [00:06<00:02, 42.66it/s]
Loading 0: 76%|███████▌ | 276/363 [00:06<00:02, 41.64it/s]
Loading 0: 78%|███████▊ | 283/363 [00:06<00:01, 46.99it/s]
Loading 0: 80%|███████▉ | 289/363 [00:06<00:01, 43.71it/s]
Loading 0: 81%|████████ | 294/363 [00:07<00:01, 42.45it/s]
Loading 0: 82%|████████▏ | 299/363 [00:07<00:01, 43.76it/s]
Loading 0: 84%|████████▎ | 304/363 [00:13<00:23, 2.52it/s]
Loading 0: 85%|████████▍ | 308/363 [00:14<00:16, 3.27it/s]
Loading 0: 86%|████████▌ | 312/363 [00:14<00:12, 4.25it/s]
Loading 0: 88%|████████▊ | 320/363 [00:14<00:06, 7.08it/s]
Loading 0: 90%|████████▉ | 326/363 [00:14<00:03, 9.51it/s]
Loading 0: 91%|█████████ | 331/363 [00:14<00:02, 12.04it/s]
Loading 0: 93%|█████████▎| 338/363 [00:14<00:01, 16.80it/s]
Loading 0: 95%|█████████▍| 344/363 [00:14<00:00, 20.32it/s]
Loading 0: 96%|█████████▌| 349/363 [00:14<00:00, 23.27it/s]
Loading 0: 98%|█████████▊| 356/363 [00:15<00:00, 29.63it/s]
Loading 0: 100%|█████████▉| 362/363 [00:15<00:00, 32.13it/s]
Job chaiml-horror-sft-v1-5e4-v7-mkmlizer completed after 94.6s with status: succeeded
Stopping job with name chaiml-horror-sft-v1-5e4-v7-mkmlizer
Pipeline stage MKMLizer completed in 95.67s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.08s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service chaiml-horror-sft-v1-5e4-v7
Waiting for inference service chaiml-horror-sft-v1-5e4-v7 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
Inference service chaiml-horror-sft-v1-5e4-v7 ready after 141.44819021224976s
Pipeline stage MKMLDeployer completed in 141.98s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.251434564590454s
Received healthy response to inference request in 1.7478055953979492s
Received healthy response to inference request in 1.6548917293548584s
Received healthy response to inference request in 1.4757037162780762s
Received healthy response to inference request in 1.6144981384277344s
5 requests
0 failed requests
5th percentile: 1.5034626007080079
10th percentile: 1.5312214851379395
20th percentile: 1.5867392539978027
30th percentile: 1.622576856613159
40th percentile: 1.6387342929840087
50th percentile: 1.6548917293548584
60th percentile: 1.6920572757720946
70th percentile: 1.729222822189331
80th percentile: 1.8485313892364503
90th percentile: 2.0499829769134523
95th percentile: 2.150708770751953
99th percentile: 2.231289405822754
mean time: 1.7488667488098144
Pipeline stage StressChecker completed in 10.71s
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 6.28s
Shutdown handler de-registered
chaiml-horror-sft-v1-5e4_v7 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.12s
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 chaiml-horror-sft-v1-5e4-v7-profiler
Waiting for inference service chaiml-horror-sft-v1-5e4-v7-profiler to be ready
Inference service chaiml-horror-sft-v1-5e4-v7-profiler ready after 140.40094327926636s
Pipeline stage MKMLProfilerDeployer completed in 140.77s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/chaiml-horror-sft-v1-5e4-v7-profiler-predictor-00001-deplo9blr8:/code/chaiverse_profiler_1725558506 --namespace tenant-chaiml-guanaco
kubectl exec -it chaiml-horror-sft-v1-5e4-v7-profiler-predictor-00001-deplo9blr8 --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1725558506 && python profiles.py profile --best_of_n 4 --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_1725558506/summary.json'
kubectl exec -it chaiml-horror-sft-v1-5e4-v7-profiler-predictor-00001-deplo9blr8 --namespace tenant-chaiml-guanaco -- bash -c 'cat /code/chaiverse_profiler_1725558506/summary.json'
Pipeline stage MKMLProfilerRunner completed in 953.37s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service chaiml-horror-sft-v1-5e4-v7-profiler is running
Tearing down inference service chaiml-horror-sft-v1-5e4-v7-profiler
Service chaiml-horror-sft-v1-5e4-v7-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 1.73s
Shutdown handler de-registered
chaiml-horror-sft-v1-5e4_v7 status is now inactive due to auto deactivation removed underperforming models
chaiml-horror-sft-v1-5e4_v7 status is now torndown due to DeploymentManager action