Views
No views yet
Mixtral-8x7B-v0.1 quantized with AQLM using the 2-bit 2x8 scheme.mistralai/Mixtral-8x7B-v0.1AQLM2x82-bit/work/bduan1/quantized_models/Mixtral-8x7B-AQLM-2bit-2x8convert_to_hf.py from the AQLM project, then exported with --save_safetensors and --save_tokenizer.1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_id = "dbw6/Mixtral-8x7B-AQLM-2Bit-2x8-hf"
4tokenizer = AutoTokenizer.from_pretrained(model_id)
5model = AutoModelForCausalLM.from_pretrained(
6 model_id,
7 torch_dtype="auto",
8 device_map="auto",
9 trust_remote_code=True,
10)