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 rica40325-nsfw-free-sft-v5-mkmlizer
Waiting for job on rica40325-nsfw-free-sft-v5-mkmlizer to finish
rica40325-nsfw-free-sft-v5-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
rica40325-nsfw-free-sft-v5-mkmlizer: ║ _____ __ __ ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ /___/ ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ Version: 0.11.12 ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ https://mk1.ai ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ The license key for the current software has been verified as ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ belonging to: ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ Chai Research Corp. ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ Expiration: 2025-01-15 23:59:59 ║
rica40325-nsfw-free-sft-v5-mkmlizer: ║ ║
rica40325-nsfw-free-sft-v5-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
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
rica40325-nsfw-free-sft-v5-mkmlizer: Downloaded to shared memory in 92.198s
rica40325-nsfw-free-sft-v5-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmpmpq9anzv, device:0
rica40325-nsfw-free-sft-v5-mkmlizer: Saving flywheel model at /dev/shm/model_cache
rica40325-nsfw-free-sft-v5-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.
rica40325-nsfw-free-sft-v5-mkmlizer: tensors = torch.load(model_shard_filename, map_location=torch.device(self.device), mmap=True)
rica40325-nsfw-free-sft-v5-mkmlizer: quantized model in 35.773s
rica40325-nsfw-free-sft-v5-mkmlizer: Processed model rica40325/nsfw_free_sft in 127.971s
rica40325-nsfw-free-sft-v5-mkmlizer: creating bucket guanaco-mkml-models
rica40325-nsfw-free-sft-v5-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
rica40325-nsfw-free-sft-v5-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/rica40325-nsfw-free-sft-v5
rica40325-nsfw-free-sft-v5-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/rica40325-nsfw-free-sft-v5/config.json
rica40325-nsfw-free-sft-v5-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/rica40325-nsfw-free-sft-v5/special_tokens_map.json
rica40325-nsfw-free-sft-v5-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/rica40325-nsfw-free-sft-v5/tokenizer_config.json
rica40325-nsfw-free-sft-v5-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/rica40325-nsfw-free-sft-v5/tokenizer.json
rica40325-nsfw-free-sft-v5-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/rica40325-nsfw-free-sft-v5/flywheel_model.0.safetensors
rica40325-nsfw-free-sft-v5-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 2%|▏ | 7/363 [00:00<00:07, 47.90it/s]
Loading 0: 4%|▍ | 16/363 [00:00<00:05, 64.11it/s]
Loading 0: 7%|▋ | 25/363 [00:00<00:04, 67.79it/s]
Loading 0: 9%|▉ | 34/363 [00:00<00:04, 69.29it/s]
Loading 0: 12%|█▏ | 43/363 [00:00<00:04, 74.52it/s]
Loading 0: 14%|█▍ | 52/363 [00:00<00:03, 78.73it/s]
Loading 0: 17%|█▋ | 61/363 [00:01<00:15, 19.65it/s]
Loading 0: 19%|█▉ | 70/363 [00:01<00:11, 26.12it/s]
Loading 0: 22%|██▏ | 79/363 [00:02<00:08, 33.53it/s]
Loading 0: 24%|██▍ | 88/363 [00:02<00:06, 40.83it/s]
Loading 0: 27%|██▋ | 97/363 [00:02<00:05, 48.32it/s]
Loading 0: 29%|██▉ | 106/363 [00:02<00:04, 56.21it/s]
Loading 0: 32%|███▏ | 115/363 [00:02<00:03, 62.09it/s]
Loading 0: 34%|███▍ | 125/363 [00:02<00:03, 70.14it/s]
Loading 0: 37%|███▋ | 134/363 [00:02<00:03, 69.47it/s]
Loading 0: 39%|███▉ | 143/363 [00:03<00:10, 20.19it/s]
Loading 0: 42%|████▏ | 152/363 [00:04<00:08, 26.17it/s]
Loading 0: 44%|████▍ | 160/363 [00:04<00:06, 31.72it/s]
Loading 0: 47%|████▋ | 169/363 [00:04<00:05, 38.15it/s]
Loading 0: 49%|████▉ | 178/363 [00:04<00:04, 46.07it/s]
Loading 0: 52%|█████▏ | 187/363 [00:04<00:03, 53.93it/s]
Loading 0: 54%|█████▍ | 196/363 [00:04<00:02, 60.52it/s]
Loading 0: 56%|█████▋ | 205/363 [00:04<00:02, 62.65it/s]
Loading 0: 59%|█████▉ | 214/363 [00:04<00:02, 66.77it/s]
Loading 0: 61%|██████▏ | 223/363 [00:05<00:06, 20.87it/s]
Loading 0: 64%|██████▍ | 232/363 [00:06<00:04, 26.91it/s]
Loading 0: 66%|██████▋ | 241/363 [00:06<00:03, 33.20it/s]
Loading 0: 69%|██████▉ | 250/363 [00:06<00:02, 40.39it/s]
Loading 0: 71%|███████▏ | 259/363 [00:06<00:02, 48.02it/s]
Loading 0: 74%|███████▍ | 268/363 [00:06<00:01, 55.35it/s]
Loading 0: 76%|███████▋ | 277/363 [00:06<00:01, 60.00it/s]
Loading 0: 79%|███████▉ | 286/363 [00:06<00:01, 64.13it/s]
Loading 0: 81%|████████▏ | 295/363 [00:06<00:00, 69.61it/s]
Loading 0: 84%|████████▎ | 304/363 [00:07<00:02, 21.84it/s]
Loading 0: 86%|████████▌ | 313/363 [00:08<00:01, 28.13it/s]
Loading 0: 89%|████████▊ | 322/363 [00:08<00:01, 34.49it/s]
Loading 0: 91%|█████████ | 331/363 [00:08<00:00, 41.91it/s]
Loading 0: 94%|█████████▍| 341/363 [00:08<00:00, 51.35it/s]
Loading 0: 96%|█████████▋| 350/363 [00:08<00:00, 58.74it/s]
Loading 0: 99%|█████████▉| 359/363 [00:08<00:00, 63.53it/s]
Job rica40325-nsfw-free-sft-v5-mkmlizer completed after 155.38s with status: succeeded
Stopping job with name rica40325-nsfw-free-sft-v5-mkmlizer
Pipeline stage MKMLizer completed in 155.92s
run pipeline stage %s
Running pipeline stage MKMLTemplater
Pipeline stage MKMLTemplater completed in 0.19s
run pipeline stage %s
Running pipeline stage MKMLDeployer
Creating inference service rica40325-nsfw-free-sft-v5
Waiting for inference service rica40325-nsfw-free-sft-v5 to be ready
Connection pool is full, discarding connection: %s. Connection pool size: %s
Inference service rica40325-nsfw-free-sft-v5 ready after 140.4882082939148s
Pipeline stage MKMLDeployer completed in 141.13s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.249845504760742s
Received healthy response to inference request in 1.6125757694244385s
Received healthy response to inference request in 1.743852138519287s
Received healthy response to inference request in 1.8149268627166748s
Received healthy response to inference request in 1.907036304473877s
5 requests
0 failed requests
5th percentile: 1.6388310432434081
10th percentile: 1.665086317062378
20th percentile: 1.7175968647003175
30th percentile: 1.7580670833587646
40th percentile: 1.7864969730377198
50th percentile: 1.8149268627166748
60th percentile: 1.8517706394195557
70th percentile: 1.8886144161224365
80th percentile: 1.97559814453125
90th percentile: 2.112721824645996
95th percentile: 2.181283664703369
99th percentile: 2.2361331367492676
mean time: 1.865647315979004
Pipeline stage StressChecker completed in 11.53s
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 2.63s
Shutdown handler de-registered
rica40325-nsfw-free-sft_v5 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 2731.84s
Shutdown handler de-registered
rica40325-nsfw-free-sft_v5 status is now inactive due to auto deactivation removed underperforming models
rica40325-nsfw-free-sft_v5 status is now torndown due to DeploymentManager action