Run this model with HF Jobs

Run ixim/Image21-INT8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/ixim/Image21-INT8. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/ixim/Image21-INT8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
ixim's picture
Fix INT8 CPU offload; publish memory audit and paired retests
ba48d54 verified
Raw History Blame Contribute Delete
4.25 kB
{"label": "before_load", "pid": 6708, "allocated": 0, "reserved": 0, "peak": 0, "free_total": [32496418816, 34162016256]}
{"label": "after_load_and_offload", "pid": 6708, "allocated": 0, "reserved": 0, "peak": 0, "free_total": [32496418816, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}}
{"label": "edit_native_start", "pid": 6708, "allocated": 0, "reserved": 0, "peak": 0, "free_total": [32496418816, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}}
{"label": "before_encode_prompt", "pid": 6708, "allocated": 0, "reserved": 0, "peak": 0, "free_total": [32496418816, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}}
{"label": "after_encode_prompt", "pid": 6708, "allocated": 17591357440, "reserved": 26449281024, "peak": 26117673472, "free_total": [4181049344, 34162016256], "components": {"text_encoder": {"parameters": {"cuda:0/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}}
{"label": "before_prepare_latents", "pid": 6708, "allocated": 17591357440, "reserved": 26449281024, "peak": 26117673472, "free_total": [4181049344, 34162016256], "components": {"text_encoder": {"parameters": {"cuda:0/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}}
{"label": "after_prepare_latents", "pid": 6708, "allocated": 18274804736, "reserved": 26472349696, "peak": 26117673472, "free_total": [4203085824, 34162016256], "components": {"text_encoder": {"parameters": {"cuda:0/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cuda:0/torch.bfloat16": 675480808}, "bnb_state": {}}}}
{"label": "before_decode", "pid": 6708, "allocated": 23580760576, "reserved": 29381099520, "peak": 28467959296, "free_total": [1474904064, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cuda:0/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cuda:0/torch.bfloat16": 675480808}, "bnb_state": {}}}}
{"label": "after_decode", "pid": 6708, "allocated": 9384048640, "reserved": 11697913856, "peak": 28467959296, "free_total": [20645412864, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cuda:0/torch.bfloat16": 675480808}, "bnb_state": {}}}}
{"label": "edit_native_end", "pid": 6708, "allocated": 14288384, "reserved": 10995367936, "peak": 28467959296, "free_total": [21347958784, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}}
{"label": "before_process_exit", "pid": 6708, "allocated": 14288384, "reserved": 10995367936, "peak": 28467959296, "free_total": [21347958784, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}}