Upload nvidia_Nemotron-Flash-3B-Instruct_0.txt with huggingface_hub
Browse files12345678910111213141516171819202122232425262728293031323334353637383940```CODE: # Use a pipeline as a high-level helperfrom transformers import pipeline
pipe = pipeline("text-generation", model="nvidia/Nemotron-Flash-3B-Instruct", trust_remote_code=True)```
ERROR: Traceback (most recent call last): File "/tmp/nvidia_Nemotron-Flash-3B-Instruct_0QubS1M.py", line 26, in <module> pipe = pipeline("text-generation", model="nvidia/Nemotron-Flash-3B-Instruct", trust_remote_code=True) File "/tmp/.cache/uv/environments-v2/4c9f90c52dc2dd65/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1027, in pipeline framework, model = infer_framework_load_model( ~~~~~~~~~~~~~~~~~~~~~~~~~~^ adapter_path if adapter_path is not None else model, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<5 lines>... **model_kwargs, ^^^^^^^^^^^^^^^ ) ^ File "/tmp/.cache/uv/environments-v2/4c9f90c52dc2dd65/lib/python3.13/site-packages/transformers/pipelines/base.py", line 293, in infer_framework_load_model model = model_class.from_pretrained(model, **kwargs) File "/tmp/.cache/uv/environments-v2/4c9f90c52dc2dd65/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 586, in from_pretrained model_class = get_class_from_dynamic_module( class_ref, pretrained_model_name_or_path, code_revision=code_revision, **hub_kwargs, **kwargs ) File "/tmp/.cache/uv/environments-v2/4c9f90c52dc2dd65/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 604, in get_class_from_dynamic_module final_module = get_cached_module_file( repo_id, ...<8 lines>... repo_type=repo_type, ) File "/tmp/.cache/uv/environments-v2/4c9f90c52dc2dd65/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 427, in get_cached_module_file modules_needed = check_imports(resolved_module_file) File "/tmp/.cache/uv/environments-v2/4c9f90c52dc2dd65/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 260, in check_imports raise ImportError( ...<2 lines>... )ImportError: This modeling file requires the following packages that were not found in your environment: flash_attn, mamba_ssm. Run `pip install flash_attn mamba_ssm`nvidia_Nemotron-Flash-3B-Instruct_0.txtAdded+40