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 randomforest1024-v25-v11-mkmlizer
Waiting for job on randomforest1024-v25-v11-mkmlizer to finish
randomforest1024-v25-v11-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
randomforest1024-v25-v11-mkmlizer: ║ _____ __ __ ║
randomforest1024-v25-v11-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
randomforest1024-v25-v11-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
randomforest1024-v25-v11-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
randomforest1024-v25-v11-mkmlizer: ║ /___/ ║
randomforest1024-v25-v11-mkmlizer: ║ ║
randomforest1024-v25-v11-mkmlizer: ║ Version: 0.11.12 ║
randomforest1024-v25-v11-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
randomforest1024-v25-v11-mkmlizer: ║ https://mk1.ai ║
randomforest1024-v25-v11-mkmlizer: ║ ║
randomforest1024-v25-v11-mkmlizer: ║ The license key for the current software has been verified as ║
randomforest1024-v25-v11-mkmlizer: ║ belonging to: ║
randomforest1024-v25-v11-mkmlizer: ║ ║
randomforest1024-v25-v11-mkmlizer: ║ Chai Research Corp. ║
randomforest1024-v25-v11-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
randomforest1024-v25-v11-mkmlizer: ║ Expiration: 2025-04-15 23:59:59 ║
randomforest1024-v25-v11-mkmlizer: ║ ║
randomforest1024-v25-v11-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
randomforest1024-v25-v11-mkmlizer: Downloaded to shared memory in 35.377s
randomforest1024-v25-v11-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpirm6py7c, device:0
randomforest1024-v25-v11-mkmlizer: Saving flywheel model at /dev/shm/model_cache
randomforest1024-v25-v11-mkmlizer: quantized model in 35.679s
randomforest1024-v25-v11-mkmlizer: Processed model RandomForest1024/V25 in 71.056s
randomforest1024-v25-v11-mkmlizer: creating bucket guanaco-mkml-models
randomforest1024-v25-v11-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
randomforest1024-v25-v11-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/randomforest1024-v25-v11/flywheel_model.0.safetensors
randomforest1024-v25-v11-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 1%|▏ | 5/363 [00:00<00:10, 34.56it/s]
Loading 0: 4%|▎ | 13/363 [00:00<00:06, 54.57it/s]
Loading 0: 5%|▌ | 19/363 [00:00<00:07, 47.99it/s]
Loading 0: 7%|▋ | 24/363 [00:00<00:07, 46.69it/s]
Loading 0: 9%|▊ | 31/363 [00:00<00:06, 52.91it/s]
Loading 0: 10%|█ | 37/363 [00:00<00:06, 48.56it/s]
Loading 0: 12%|█▏ | 42/363 [00:00<00:06, 47.30it/s]
Loading 0: 13%|█▎ | 49/363 [00:00<00:06, 52.13it/s]
Loading 0: 15%|█▌ | 55/363 [00:01<00:06, 48.82it/s]
Loading 0: 17%|█▋ | 61/363 [00:01<00:08, 33.86it/s]
Loading 0: 18%|█▊ | 66/363 [00:01<00:08, 35.37it/s]
Loading 0: 20%|█▉ | 72/363 [00:01<00:07, 39.14it/s]
Loading 0: 21%|██▏ | 78/363 [00:01<00:07, 39.22it/s]
Loading 0: 23%|██▎ | 83/363 [00:01<00:07, 38.67it/s]
Loading 0: 25%|██▍ | 89/363 [00:02<00:06, 42.79it/s]
Loading 0: 26%|██▌ | 94/363 [00:02<00:06, 42.65it/s]
Loading 0: 27%|██▋ | 99/363 [00:02<00:06, 42.76it/s]
Loading 0: 29%|██▊ | 104/363 [00:02<00:05, 44.18it/s]
Loading 0: 30%|███ | 109/363 [00:02<00:05, 44.95it/s]
Loading 0: 31%|███▏ | 114/363 [00:02<00:06, 37.99it/s]
Loading 0: 33%|███▎ | 119/363 [00:02<00:06, 36.21it/s]
Loading 0: 34%|███▍ | 125/363 [00:02<00:05, 41.13it/s]
Loading 0: 36%|███▌ | 130/363 [00:03<00:05, 39.67it/s]
Loading 0: 37%|███▋ | 135/363 [00:03<00:05, 39.70it/s]
Loading 0: 39%|███▉ | 141/363 [00:03<00:05, 39.34it/s]
Loading 0: 40%|████ | 146/363 [00:03<00:08, 26.58it/s]
Loading 0: 41%|████▏ | 150/363 [00:03<00:07, 27.61it/s]
Loading 0: 43%|████▎ | 156/363 [00:03<00:06, 33.66it/s]
Loading 0: 44%|████▍ | 161/363 [00:04<00:05, 36.79it/s]
Loading 0: 46%|████▌ | 166/363 [00:04<00:05, 38.82it/s]
Loading 0: 47%|████▋ | 172/363 [00:04<00:04, 39.02it/s]
Loading 0: 49%|████▉ | 177/363 [00:04<00:04, 39.83it/s]
Loading 0: 51%|█████ | 184/363 [00:04<00:03, 45.37it/s]
Loading 0: 52%|█████▏ | 190/363 [00:04<00:04, 43.03it/s]
Loading 0: 54%|█████▎ | 195/363 [00:04<00:03, 42.20it/s]
Loading 0: 55%|█████▌ | 201/363 [00:04<00:03, 46.08it/s]
Loading 0: 57%|█████▋ | 206/363 [00:05<00:03, 46.26it/s]
Loading 0: 58%|█████▊ | 211/363 [00:05<00:03, 46.14it/s]
Loading 0: 60%|█████▉ | 217/363 [00:05<00:03, 43.12it/s]
Loading 0: 61%|██████▏ | 223/363 [00:05<00:04, 29.96it/s]
Loading 0: 63%|██████▎ | 227/363 [00:05<00:04, 30.76it/s]
Loading 0: 64%|██████▎ | 231/363 [00:05<00:04, 30.86it/s]
Loading 0: 65%|██████▌ | 237/363 [00:05<00:03, 36.40it/s]
Loading 0: 67%|██████▋ | 242/363 [00:06<00:03, 38.47it/s]
Loading 0: 68%|██████▊ | 247/363 [00:06<00:02, 39.17it/s]
Loading 0: 70%|██████▉ | 253/363 [00:06<00:02, 38.63it/s]
Loading 0: 71%|███████ | 258/363 [00:06<00:02, 38.46it/s]
Loading 0: 73%|███████▎ | 264/363 [00:06<00:02, 43.06it/s]
Loading 0: 74%|███████▍ | 269/363 [00:06<00:02, 43.65it/s]
Loading 0: 75%|███████▌ | 274/363 [00:06<00:02, 44.42it/s]
Loading 0: 77%|███████▋ | 280/363 [00:06<00:01, 42.32it/s]
Loading 0: 79%|███████▊ | 285/363 [00:07<00:01, 41.23it/s]
Loading 0: 80%|████████ | 291/363 [00:07<00:01, 44.77it/s]
Loading 0: 82%|████████▏ | 296/363 [00:07<00:01, 43.20it/s]
Loading 0: 83%|████████▎ | 302/363 [00:07<00:01, 47.31it/s]
Loading 0: 85%|████████▍ | 307/363 [00:14<00:21, 2.56it/s]
Loading 0: 86%|████████▌ | 312/363 [00:14<00:14, 3.49it/s]
Loading 0: 88%|████████▊ | 320/363 [00:14<00:07, 5.59it/s]
Loading 0: 90%|████████▉ | 326/363 [00:14<00:04, 7.53it/s]
Loading 0: 91%|█████████ | 331/363 [00:14<00:03, 9.63it/s]
Loading 0: 93%|█████████▎| 338/363 [00:14<00:01, 13.63it/s]
Loading 0: 95%|█████████▍| 344/363 [00:14<00:01, 16.94it/s]
Loading 0: 96%|█████████▌| 349/363 [00:15<00:00, 20.17it/s]
Loading 0: 98%|█████████▊| 356/363 [00:15<00:00, 26.31it/s]
Loading 0: 100%|█████████▉| 362/363 [00:15<00:00, 29.41it/s]
Job randomforest1024-v25-v11-mkmlizer completed after 111.52s with status: succeeded
Stopping job with name randomforest1024-v25-v11-mkmlizer
Pipeline stage MKMLizer completed in 111.99s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.16s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service randomforest1024-v25-v11
Waiting for inference service randomforest1024-v25-v11 to be ready
Inference service randomforest1024-v25-v11 ready after 200.71337175369263s
Pipeline stage MKMLDeployer completed in 201.22s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.3331990242004395s
Received healthy response to inference request in 1.6255064010620117s
Received healthy response to inference request in 1.8551127910614014s
Received healthy response to inference request in 1.9296464920043945s
Received healthy response to inference request in 1.6069862842559814s
5 requests
0 failed requests
5th percentile: 1.6106903076171875
10th percentile: 1.6143943309783935
20th percentile: 1.6218023777008057
30th percentile: 1.6714276790618896
40th percentile: 1.7632702350616456
50th percentile: 1.8551127910614014
60th percentile: 1.8849262714385986
70th percentile: 1.9147397518157958
80th percentile: 2.0103569984436036
90th percentile: 2.1717780113220213
95th percentile: 2.2524885177612304
99th percentile: 2.3170569229125975
mean time: 1.8700901985168457
Pipeline stage StressChecker completed in 10.64s
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 1.03s
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.67s
Shutdown handler de-registered
randomforest1024-v25_v11 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.09s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeployer
Creating inference service randomforest1024-v25-v11-profiler
Waiting for inference service randomforest1024-v25-v11-profiler to be ready
Inference service randomforest1024-v25-v11-profiler ready after 200.78384828567505s
Pipeline stage MKMLProfilerDeployer completed in 201.18s
run pipeline stage %s
Running pipeline stage MKMLProfilerRunner
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/randomforest1024-v25-v11-profiler-predictor-00001-deploymezwlc9:/code/chaiverse_profiler_1739216480 --namespace tenant-chaiml-guanaco
kubectl exec -it randomforest1024-v25-v11-profiler-predictor-00001-deploymezwlc9 --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1739216480 && 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_1739216480/summary.json'
%s, retrying in %s seconds...
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/randomforest1024-v25-v11-profiler-predictor-00001-deploymezwlc9:/code/chaiverse_profiler_1739216486 --namespace tenant-chaiml-guanaco
kubectl exec -it randomforest1024-v25-v11-profiler-predictor-00001-deploymezwlc9 --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1739216486 && 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_1739216486/summary.json'
%s, retrying in %s seconds...
kubectl cp /code/guanaco/guanaco_inference_services/src/inference_scripts tenant-chaiml-guanaco/randomforest1024-v25-v11-profiler-predictor-00001-deploymezwlc9:/code/chaiverse_profiler_1739216490 --namespace tenant-chaiml-guanaco
kubectl exec -it randomforest1024-v25-v11-profiler-predictor-00001-deploymezwlc9 --namespace tenant-chaiml-guanaco -- sh -c 'cd /code/chaiverse_profiler_1739216490 && 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_1739216490/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_1739216490/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_1739216490/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_1739216490/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_1739216490/profiles.py", line 261, in run_batch_profile\n batch_profile = profile_throughput(\n File "/code/chaiverse_profiler_1739216490/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 randomforest1024-v25-v11-profiler is running
Tearing down inference service randomforest1024-v25-v11-profiler
Service randomforest1024-v25-v11-profiler has been torndown
Pipeline stage MKMLProfilerDeleter completed in 2.04s
Shutdown handler de-registered
Shutdown handler registered
run pipeline %s
run pipeline stage %s
Running pipeline stage MKMLProfilerDeleter
Checking if service randomforest1024-v25-v11-profiler is running
Skipping teardown as no inference service was found
Pipeline stage MKMLProfilerDeleter completed in 2.23s
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 randomforest1024-v25-v11-profiler
Waiting for inference service randomforest1024-v25-v11-profiler to be ready
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 2551.56s
Shutdown handler de-registered
randomforest1024-v25_v11 status is now inactive due to auto deactivation removed underperforming models
randomforest1024-v25_v11 status is now torndown due to DeploymentManager action
randomforest1024-v25_v11 status is now torndown due to DeploymentManager action
randomforest1024-v25_v11 status is now torndown due to DeploymentManager action