GGUF model with architecture gemma3 is not supported yet.
Author: chunxingque
Pull request: no
Labels: name: bug

### System Info

transformers  version： 4.51.0.dev0


### Who can help?

report errors：
```
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/data/src/sglang/python/sglang/launch_server.py", line 14, in <module>
    launch_server(server_args)
  File "/data/src/sglang/python/sglang/srt/entrypoints/http_server.py", line 673, in launch_server
    tokenizer_manager, scheduler_info = _launch_subprocesses(server_args=server_args)
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/src/sglang/python/sglang/srt/entrypoints/engine.py", line 546, in _launch_subprocesses
    tokenizer_manager = TokenizerManager(server_args, port_args)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/src/sglang/python/sglang/srt/managers/tokenizer_manager.py", line 159, in __init__
    self.model_config = ModelConfig(
                        ^^^^^^^^^^^^
  File "/data/src/sglang/python/sglang/srt/configs/model_config.py", line 60, in __init__
    self.hf_config = get_config(
                     ^^^^^^^^^^^
  File "/data/src/sglang/python/sglang/srt/hf_transformers_utils.py", line 75, in get_config
    config = AutoConfig.from_pretrained(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/py_env/sglang_2/lib/python3.11/site-packages/modelscope/utils/hf_util/patcher.py", line 160, in patch_pretrained_model_name_or_path
    return cls._from_pretrained_origin.__func__(cls, model_dir,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/py_env/sglang_2/lib/python3.11/site-packages/transformers/models/auto/configuration_auto.py", line 1098, in from_pretrained
    config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/py_env/sglang_2/lib/python3.11/site-packages/modelscope/utils/hf_util/patcher.py", line 170, in patch_get_config_dict
    return cls._get_config_dict_origin.__func__(cls, model_dir,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/py_env/sglang_2/lib/python3.11/site-packages/transformers/configuration_utils.py", line 593, in get_config_dict
    config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/py_env/sglang_2/lib/python3.11/site-packages/transformers/configuration_utils.py", line 684, in _get_config_dict
    config_dict = load_gguf_checkpoint(resolved_config_file, return_tensors=False)["config"]
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/py_env/sglang_2/lib/python3.11/site-packages/transformers/modeling_gguf_pytorch_utils.py", line 401, in load_gguf_checkpoint
    raise ValueError(f"GGUF model with architecture {architecture} is not supported yet.")
ValueError: GGUF model with architecture gemma3 is not supported yet.
```



### Information

- [ ] The official example scripts
- [ ] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction

How to solve this problem？

### Expected behavior

How to solve this problem？

Comments:
cc @sunmarc @mekkcyber

facing the same issue.


We haven't added support yet. Check this [issue](https://github.com/huggingface/transformers/issues/33260) if you want to have more information on how to add support for it 

cc @Isotr0py if you have a bit of time to work on that