Outils pour utilisateurs

Outils du site


informatique:ai_coding

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
informatique:ai_coding [05/12/2025 16:42] – [Avec GPU] cyrilleinformatique:ai_coding [05/12/2025 17:40] (Version actuelle) – [Avec GPU] cyrille
Ligne 239: Ligne 239:
 </code> </code>
  
-puis une très longue compilation avec :+Ensuite une très très longue compilation : 
 + 
 +DCMAKE_CUDA_ARCHITECTURES: ''86'' pour RTX 3060 et ''120'' pour RTX 5060.
  
 <code> <code>
Ligne 245: Ligne 247:
 # RTX 3060 : 86 # RTX 3060 : 86
 # RTX 5060 : 120 # RTX 5060 : 120
-cmake -B build -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="86;120" +cmake -B build -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="86;120" \ 
-cmake --build build --config Release + -DCMAKE_CUDA_COMPILER=/usr/local/cuda-12.9/bin/nvcc -DCMAKE_INSTALL_RPATH="/usr/local/cuda-12.9/lib64;\$ORIGIN" -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
-</code>+
  
-DCMAKE_CUDA_ARCHITECTURES''86'' pour RTX 3060 et ''120'' pour RTX 5060.+-- ccache found, compilation results will be cached. Disable with GGML_CCACHE=OFF. 
 +-- CMAKE_SYSTEM_PROCESSOR: x86_64 
 +-- GGML_SYSTEM_ARCH: x86 
 +-- Including CPU backend 
 +-- x86 detected 
 +-- Adding CPU backend variant ggml-cpu: -march=native  
 +-- CUDA Toolkit found 
 +-- Using CUDA architectures: 86;120 
 +-- CUDA host compiler is GNU 13.3.0 
 +-- Including CUDA backend 
 +-- ggml version: 0.9.4 
 +-- ggml commit:  6016d0bd4 
 +-- Configuring done (0.5s) 
 +-- Generating done (0.2s) 
 +-- Build files have been written to: /home/cyrille/Code/bronx/AI_Coding/llama.cpp/build 
 + 
 +$ cmake --build build --config Release 
 + 
 +... 
 +real 44m35,149s 
 +user 42m38,100s 
 +sys 1m51,594s 
 +</code>
  
 ==== ollama ==== ==== ollama ====
informatique/ai_coding.1764949365.txt.gz · Dernière modification : de cyrille

Sauf mention contraire, le contenu de ce wiki est placé sous les termes de la licence suivante : CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki