Invalid username or password.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.7k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
after try to install a trellin i stuck on this part.
(trellis) [fagner@archlinux TRELLIS]$ python app.py
[SPARSE] Backend: spconv, Attention: flash_attn
Warp 1.7.0 initialized:
CUDA Toolkit 12.8, Driver 12.8
Devices:
"cpu" : "CPU"
"cuda:0" : "NVIDIA GeForce GTX 1080 Ti" (11 GiB, sm_61, mempool enabled)
Kernel cache:
/home/fagner/.cache/warp/1.7.0
/opt/miniconda3/envs/trellis/lib/python3.12/site-packages/gradio_client/utils.py:1097: UserWarning: file() is deprecated and will be removed in a future version. Use handle_file() instead.
warnings.warn(
[SPARSE][CONV] spconv algo: auto
[ATTENTION] Using backend: flash_attn
Traceback (most recent call last):
File "/home/fagner/APP/TRELLIS/trellis/pipelines/base.py", line 42, in from_pretrained
_models[k] = models.from_pretrained(f"{path}/{v}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/fagner/APP/TRELLIS/trellis/models/init.py", line 67, in from_pretrained
model = getattr(config['name'])(**config['args'], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/fagner/APP/TRELLIS/trellis/models/init.py", line 30, in getattr
module = importlib.import_module(f".{module_name}", name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/trellis/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "/home/fagner/APP/TRELLIS/trellis/models/sparse_structure_flow.py", line 7, in
from ..modules.transformer import AbsolutePositionEmbedder, ModulatedTransformerCrossBlock
File "/home/fagner/APP/TRELLIS/trellis/modules/transformer/init.py", line 1, in
from .blocks import *
File "/home/fagner/APP/TRELLIS/trellis/modules/transformer/blocks.py", line 4, in
from ..attention import MultiHeadAttention
File "/home/fagner/APP/TRELLIS/trellis/modules/attention/init.py", line 35, in
from .full_attn import *
File "/home/fagner/APP/TRELLIS/trellis/modules/attention/full_attn.py", line 9, in
import flash_attn
ModuleNotFoundError: No module named 'flash_attn'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/miniconda3/envs/trellis/lib/python3.12/site-packages/huggingface_hub/utils/_http.py", line 409, in hf_raise_for_status
response.raise_for_status()
File "/opt/miniconda3/envs/trellis/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/ckpts/ss_flow_img_dit_L_16l8_fp16/resolve/main/.json
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/fagner/APP/TRELLIS/app.py", line 401, in
pipeline = TrellisImageTo3DPipeline.from_pretrained("JeffreyXiang/TRELLIS-image-large")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/fagner/APP/TRELLIS/trellis/pipelines/trellis_image_to_3d.py", line 53, in from_pretrained
pipeline = super(TrellisImageTo3DPipeline, TrellisImageTo3DPipeline).from_pretrained(path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/fagner/APP/TRELLIS/trellis/pipelines/base.py", line 44, in from_pretrained
_models[k] = models.from_pretrained(v)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/fagner/APP/TRELLIS/trellis/models/init.py", line 62, in from_pretrained
config_file = hf_hub_download(repo_id, f"{model_name}.json")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/trellis/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/trellis/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 961, in hf_hub_download
return _hf_hub_download_to_cache_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/trellis/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 1068, in _hf_hub_download_to_cache_dir
_raise_on_head_call_error(head_call_error, force_download, local_files_only)
File "/opt/miniconda3/envs/trellis/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 1596, in _raise_on_head_call_error
raise head_call_error
File "/opt/miniconda3/envs/trellis/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 1484, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(
^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/trellis/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/trellis/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 1401, in get_hf_file_metadata
r = _request_wrapper(
^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/trellis/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 285, in _request_wrapper
response = _request_wrapper(
^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/trellis/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 309, in _request_wrapper
hf_raise_for_status(response)
File "/opt/miniconda3/envs/trellis/lib/python3.12/site-packages/huggingface_hub/utils/_http.py", line 459, in hf_raise_for_status
raise _format(RepositoryNotFoundError, message, response) from e
huggingface_hub.errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1 )
Repository Not Found for url: https://huggingface.co/ckpts/ss_flow_img_dit_L_16l8_fp16/resolve/main/.json.
Please make sure you specified the correct repo_id and repo_type.
If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication
Invalid username or password.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with app.py and the from_pretrained paths in trellis/pipelines/base.py and trellis/models/init.py. Reproduce the missing flash_attn import and the Hugging Face 401 response, then determine whether the failure is caused by dependency setup or model authentication. Done means the required model-loading path is documented or the underlying failure is fixed and verified by running python app.py.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- huggingface, python
- Domain
- authentication, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100