There is a newer version of the record available.

Published June 4, 2026 | Version v0.3.1

uicacer/hpc-as-api: v0.3.1 — Per-user Globus token submission

Authors/Creators

  • 1. Berkeley Lab

Description

What's new

GlobusComputeClient.submit_streaming_inference() now accepts an optional globus_token parameter. When provided, the job is submitted under the caller's own Globus identity rather than the client's stored credentials, giving per-user SLURM-level attribution on the HPC cluster.

result = await client.submit_streaming_inference(
    messages=messages,
    model="qwen25-vl-72b",
    relay_url="wss://relay.example.com",
    globus_token=caller_globus_access_token,  # optional
)

A short-lived Executor is created per request for token-authenticated calls; the persistent executor is used for API-key callers. No breaking changes — globus_token defaults to None.

See CHANGELOG.md for full details.

Files

uicacer/hpc-as-api-v0.3.1.zip

Files (494.1 kB)

Name Size
md5:d07df283fbd342ee8372aeea33317971
494.1 kB Preview Download

Additional details

Related works