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 leosheng-no-repeat-writ-96723-v1-mkmlizer
Waiting for job on leosheng-no-repeat-writ-96723-v1-mkmlizer to finish
leosheng-no-repeat-writ-96723-v1-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ _____ __ __ ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ /___/ ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ Version: 0.11.12 ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ https://mk1.ai ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ The license key for the current software has been verified as ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ belonging to: ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ Chai Research Corp. ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ Expiration: 2025-04-15 23:59:59 ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ║ ║
leosheng-no-repeat-writ-96723-v1-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
leosheng-no-repeat-writ-96723-v1-mkmlizer: Downloaded to shared memory in 35.428s
leosheng-no-repeat-writ-96723-v1-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpym2amjq8, device:0
leosheng-no-repeat-writ-96723-v1-mkmlizer: Saving flywheel model at /dev/shm/model_cache
leosheng-no-repeat-writ-96723-v1-mkmlizer: /opt/conda/lib/python3.10/site-packages/mk1/flywheel/functional/loader.py:55: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
leosheng-no-repeat-writ-96723-v1-mkmlizer: tensors = torch.load(model_shard_filename, map_location=torch.device(self.device), mmap=True)
leosheng-no-repeat-writ-96723-v1-mkmlizer: quantized model in 27.874s
leosheng-no-repeat-writ-96723-v1-mkmlizer: Processed model leosheng/no-repeat-write-reasoning-opus in 63.302s
leosheng-no-repeat-writ-96723-v1-mkmlizer: creating bucket guanaco-mkml-models
leosheng-no-repeat-writ-96723-v1-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
leosheng-no-repeat-writ-96723-v1-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/leosheng-no-repeat-writ-96723-v1
leosheng-no-repeat-writ-96723-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/leosheng-no-repeat-writ-96723-v1/tokenizer_config.json
leosheng-no-repeat-writ-96723-v1-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/leosheng-no-repeat-writ-96723-v1/tokenizer.json
leosheng-no-repeat-writ-96723-v1-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/leosheng-no-repeat-writ-96723-v1/flywheel_model.0.safetensors
leosheng-no-repeat-writ-96723-v1-mkmlizer:
Loading 0: 0%| | 0/291 [00:00<?, ?it/s]
Loading 0: 1%|▏ | 4/291 [00:00<00:07, 39.12it/s]
Loading 0: 4%|▍ | 13/291 [00:00<00:04, 55.93it/s]
Loading 0: 8%|▊ | 22/291 [00:00<00:04, 59.43it/s]
Loading 0: 11%|█ | 31/291 [00:00<00:04, 60.88it/s]
Loading 0: 14%|█▎ | 40/291 [00:00<00:04, 61.11it/s]
Loading 0: 17%|█▋ | 49/291 [00:00<00:03, 61.59it/s]
Loading 0: 20%|█▉ | 58/291 [00:00<00:03, 62.23it/s]
Loading 0: 23%|██▎ | 67/291 [00:01<00:03, 62.20it/s]
Loading 0: 26%|██▌ | 76/291 [00:01<00:03, 62.72it/s]
Loading 0: 29%|██▊ | 83/291 [00:02<00:11, 18.04it/s]
Loading 0: 30%|███ | 88/291 [00:02<00:10, 19.95it/s]
Loading 0: 33%|███▎ | 97/291 [00:02<00:07, 25.67it/s]
Loading 0: 35%|███▌ | 103/291 [00:02<00:06, 29.90it/s]
Loading 0: 38%|███▊ | 112/291 [00:03<00:05, 35.46it/s]
Loading 0: 42%|████▏ | 121/291 [00:03<00:04, 40.24it/s]
Loading 0: 45%|████▍ | 130/291 [00:03<00:03, 41.87it/s]
Loading 0: 48%|████▊ | 139/291 [00:03<00:03, 46.12it/s]
Loading 0: 51%|█████ | 148/291 [00:03<00:02, 49.41it/s]
Loading 0: 54%|█████▍ | 157/291 [00:03<00:02, 52.06it/s]
Loading 0: 57%|█████▋ | 166/291 [00:03<00:02, 55.61it/s]
Loading 0: 60%|██████ | 175/291 [00:04<00:02, 57.90it/s]
Loading 0: 63%|██████▎ | 182/291 [00:04<00:01, 59.90it/s]
Loading 0: 65%|██████▍ | 189/291 [00:05<00:05, 17.67it/s]
Loading 0: 67%|██████▋ | 196/291 [00:05<00:04, 21.48it/s]
Loading 0: 70%|███████ | 205/291 [00:05<00:03, 27.65it/s]
Loading 0: 74%|███████▎ | 214/291 [00:05<00:02, 33.79it/s]
Loading 0: 76%|███████▋ | 222/291 [00:05<00:01, 39.08it/s]
Loading 0: 79%|███████▊ | 229/291 [00:06<00:01, 42.99it/s]
Loading 0: 82%|████████▏ | 238/291 [00:06<00:01, 47.06it/s]
Loading 0: 85%|████████▍ | 247/291 [00:06<00:00, 50.82it/s]
Loading 0: 88%|████████▊ | 256/291 [00:06<00:00, 53.04it/s]
Loading 0: 91%|█████████ | 265/291 [00:06<00:00, 57.35it/s]
Loading 0: 94%|█████████▍| 274/291 [00:06<00:00, 58.87it/s]
Loading 0: 97%|█████████▋| 283/291 [00:06<00:00, 61.19it/s]
Loading 0: 100%|█████████▉| 290/291 [00:07<00:00, 37.48it/s]
Job leosheng-no-repeat-writ-96723-v1-mkmlizer completed after 83.39s with status: succeeded
Stopping job with name leosheng-no-repeat-writ-96723-v1-mkmlizer
Pipeline stage MKMLizer completed in 83.86s
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 leosheng-no-repeat-writ-96723-v1
Waiting for inference service leosheng-no-repeat-writ-96723-v1 to be ready
Inference service leosheng-no-repeat-writ-96723-v1 ready after 150.51804733276367s
Pipeline stage MKMLDeployer completed in 151.03s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.396324634552002s
Received healthy response to inference request in 1.4598727226257324s
Received healthy response to inference request in 1.4642724990844727s
Received healthy response to inference request in 1.2262041568756104s
Received healthy response to inference request in 1.3053483963012695s
5 requests
0 failed requests
5th percentile: 1.2420330047607422
10th percentile: 1.257861852645874
20th percentile: 1.2895195484161377
30th percentile: 1.3362532615661622
40th percentile: 1.3980629920959473
50th percentile: 1.4598727226257324
60th percentile: 1.4616326332092284
70th percentile: 1.4633925437927247
80th percentile: 1.6506829261779787
90th percentile: 2.0235037803649902
95th percentile: 2.209914207458496
99th percentile: 2.3590425491333007
mean time: 1.5704044818878173
Pipeline stage StressChecker completed in 9.14s
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.60s
Shutdown handler de-registered
leosheng-no-repeat-writ_96723_v1 status is now deployed due to DeploymentManager action
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 2919.32s
Shutdown handler de-registered
leosheng-no-repeat-writ_96723_v1 status is now inactive due to auto deactivation removed underperforming models
leosheng-no-repeat-writ_96723_v1 status is now torndown due to DeploymentManager action