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
Traceback (most recent call last):
File "/scratch/users/nfraser/workspace/brevitas-1/src/brevitas_examples/llm/main.py", line 856, in <module>
main(args)
File "/scratch/users/nfraser/workspace/brevitas-1/src/brevitas_examples/llm/main.py", line 494, in main
wrapped_model = HFLM(pretrained=model) # need to wrap for LLM eval
^^^^^^^^^^^^^^^^^^^^^^
File "/proj/xlabs/users/nfraser/opt/miniforge3/envs/20241120_brv_hf_pt2.5.1/lib/python3.12/site-packages/lm_eval/models/huggingface.py", line 175, in __init__
self._create_tokenizer(
File "/proj/xlabs/users/nfraser/opt/miniforge3/envs/20241120_brv_hf_pt2.5.1/lib/python3.12/site-packages/lm_eval/models/huggingface.py", line 706, in _create_tokenizer
model_name = self.model.name_or_path
^^^^^^^^^^^^^^^^^^^^^^^
File "/proj/xlabs/users/nfraser/opt/miniforge3/envs/20241120_brv_hf_pt2.5.1/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1931, in __getattr__
raise AttributeError(
AttributeError: 'GraphModule' object has no attribute 'name_or_path'
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: