Run this model with HF Jobs

Run z-lab/MiniMax-M2.5-DFlash 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 and TRL to fine-tune https://huggingface.co/z-lab/MiniMax-M2.5-DFlash. 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/z-lab/MiniMax-M2.5-DFlash 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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/z-lab/MiniMax-M2.5-DFlash. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/z-lab/MiniMax-M2.5-DFlash. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
kashif HF Staff commited on
Commit
92f9f11
·
verified ·
1 Parent(s): 69fc97a

Add diffusers model_index.json and scheduler config for DFlashPipeline.from_pretrained

Browse files

This adds the two files needed for `diffusers` to load the pipeline directly via `DFlashPipeline.from_pretrained`:

- `model_index.json` — declares `DFlashPipeline` as the pipeline class and points
`_target_model_name_or_path` to the target/verifier model
- `scheduler/scheduler_config.json` — config for `DFlashTokenDiffusionScheduler`

After merging, the pipeline can be loaded with:

```python
import torch
from diffusers import DFlashPipeline

pipe = DFlashPipeline.from_pretrained(
"z-lab/MiniMax-M2.5-DFlash",
torch_dtype=torch.bfloat16,
device_map="auto",
)
out = pipe(prompt="Hello, world!")
print(out.texts[0])
```

2 files changed +13
Files changed (2)
model_index.jsonAdded+9
scheduler/scheduler_config.jsonAdded+4