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-v2-mkmlizer
Waiting for job on rica40325-nsfw-free-sft-v2-mkmlizer to finish
rica40325-nsfw-free-sft-v2-mkmlizer: ╔═════════════════════════════════════════════════════════════════════╗
rica40325-nsfw-free-sft-v2-mkmlizer: ║ _____ __ __ ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ / _/ /_ ___ __/ / ___ ___ / / ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ / _/ / // / |/|/ / _ \/ -_) -_) / ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ /_//_/\_, /|__,__/_//_/\__/\__/_/ ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ /___/ ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ Version: 0.11.12 ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ Copyright 2023 MK ONE TECHNOLOGIES Inc. ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ https://mk1.ai ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ The license key for the current software has been verified as ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ belonging to: ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ Chai Research Corp. ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ Account ID: 7997a29f-0ceb-4cc7-9adf-840c57b4ae6f ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ Expiration: 2025-01-15 23:59:59 ║
rica40325-nsfw-free-sft-v2-mkmlizer: ║ ║
rica40325-nsfw-free-sft-v2-mkmlizer: ╚═════════════════════════════════════════════════════════════════════╝
rica40325-nsfw-free-sft-v2-mkmlizer: Downloaded to shared memory in 46.611s
rica40325-nsfw-free-sft-v2-mkmlizer: quantizing model to /dev/shm/model_cache, profile:s0, folder:/tmp/tmph4ava9jo, device:0
rica40325-nsfw-free-sft-v2-mkmlizer: Saving flywheel model at /dev/shm/model_cache
rica40325-nsfw-free-sft-v2-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-v2-mkmlizer: tensors = torch.load(model_shard_filename, map_location=torch.device(self.device), mmap=True)
rica40325-nsfw-free-sft-v2-mkmlizer: quantized model in 36.528s
rica40325-nsfw-free-sft-v2-mkmlizer: Processed model rica40325/nsfw_free_sft in 83.140s
rica40325-nsfw-free-sft-v2-mkmlizer: creating bucket guanaco-mkml-models
rica40325-nsfw-free-sft-v2-mkmlizer: Bucket 's3://guanaco-mkml-models/' created
rica40325-nsfw-free-sft-v2-mkmlizer: uploading /dev/shm/model_cache to s3://guanaco-mkml-models/rica40325-nsfw-free-sft-v2
rica40325-nsfw-free-sft-v2-mkmlizer: cp /dev/shm/model_cache/config.json s3://guanaco-mkml-models/rica40325-nsfw-free-sft-v2/config.json
rica40325-nsfw-free-sft-v2-mkmlizer: cp /dev/shm/model_cache/special_tokens_map.json s3://guanaco-mkml-models/rica40325-nsfw-free-sft-v2/special_tokens_map.json
rica40325-nsfw-free-sft-v2-mkmlizer: cp /dev/shm/model_cache/tokenizer_config.json s3://guanaco-mkml-models/rica40325-nsfw-free-sft-v2/tokenizer_config.json
rica40325-nsfw-free-sft-v2-mkmlizer: cp /dev/shm/model_cache/tokenizer.json s3://guanaco-mkml-models/rica40325-nsfw-free-sft-v2/tokenizer.json
rica40325-nsfw-free-sft-v2-mkmlizer: cp /dev/shm/model_cache/flywheel_model.0.safetensors s3://guanaco-mkml-models/rica40325-nsfw-free-sft-v2/flywheel_model.0.safetensors
rica40325-nsfw-free-sft-v2-mkmlizer:
Loading 0: 0%| | 0/363 [00:00<?, ?it/s]
Loading 0: 2%|▏ | 7/363 [00:00<00:07, 48.00it/s]
Loading 0: 6%|▌ | 22/363 [00:00<00:04, 80.83it/s]
Loading 0: 9%|▊ | 31/363 [00:00<00:04, 80.96it/s]
Loading 0: 11%|█ | 40/363 [00:00<00:03, 81.88it/s]
Loading 0: 13%|█▎ | 49/363 [00:00<00:03, 83.76it/s]
Loading 0: 16%|█▌ | 58/363 [00:00<00:03, 85.32it/s]
Loading 0: 18%|█▊ | 67/363 [00:01<00:14, 19.95it/s]
Loading 0: 21%|██ | 76/363 [00:02<00:11, 25.67it/s]
Loading 0: 23%|██▎ | 85/363 [00:02<00:08, 32.31it/s]
Loading 0: 26%|██▌ | 94/363 [00:02<00:06, 39.73it/s]
Loading 0: 28%|██▊ | 103/363 [00:02<00:05, 46.79it/s]
Loading 0: 31%|███ | 112/363 [00:02<00:04, 52.41it/s]
Loading 0: 33%|███▎ | 121/363 [00:02<00:04, 58.06it/s]
Loading 0: 36%|███▌ | 130/363 [00:02<00:03, 63.90it/s]
Loading 0: 38%|███▊ | 139/363 [00:02<00:03, 69.66it/s]
Loading 0: 41%|████ | 148/363 [00:04<00:10, 20.27it/s]
Loading 0: 43%|████▎ | 157/363 [00:04<00:07, 26.11it/s]
Loading 0: 46%|████▌ | 166/363 [00:04<00:06, 32.41it/s]
Loading 0: 48%|████▊ | 175/363 [00:04<00:04, 38.88it/s]
Loading 0: 51%|█████ | 184/363 [00:04<00:03, 46.21it/s]
Loading 0: 53%|█████▎ | 193/363 [00:04<00:03, 53.18it/s]
Loading 0: 56%|█████▌ | 202/363 [00:04<00:02, 59.98it/s]
Loading 0: 58%|█████▊ | 211/363 [00:04<00:02, 65.28it/s]
Loading 0: 61%|██████ | 220/363 [00:04<00:02, 70.87it/s]
Loading 0: 63%|██████▎ | 229/363 [00:06<00:06, 20.22it/s]
Loading 0: 66%|██████▌ | 238/363 [00:06<00:04, 26.26it/s]
Loading 0: 68%|██████▊ | 247/363 [00:06<00:03, 33.31it/s]
Loading 0: 71%|███████ | 256/363 [00:06<00:02, 41.03it/s]
Loading 0: 73%|███████▎ | 265/363 [00:06<00:02, 48.19it/s]
Loading 0: 75%|███████▌ | 274/363 [00:06<00:01, 55.37it/s]
Loading 0: 78%|███████▊ | 283/363 [00:06<00:01, 62.46it/s]
Loading 0: 80%|████████ | 292/363 [00:06<00:01, 67.28it/s]
Loading 0: 83%|████████▎ | 301/363 [00:06<00:00, 70.40it/s]
Loading 0: 85%|████████▌ | 310/363 [00:08<00:02, 21.26it/s]
Loading 0: 88%|████████▊ | 319/363 [00:08<00:01, 27.57it/s]
Loading 0: 90%|█████████ | 328/363 [00:08<00:01, 34.36it/s]
Loading 0: 93%|█████████▎| 337/363 [00:08<00:00, 41.37it/s]
Loading 0: 95%|█████████▌| 346/363 [00:08<00:00, 48.59it/s]
Loading 0: 98%|█████████▊| 355/363 [00:08<00:00, 55.14it/s]
Loading 0: 100%|██████████| 363/363 [00:15<00:00, 4.27it/s]
Job rica40325-nsfw-free-sft-v2-mkmlizer completed after 104.36s with status: succeeded
Stopping job with name rica40325-nsfw-free-sft-v2-mkmlizer
Pipeline stage MKMLizer completed in 104.86s
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 rica40325-nsfw-free-sft-v2
Waiting for inference service rica40325-nsfw-free-sft-v2 to be ready
Inference service rica40325-nsfw-free-sft-v2 ready after 140.69025945663452s
Pipeline stage MKMLDeployer completed in 141.29s
run pipeline stage %s
Running pipeline stage StressChecker
Received healthy response to inference request in 2.047802686691284s
Received healthy response to inference request in 1.816437005996704s
Received healthy response to inference request in 2.171128273010254s
Received healthy response to inference request in 1.6492242813110352s
Received healthy response to inference request in 1.6821730136871338s
5 requests
0 failed requests
5th percentile: 1.655814027786255
10th percentile: 1.6624037742614746
20th percentile: 1.675583267211914
30th percentile: 1.7090258121490478
40th percentile: 1.762731409072876
50th percentile: 1.816437005996704
60th percentile: 1.9089832782745362
70th percentile: 2.0015295505523683
80th percentile: 2.072467803955078
90th percentile: 2.121798038482666
95th percentile: 2.14646315574646
99th percentile: 2.166195249557495
mean time: 1.8733530521392823
Pipeline stage StressChecker completed in 10.99s
run pipeline stage %s
Running pipeline stage OfflineFamilyFriendlyTriggerPipeline
run_pipeline:run_in_cloud %s
starting trigger_guanaco_pipeline args=%s
Pipeline stage OfflineFamilyFriendlyTriggerPipeline completed in 1.11s
Shutdown handler de-registered
rica40325-nsfw-free-sft_v2 status is now deployed due to DeploymentManager action
rica40325-nsfw-free-sft_v2 status is now inactive due to auto deactivation removed underperforming models
rica40325-nsfw-free-sft_v2 status is now torndown due to DeploymentManager action