Add embedded Hugging Face token fallback
This commit is contained in:
@@ -15,12 +15,13 @@ submission poller in a child process.
|
||||
|
||||
## Runtime Environment
|
||||
|
||||
The image includes a single-account submission token fallback for the agent
|
||||
platform. Environment variables can override it without rebuilding the image.
|
||||
The image includes single-account ModelHub and Hugging Face token fallbacks for
|
||||
the agent platform. Environment variables can override them without rebuilding
|
||||
the image.
|
||||
|
||||
- `MODELHUB_XC_TOKEN`, `XC_TOKEN`, or `MODELHUB_TOKEN` for ModelHub API authentication
|
||||
- `MODELHUB_JWT_TOKEN` or `JWT_TOKEN` can be used instead when the platform provides a JWT
|
||||
- `HF_TOKEN` optional, but recommended for Hugging Face API limits
|
||||
- `HF_TOKEN` optional override for the embedded Hugging Face fallback token
|
||||
- `STRATEGY_ID` is expected to be injected by the ModelHub agent platform and is attached to submissions for strategy attribution; it is not an API authentication token
|
||||
|
||||
Optional tuning:
|
||||
|
||||
Reference in New Issue
Block a user