You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior: it should be possible to use an intrinsic that lives on my filesystem.
Actual behavior when passing a path into the GraniteCommon intrinsic class's initializer:
File "/Users/nathan/dev/mellea/mellea/backends/huggingface.py", line 1226, in add_adapter
adapter.path = adapter.get_local_hf_path(self.base_model_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nathan/dev/mellea/mellea/backends/adapters/adapter.py", line 187, in get_local_hf_path
return self.download_and_get_path(base_model_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nathan/dev/mellea/mellea/backends/adapters/adapter.py", line 201, in download_and_get_path
granite_common.intrinsics.obtain_lora(
File "/Users/nathan/dev/mellea/.venv/lib/python3.12/site-packages/granite_common/intrinsics/util.py", line 130, in obtain_lora
local_root_path = huggingface_hub.snapshot_download(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nathan/dev/mellea/.venv/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 106, in _inner_fn
validate_repo_id(arg_value)
File "/Users/nathan/dev/mellea/.venv/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 154, in validate_repo_id
raise HFValidationError(
huggingface_hub.errors.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/Users/nathan/dev/mellea/docs/examples/aLora/granite-3.3-2b-stembolts/'. Use `repo_type` argument if needed.
Activity
docs: second round review edits (generative-computing#929)
psschwei commentedon May 12, 2026
superseded by #929