hugie
hugie copied to clipboard
Command Line Interface for Hugging Face Inference Endpoints
``` hugie endpoint list Traceback (most recent call last): File "/home/matthew/.local/pipx/venvs/hugie/lib/python3.10/site-packages/hugie/endpoint.py", line 38, in list response.raise_for_status() File "/home/matthew/.local/pipx/venvs/hugie/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized...
Updates hugie to use the new v2 specification from Hugging Face. In particular: * Uses `datamodel-code-generator` to generate the `models_v2.py` * Subclasses the new `Endpoint` class to add a `from_json`...
Currently we get the following traceback: ``` Traceback (most recent call last): File "/home/matthew/.local/bin/hugie", line 5, in from hugie.__main__ import app File "/home/matthew/.local/pipx/venvs/hugie/lib/python3.10/site-packages/hugie/__main__.py", line 7, in from hugie.endpoint import app...
Add pause command to allow instances to be paused without a change to the config. Afaik this is the same as reducing the number of replicas to 0.
Updates the models to reflect the OpenAPI specification of the Hugging Face Inference Endpoints API.
See #60. This will users people to get started without needing to create a local config.
Add a command to set `HUGGINGFACE_READ_TOKEN`. If a config or an environment variable is missing ask the user similar to what `wandb` tool is doing. The config command can be...
Hello MantisAI, Great job on the cli, it looks great ! 🔥 What would you think of adding a `--watch` / `-w` flag to the `hfie endpoint list` command ?...
Along with #1, it would be nice if we could implement some monitoring on the status of endpoints. For example: ``` hfie endpoint monitor development ``` This would periodically check...