Hi Parag,
The split looks fine to me. Nothing to reorder apart from what the issues
already say about #77833 and #77835. For the triggers, please copy whatever
#77089 ends up doing for async so the hook doesn't grow a second style. A
couple of people have asked on #77831 and #77834 to take them, and I'd let
them if you're busy with #77830.
Buckets: before building the sync operator, have a look at `volumes` on
`run_job` / `run_uv_job`. A Job can mount a bucket with
`Volume(type="bucket", source=..., mount_path=...)` and write checkpoints
into it directly, which is most of the Jobs use case in #77905. #77831
doesn't mention `volumes` yet, I'll add it there. The part that's left is
an Airflow task reading those files afterwards, and I doubt a sync to local
disk is the right shape for it because the next task may run on a different
worker and would have to sync again. `HfFileSystem` already reads
`hf://buckets/...`, so could the provider register `hf` as a filesystem (an
`fs` module and a `filesystems:` entry in provider.yaml, as Amazon and
Google do)? That would give us `ObjectStoragePath("hf://buckets/...")` in
any task using the connection's token. The dataset operators resolve their
artifact paths through ObjectStoragePath too, so `output_uri` could
probably point at a bucket with no operator changes. I haven't tried any of
this.
Thanks,
Kaxil
On Tue, 1 Dec 2026 at 19:20, Parag Ekbote <[email protected]> wrote:
> Hi Airflow community,
>
> I would like to discuss the next steps for the Hugging Face provider
> <https://github.com/apache/airflow/tree/main/providers/huggingface> in
> Airflow and get feedback on the proposed scope of work.
>
> The current issues describe a related set of capabilities:
>
> -
>
> #77830 <https://github.com/apache/airflow/issues/77830> adds operators
> for managing Hugging Face Inference Endpoint lifecycle.
> -
>
> #77831 <https://github.com/apache/airflow/issues/77831> adds a
> deferrable operator for running Hugging Face Jobs.
> -
>
> #77833 <https://github.com/apache/airflow/issues/77833> adds a Common
> AI
> connection for Hugging Face Inference Endpoints and depends on the
> endpoint
> methods in #77830.
> -
>
> #77834 <https://github.com/apache/airflow/issues/77834> adds examples
> combining the existing Hugging Face dataset operators and Common AI.
> -
>
> #77835 <https://github.com/apache/airflow/issues/77835> proposes a
> larger data generation, fine-tuning, evaluation and promote the open
> source
> model endpoint workflow on the preceding four issues.
> -
>
> #77905 <https://github.com/apache/airflow/issues/77905> proposes a
> HuggingFaceBucketOperator to transfer local task files to and from
> Hugging Face Buckets.
>
> In addition, I would like to explore introducing support for loading model
> weights using Hugging Face Transformers
> <https://huggingface.co/docs/transformers/index> and/or Diffusers
> <https://huggingface.co/docs/diffusers/index>rather than endpoints. My
> initial thought is to keep this fairly scoped, focusing on inference
> workloads with a single GPU rather than introducing the additional
> complexity of multi-GPU execution or training orchestration at this stage.
> The Trainer API
> <https://huggingface.co/docs/transformers/main/en/main_classes/trainer>
> and
> broader training support could be deferred for now.
>
> I would love feedback on the following points:
>
> -
>
> Whether the proposed issue boundaries make sense, especially the
> relationship between Buckets and the Jobs workflow.
> -
>
> Whether model inference support using Transformers
> <
> https://huggingface.co/docs/transformers/main/en/pipeline_tutorial#pipeline
> >
> and/or Diffusers
> <https://huggingface.co/docs/diffusers/using-diffusers/loading> would
> be
> useful within the provider, along with an initial scope for the
> provider.
> -
>
> Whether the initial model inference scope should remain limited to
> single-GPU execution, deferring multi-GPU execution.
>
> Please share feedback on the scope or any parts that should be adjusted
> before implementation proceeds.
>
> Warm Regards,
> Parag Ekbote
>