1
0
Fork 0
mirror of https://github.com/p-e-w/heretic.git synced 2026-12-03 20:44:21 +07:00

[GH-ISSUE #279] heretic does not see 3 GPUs #159

Closed
opened 2026-11-01 04:18:08 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @rigin on GitHub (Apr 6, 2026).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/279

`(heretic) PS F:\heretic\heretic> nvidia-smi -L
GPU 0: NVIDIA GeForce RTX 5060 Ti (UUID: GPU-6aad86bf-f5b4-28e7-6c10-879107f0b624)
GPU 1: NVIDIA GeForce RTX 5060 Ti (UUID: GPU-3faed674-c946-737e-dd0d-20588a38b80c)
GPU 2: NVIDIA GeForce RTX 4060 Ti (UUID: GPU-7adf6c64-1983-fb74-dba6-e01f23f1932f)
(heretic) PS F:\heretic\heretic>

(heretic) PS F:\heretic\heretic> heretic --model F:\LLMs\aya-expanse-32b --evaluate-model F:\LLMs\aya-expanse-32b-abliterated
W0406 09:02:01.249000 28916 site-packages\torch\utils\flop_counter.py:29] triton not found; flop counting will not work for triton kernels
█░█░█▀▀░█▀▄░█▀▀░▀█▀░█░█▀▀ v1.2.0
█▀█░█▀▀░█▀▄░█▀▀░░█░░█░█░░
▀░▀░▀▀▀░▀░▀░▀▀▀░░▀░░▀░▀▀▀ https://github.com/p-e-w/heretic

Detected 1 CUDA device(s) (15.93 GB total VRAM):

  • GPU 0: NVIDIA GeForce RTX 5060 Ti (15.93 GB)

Loading model F:\LLMs\aya-expanse-32b...

  • Trying dtype auto...
    Some parameters are on the meta device because they were offloaded to the cpu and disk.
  • LoRA adapters initialized (targets: o_proj, down_proj)
  • Transformer model with 40 layers
  • Abliterable components:
    • attn.o_proj: 40 modules total
    • mlp.down_proj: 40 modules total

Resident system RAM: 26.31 GB
Allocated GPU VRAM: 10.95 GB
Reserved GPU VRAM: 10.96 GB`

The installation was performed with the following commands.

`conda create -n heretic python=3.13

conda activate heretic

pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu130

pip3 install git+https://github.com/p-e-w/heretic.git`

Originally created by @rigin on GitHub (Apr 6, 2026). Original GitHub issue: https://github.com/p-e-w/heretic/issues/279 `(heretic) PS F:\heretic\heretic> nvidia-smi -L GPU 0: NVIDIA GeForce RTX 5060 Ti (UUID: GPU-6aad86bf-f5b4-28e7-6c10-879107f0b624) GPU 1: NVIDIA GeForce RTX 5060 Ti (UUID: GPU-3faed674-c946-737e-dd0d-20588a38b80c) GPU 2: NVIDIA GeForce RTX 4060 Ti (UUID: GPU-7adf6c64-1983-fb74-dba6-e01f23f1932f) (heretic) PS F:\heretic\heretic> (heretic) PS F:\heretic\heretic> heretic --model F:\LLMs\aya-expanse-32b --evaluate-model F:\LLMs\aya-expanse-32b-abliterated W0406 09:02:01.249000 28916 site-packages\torch\utils\flop_counter.py:29] triton not found; flop counting will not work for triton kernels █░█░█▀▀░█▀▄░█▀▀░▀█▀░█░█▀▀ v1.2.0 █▀█░█▀▀░█▀▄░█▀▀░░█░░█░█░░ ▀░▀░▀▀▀░▀░▀░▀▀▀░░▀░░▀░▀▀▀ https://github.com/p-e-w/heretic Detected 1 CUDA device(s) (15.93 GB total VRAM): * GPU 0: NVIDIA GeForce RTX 5060 Ti (15.93 GB) Loading model F:\LLMs\aya-expanse-32b... * Trying dtype auto... Some parameters are on the meta device because they were offloaded to the cpu and disk. * LoRA adapters initialized (targets: o_proj, down_proj) * Transformer model with 40 layers * Abliterable components: * attn.o_proj: 40 modules total * mlp.down_proj: 40 modules total Resident system RAM: 26.31 GB Allocated GPU VRAM: 10.95 GB Reserved GPU VRAM: 10.96 GB` The installation was performed with the following commands. `conda create -n heretic python=3.13 conda activate heretic pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu130 pip3 install git+https://github.com/p-e-w/heretic.git`
Author
Owner

@p-e-w commented on GitHub (Apr 6, 2026):

Check whether PyTorch sees the GPUs. It almost certainly doesn't, which makes this a PyTorch/setup issue.

<!-- gh-comment-id:4191017405 --> @p-e-w commented on GitHub (Apr 6, 2026): Check whether PyTorch sees the GPUs. It almost certainly doesn't, which makes this a PyTorch/setup issue.
Author
Owner

@rigin commented on GitHub (Apr 6, 2026):

Solved the problem. Replaced the environment variable
CUDA_VISIBLE_DEVICES=GPU-7adf6c64-1983-fb74-dba6-e01f23f1932f,GPU-3faed674-c946-737e-dd0d-20588a38b80c,GPU-6aad86bf-f5b4-28e7-6c10- 879107f0b624
on
CUDA_VISIBLE_DEVICES=0,1,2

<!-- gh-comment-id:4191316057 --> @rigin commented on GitHub (Apr 6, 2026): Solved the problem. Replaced the environment variable CUDA_VISIBLE_DEVICES=GPU-7adf6c64-1983-fb74-dba6-e01f23f1932f,GPU-3faed674-c946-737e-dd0d-20588a38b80c,GPU-6aad86bf-f5b4-28e7-6c10- 879107f0b624 on CUDA_VISIBLE_DEVICES=0,1,2
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
p-e-w/heretic#159
No description provided.