AMD 发布 Qwen3.8-27B 的 INT4 量化版本
AMD 在 Hugging Face 上发布了 Qwen3.8-27B-Quark-AWQ-INT4-W4A16,这是 Qwen3.8-27B 的 INT4 权重量化版本,使用 AWQ 算法和 AMD Quark 工具生成。模型权重为 INT4,激活为 BF16,支持多模态任务,采用 Apache 2.0 许可证。
证据来源
查看来源摘录
AMD amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16 amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16 https://huggingface.co/amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16
查看来源摘录
amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16 · Hugging Face Hugging Face (https://huggingface.co/) Models (https://huggingface.co/models) Datasets (https://huggingface.co/datasets) Spaces (https://huggingface.co/spaces) Buckets new (https://huggingface.co/storage) Docs (https://huggingface.co/docs) Enterprise (https://huggingface.co/enterprise) Pricing (https://huggingface.co/pricing) Website Tasks (https://huggingface.co/tasks) HuggingChat (https://huggingface.co/chat) Collections (https://huggingface.co/collections) Languages (https://huggingface.co/languages) Organizations (https://huggingface.co/organizations) Community Blog (https://huggingface.co/blog) Posts (https://huggingface.co/posts) Daily Papers (https://huggingface.co/papers) Hardware (https://huggingface.co/hardware) Learn (https://huggingface.co/learn) Discord (https://huggingface.co/join/discord) Forum (https://discuss.huggingface.co/) GitHub (https://github.com/huggingface) Solutions Team & Enterprise (https://huggingface.co/enterprise) Hugging Face PRO (https://huggingface.co/pro) Enterprise Support (https://huggingface.co/support) Inference Providers (https://huggingface.co/inference/models) Inference Endpoints (https://huggingface.co/inference-endpoints) Storage Buckets (https://huggingface.co/storage) Log In (https://huggingface.co/login) Sign Up (https://huggingface.co/join) (https://huggingface.co/amd) amd (https://huggingface.co/amd) / Qwen3.8-27B-Quark-AWQ-INT4-W4A16 (https://huggingface.co/amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16) like 5 Follow AMD 3.15k Image-Text-to-Text (https://huggingface.co/models?pipeline_tag=image-text-to-text) Transformers (https://huggingface.co/models?library=transformers) Safetensors (https://huggingface.co/models?library=safetensors) qwen3_5 (https://huggingface.co/models?other=qwen3_5) quark (https://huggingface.co/models?other=quark) amd (https://huggingface.co/models?other=amd) quantization (https://huggingface.co/models?other=quantization) int4 (https://huggingface.co/models?other=int4) awq (https://huggingface.co/models?other=awq) w4a16 (https://huggingface.co/models?other=w4a16) conversational (https://huggingface.co/models?other=conversational) License: apache-2.0 Model card (https://huggingface.co/amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16) Files Files and versions xet (https://huggingface.co/amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16/tree/main) Community (https://huggingface.co/amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16/discussions) Deploy Copy to bucket new Use this model Instructions to use amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started. Libraries Transformers (https://huggingface.co/amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16?library=transformers) How to use amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16 with Transformers: # Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages) # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16") model = AutoModelForMultimodalLM.from_pretrained("amd/Qwen3.8-27B-Quark-AWQ-INT4-W4A16", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.genera
来自 星盘大模型百科