Christian Medina
|
bc3bc6d6eb
|
feat: process 8 shards at once (4 per GPU) with better logging
|
2026-07-02 23:24:48 -04:00 |
|
Christian Medina
|
9e2c7bec8d
|
fix: remove duplicate sequential code
|
2026-07-02 23:12:03 -04:00 |
|
Christian Medina
|
7040c84618
|
feat: process 2 shards at a time (one per GPU)
|
2026-07-02 23:05:57 -04:00 |
|
Christian Medina
|
d698a32f0f
|
feat: skip already processed shards (resume support)
|
2026-07-02 23:04:52 -04:00 |
|
Christian Medina
|
d1f0c81ac4
|
fix: remove quant_states reference
|
2026-07-02 22:52:49 -04:00 |
|
Christian Medina
|
18ef0f73ef
|
fix: don't save quant_state objects (BnB rebuilds on load)
|
2026-07-02 22:48:09 -04:00 |
|
Christian Medina
|
8c13be4d1f
|
fix: free GPU memory after each layer quantization
|
2026-07-02 22:43:27 -04:00 |
|
Christian Medina
|
b9f6ddaf50
|
fix: free GPU memory after each quantization
|
2026-07-02 22:41:52 -04:00 |
|
Christian Medina
|
1751d33f69
|
fix: load shard to CPU, quantize on GPU
|
2026-07-02 22:40:31 -04:00 |
|
Christian Medina
|
d769d39865
|
feat: add single shard test script
|
2026-07-02 22:39:25 -04:00 |
|
Christian Medina
|
0f624e1e75
|
fix: use bitsandbytes.functional for expert layer quantization
|
2026-07-02 22:36:02 -04:00 |
|
Christian Medina
|
410718bc73
|
feat: add CPU offloading for 70GB → 17GB conversion
|
2026-07-02 22:33:36 -04:00 |
|
Christian Medina
|
bee6683396
|
feat: simple NF4 quantization with device_map=auto (proven method)
|
2026-07-02 22:32:38 -04:00 |
|
Christian Medina
|
bfa569f4e9
|
fix: remove streaming from output path name
|
2026-07-02 22:06:50 -04:00 |
|
Christian Medina
|
959c43d44c
|
feat: true streaming NF4 quantization with safetensors
|
2026-07-02 22:05:59 -04:00 |
|
Christian Medina
|
52b93837f9
|
fix: use NF4 naming convention for quantized model
|
2026-07-02 22:00:15 -04:00 |
|
Christian Medina
|
2f997377f5
|
feat: add simple BnB 4-bit quantization script with device_map=auto
|
2026-07-02 21:57:02 -04:00 |
|
Christian Medina
|
d41648d4fc
|
feat: load shards directly to GPU, no CPU bottleneck
|
2026-07-02 21:44:28 -04:00 |
|
Christian Medina
|
82677070ff
|
fix: weights_only=False for safetensors loading
|
2026-07-02 21:41:44 -04:00 |
|
Christian Medina
|
aec7f405fe
|
feat: use both GPUs in parallel for streaming quantization
|
2026-07-02 21:30:35 -04:00 |
|
Christian Medina
|
0ea51488a7
|
feat: add streaming quantization script (process one shard at a time)
|
2026-07-02 21:28:05 -04:00 |
|
Christian Medina
|
170243de25
|
fix: remove GPU test, just check quantization
|
2026-07-02 21:14:34 -04:00 |
|
Christian Medina
|
43f5426583
|
feat: test BnB 4-bit loading and GPU transfer
|
2026-07-02 21:10:57 -04:00 |
|
Christian Medina
|
04a95f362f
|
fix: load bf16 model directly with BnB 4-bit (single load)
|
2026-07-02 21:09:54 -04:00 |
|
Christian Medina
|
1f804c95cd
|
feat: load bf16 to CPU, quantize with BnB, move to GPU
|
2026-07-02 20:58:22 -04:00 |
|
Christian Medina
|
a9b066246d
|
feat: add model size check script
|
2026-07-02 20:47:11 -04:00 |
|
Christian Medina
|
fa2f21562f
|
fix: load BnB 4-bit model to single GPU (no distribution)
|
2026-07-02 20:42:05 -04:00 |
|
Christian Medina
|
a23ecc49f0
|
feat: use transformers built-in BnB loading with device_map=cpu
|
2026-07-02 20:27:06 -04:00 |
|
Christian Medina
|
11f9c3a56c
|
fix: force quantization with dummy forward pass
|
2026-07-02 20:25:26 -04:00 |
|
Christian Medina
|
b624e90b02
|
fix: use BnB quantize_batch to actually quantize weights
|
2026-07-02 20:22:39 -04:00 |
|
Christian Medina
|
ec2b1be864
|
chore: clean up temp files
|
2026-07-02 20:18:13 -04:00 |
|
Christian Medina
|
3716051abc
|
fix: remove PEFT prepare (causes OOM)
|
2026-07-02 20:17:23 -04:00 |
|
Christian Medina
|
ac891fe25b
|
fix: replace with proper BnB 4-bit quantization script
|
2026-07-02 20:13:19 -04:00 |
|
Christian Medina
|
7984ae93e7
|
feat: proper BnB 4-bit quantization with PEFT prepare
|
2026-07-02 20:11:38 -04:00 |
|
Christian Medina
|
57b169f202
|
feat: use BnB 4-bit model for QLoRA training
|
2026-07-02 20:04:55 -04:00 |
|
Christian Medina
|
76ff09b140
|
feat: add BnB 4-bit quantization script
|
2026-07-02 20:04:44 -04:00 |
|
Christian Medina
|
3c31e4dfb0
|
feat: load bf16 model, quantize with BnB on CPU, move to GPU
|
2026-07-02 19:55:01 -04:00 |
|
Christian Medina
|
a0f4f644b0
|
fix: load 4-bit model with device_map=auto (let transformers distribute)
|
2026-07-02 19:33:37 -04:00 |
|
Christian Medina
|
20626e7a78
|
feat: manual 4-bit quantization with PEFT prepare + Linear4bit
|
2026-07-02 18:46:05 -04:00 |
|
Christian Medina
|
42c25962b2
|
feat: load model to CPU with BnB 4-bit, then move to GPU
|
2026-07-02 18:23:39 -04:00 |
|
Christian Medina
|
1c7e73e927
|
fix: load already-quantized 4-bit model directly (no BnB)
|
2026-07-02 18:20:43 -04:00 |
|
Christian Medina
|
199176c8d0
|
feat: load model with BnB 4-bit quantization (fit in single GPU)
|
2026-07-02 18:05:27 -04:00 |
|
Christian Medina
|
5a84b0eee5
|
feat: add CPU offload for optimizer states
|
2026-07-02 17:53:56 -04:00 |
|
Christian Medina
|
a51a744d7c
|
fix: reduce seq_length to 512 and increase gradient_accumulation
|
2026-07-02 17:53:11 -04:00 |
|
Christian Medina
|
691e5d3611
|
feat: use 8-bit AdamW optimizer to save VRAM
|
2026-07-02 17:53:05 -04:00 |
|
Christian Medina
|
92999b7783
|
fix: load model to single GPU (MoE requires all layers on same device)
|
2026-07-02 17:50:01 -04:00 |
|
Christian Medina
|
0456d55c8a
|
fix: disable gradient checkpointing (device mismatch with distributed MoE)
|
2026-07-02 17:29:19 -04:00 |
|
Christian Medina
|
d9c3781242
|
fix: quote 'no' in eval_strategy (YAML boolean issue)
|
2026-07-02 17:09:40 -04:00 |
|
Christian Medina
|
565ddd416e
|
fix: disable eval (no test split in dataset)
|
2026-07-02 16:49:34 -04:00 |
|
Christian Medina
|
dd86a4df37
|
fix: rename dataset column to 'text' for SFTTrainer compatibility
|
2026-07-02 16:39:21 -04:00 |
|