embeded/jetson2026. 7. 24. 15:54

2026.07.24 기준

jetpack 7.2 / jetson linux 39.2

[링크 : https://developer.nvidia.com/embedded/jetpack/downloads]

[링크 : https://docs.nvidia.com/jetson/agx-thor-devkit/user-guide/latest/quick_start.html]

[링크 : https://docs.nvidia.com/jetson/agx-thor-devkit/user-guide/latest/twa_display_handoff.html]

 

usb 키보드 연결하고 esc 연타.

 

그나저나 먼가 익숙한(?) imx8mp 때의 부트로더라고 해야하나

UEFI 로더라고 해야하나 이게 보이네?!

boot manager 선택하고

 

NVIDIA Configuration 선택

 

Boot Configuration 선택

 

밑으로 내려가서(위로 한번 누르면 바로 내려감)

SOC Display Hand-Off ModeAuto 로 해주고 usb에 iso 구워서 켜면 그냥 pc 처럼 설치가 되나보다.

 

그냥 USB 꽂고 F11 눌러서 부팅 장치 선택하니(완전 PC네!)

USB 선택하고 엔터!

 

최후 통첩(?) 30초 기다려준다!

 

우분투 grub 는 깜박잊고(맨날 보던거라..) 그냥 넘어가버렸고

하위 선택에서 'Install on NVMe' 선택

 

많이 깔꺼니까 15분 정도 기다려! 라니!~ ㅋㅋ

 

엣! 잠시 자리 비운 사이에 리부팅 되었나 보다. 먼가 업데이트 하는 중

 

휴.. 조마조마했는데 다행이 먼가 뜬다!

 

먼가 설정하고 하니 24.04.4 기반이군

'embeded > jetson' 카테고리의 다른 글

nvidia MIG(multiple instance GPU) - thor  (0) 2026.07.24
nvidia jetson 아니고 nvidia thor  (0) 2026.07.24
jetson nano + llama.cpp vulkan  (0) 2026.07.21
jetson nano jtop  (0) 2026.07.20
jetson nano 4GB / qwen3.5 0.8B  (0) 2026.07.20
Posted by 구차니
embeded/jetson2026. 7. 24. 11:39

귀찮아서 명령어 조합 저장

sudo systemctl stop gdm
sudo systemctl stop nvargus-daemon
sudo nvidia-smi -pm 1
sudo nvidia-smi -i 0 -mig 1
sudo nvidia-smi mig -cgi 80,83 -C

 

----

헛다리를 짚은것 같은데 메모리가 안나오는건 공유 메모리를 써서 인가.. 싶기도 하고?

아무튼 thor iGPU에서는 최대 2개로 나누어 쓸 수 있나 본데

gfx는 외부 출력 포트를 쓸수 있냐 없냐의 차이인것 같고

[링크 : https://docs.nvidia.com/datacenter/tesla/mig-user-guide/supported-mig-profiles.html]

 

nvidia@localhost:~$ nvidia-smi -L
GPU 0: NVIDIA Thor (UUID: GPU-a7c66ad2-6dbb-0ab8-c1a2-37ba6dba3600)

nvidia@localhost:~$ nvidia-smi -i 0 -q

==============NVSMI LOG==============

Timestamp                                 : Fri Jul 24 11:33:07 2026
Driver Version                            : 580.00
CUDA Version                              : 13.0

Attached GPUs                             : 1
GPU 00000000:01:00.0
    Product Name                          : NVIDIA Thor
    Product Brand                         : GeForce
    Product Architecture                  : Blackwell
    Display Mode                          : Requested functionality has been deprecated
    Display Attached                      : No
    Display Active                        : Disabled
    Persistence Mode                      : Disabled
    Addressing Mode                       : ATS
    MIG Mode
        Current                           : Disabled
        Pending                           : Disabled
    Accounting Mode                       : Disabled
    Accounting Mode Buffer Size           : 4000
    Driver Model
        Current                           : N/A
        Pending                           : N/A
    Serial Number                         : N/A
    GPU UUID                              : GPU-a7c66ad2-6dbb-0ab8-c1a2-37ba6dba3600
    GPU PDI                               : 0x9257b02c0bd38a20
    Minor Number                          : 0
    VBIOS Version                         : N/A
    MultiGPU Board                        : No
    Board ID                              : 0x100
    Board Part Number                     : N/A
    GPU Part Number                       : 2B00--A1
    FRU Part Number                       : N/A
    Platform Info
        Chassis Serial Number             : N/A
        Slot Number                       : N/A
        Tray Index                        : N/A
        Host ID                           : N/A
        Peer Type                         : N/A
        Module Id                         : N/A
        GPU Fabric GUID                   : N/A
    Inforom Version
        Image Version                     : N/A
        OEM Object                        : N/A
        ECC Object                        : N/A
        Power Management Object           : N/A
    Inforom BBX Object Flush
        Latest Timestamp                  : N/A
        Latest Duration                   : N/A
    GPU Operation Mode
        Current                           : N/A
        Pending                           : N/A
    GPU C2C Mode                          : Disabled
    GPU Virtualization Mode
        Virtualization Mode               : None
        Host VGPU Mode                    : N/A
        vGPU Heterogeneous Mode           : N/A
    GPU Recovery Action                   : None
    GSP Firmware Version                  : 580.00
    IBMNPU
        Relaxed Ordering Mode             : N/A
    PCI
        Bus                               : 0x01
        Device                            : 0x00
        Domain                            : 0x0000
        Base Classcode                    : 0x3
        Sub Classcode                     : 0x2
        Device Id                         : 0x2B0010DE
        Bus Id                            : 00000000:01:00.0
        Sub System Id                     : 0x00000000
        GPU Link Info
            PCIe Generation
                Max                       : 1
                Current                   : 1
                Device Current            : 1
                Device Max                : 5
                Host Max                  : 1
            Link Width
                Max                       : 16x
                Current                   : 1x
        Bridge Chip
            Type                          : N/A
            Firmware                      : N/A
        Replays Since Reset               : 0
        Replay Number Rollovers           : 0
        Tx Throughput                     : N/A
        Rx Throughput                     : N/A
        Atomic Caps Outbound              : FETCHADD_32 FETCHADD_64 SWAP_32 SWAP_64 CAS_32 CAS_64 
        Atomic Caps Inbound               : N/A
    Fan Speed                             : N/A
    Performance State                     : N/A
    Clocks Event Reasons                  : N/A
    Clocks Event Reasons Counters
        SW Power Capping                  : N/A
        Sync Boost                        : N/A
        SW Thermal Slowdown               : N/A
        HW Thermal Slowdown               : N/A
        HW Power Braking                  : N/A
    Sparse Operation Mode                 : N/A
    FB Memory Usage
        Total                             : N/A
        Reserved                          : N/A
        Used                              : N/A
        Free                              : N/A
    BAR1 Memory Usage
        Total                             : N/A
        Used                              : N/A
        Free                              : N/A
    Conf Compute Protected Memory Usage
        Total                             : 0 MiB
        Used                              : 0 MiB
        Free                              : 0 MiB
    Compute Mode                          : Default
    Utilization
        GPU                               : 98 %
        Memory                            : 0 %
        Encoder                           : 0 %
        Decoder                           : 0 %
        JPEG                              : 0 %
        OFA                               : 0 %
    Encoder Stats
        Active Sessions                   : 0
        Average FPS                       : 0
        Average Latency                   : 0
    FBC Stats
        Active Sessions                   : 0
        Average FPS                       : 0
        Average Latency                   : 0
    DRAM Encryption Mode
        Current                           : N/A
        Pending                           : N/A
    ECC Mode
        Current                           : N/A
        Pending                           : N/A
    ECC Errors
        Volatile
            SRAM Correctable              : N/A
            SRAM Uncorrectable Parity     : N/A
            SRAM Uncorrectable SEC-DED    : N/A
            DRAM Correctable              : N/A
            DRAM Uncorrectable            : N/A
        Aggregate
            SRAM Correctable              : N/A
            SRAM Uncorrectable Parity     : N/A
            SRAM Uncorrectable SEC-DED    : N/A
            DRAM Correctable              : N/A
            DRAM Uncorrectable            : N/A
            SRAM Threshold Exceeded       : N/A
        Aggregate Uncorrectable SRAM Sources
            SRAM L2                       : N/A
            SRAM SM                       : N/A
            SRAM Microcontroller          : N/A
            SRAM PCIE                     : N/A
            SRAM Other                    : N/A
        Channel Repair Pending            : N/A
        TPC Repair Pending                : N/A
    Retired Pages
        Single Bit ECC                    : N/A
        Double Bit ECC                    : N/A
        Pending Page Blacklist            : N/A
    Remapped Rows                         : N/A
    Temperature
        GPU Current Temp                  : 60 C
        GPU T.Limit Temp                  : N/A
        GPU Shutdown Temp                 : N/A
        GPU Slowdown Temp                 : N/A
        GPU Max Operating Temp            : N/A
        GPU Target Temperature            : N/A
        Memory Current Temp               : N/A
        Memory Max Operating Temp         : N/A
    GPU Power Readings
        Average Power Draw                : N/A
        Instantaneous Power Draw          : 36.21 W
        Current Power Limit               : N/A
        Requested Power Limit             : N/A
        Default Power Limit               : N/A
        Min Power Limit                   : N/A
        Max Power Limit                   : N/A
    GPU Memory Power Readings 
        Average Power Draw                : N/A
        Instantaneous Power Draw          : N/A
    Module Power Readings
        Average Power Draw                : N/A
        Instantaneous Power Draw          : N/A
        Current Power Limit               : N/A
        Requested Power Limit             : N/A
        Default Power Limit               : N/A
        Min Power Limit                   : N/A
        Max Power Limit                   : N/A
    Power Smoothing                       : N/A
    Workload Power Profiles
        Requested Profiles                : N/A
        Enforced Profiles                 : N/A
    Clocks
        Graphics                          : 1575 MHz
        SM                                : N/A
        Memory                            : N/A
        Video                             : 315 MHz
    Applications Clocks
        Graphics                          : Requested functionality has been deprecated
        Memory                            : Requested functionality has been deprecated
    Default Applications Clocks
        Graphics                          : Requested functionality has been deprecated
        Memory                            : Requested functionality has been deprecated
    Deferred Clocks
        Memory                            : N/A
    Max Clocks
        Graphics                          : N/A
        SM                                : N/A
        Memory                            : N/A
        Video                             : N/A
    Max Customer Boost Clocks
        Graphics                          : N/A
    Clock Policy
        Auto Boost                        : N/A
        Auto Boost Default                : N/A
    Fabric
        State                             : Deprecated; See field Probe State instead
        Probe State                       : N/A
        Status                            : Deprecated; See field Probe Status instead
        Probe Status                      : N/A
        CliqueId                          : N/A
        ClusterUUID                       : N/A
        Health
            Summary                       : N/A
            Bandwidth                     : N/A
            Route Recovery in progress    : N/A
            Route Unhealthy               : N/A
            Access Timeout Recovery       : N/A
            Incorrect Configuration       : N/A
    Processes
        GPU instance ID                   : N/A
        Compute instance ID               : N/A
        Process ID                        : 3559
            Type                          : G
            Name                          : /usr/lib/xorg/Xorg
            Used GPU Memory               : 95 MiB
        GPU instance ID                   : N/A
        Compute instance ID               : N/A
        Process ID                        : 3775
            Type                          : G
            Name                          : /usr/bin/gnome-shell
            Used GPU Memory               : 58 MiB
        GPU instance ID                   : N/A
        Compute instance ID               : N/A
        Process ID                        : 8710
            Type                          : C+G
            Name                          : ./llama-b10099/llama-cli
            Used GPU Memory               : 33671 MiB
    Capabilities
        EGM                               : disabled

nvidia@localhost:~$ nvidia-smi mig -lgip
+-------------------------------------------------------------------------------+
| GPU instance profiles:                                                        |
| GPU   Name               ID    Instances   Memory     P2P    SM    DEC   ENC  |
|                                Free/Total   GiB              CE    JPEG  OFA  |
|===============================================================================|

[링크 : https://blog.naver.com/techtrip/224167049409]

[링크 : https://docs.nvidia.com/jetson/archives/r39.2/DeveloperGuide/SD/MiG.html#getting-started-with-mig-on-jetson-thor]

+

gdm만 죽이나 isolate 해서 죽이나 별반 차이 없는 것 같이 안된다 ㅠㅠ

nvidia@localhost:~$ nvidia-smi -i 0
Fri Jul 24 11:57:43 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.00                 Driver Version: 580.00         CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA Thor                    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   40C  N/A               2W /  N/A  | Not Supported          |      0%      Default |
|                                         |                        |             Disabled |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            3559      G   /usr/lib/xorg/Xorg                       95MiB |
|    0   N/A  N/A            3775      G   /usr/bin/gnome-shell                     58MiB |
+-----------------------------------------------------------------------------------------+
nvidia@localhost:~$ systemctl stop gdm
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ====
Authentication is required to stop 'gdm.service'.
Authenticating as: nvidia
Password: 
==== AUTHENTICATION COMPLETE ====
nvidia@localhost:~$ nvidia-smi -i 0
Fri Jul 24 11:58:10 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.00                 Driver Version: 580.00         CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA Thor                    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   40C  N/A               1W /  N/A  | Not Supported          |      0%      Default |
|                                         |                        |             Disabled |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+
nvidia@localhost:~$ nvidia-smi -L
GPU 0: NVIDIA Thor (UUID: GPU-a7c66ad2-6dbb-0ab8-c1a2-37ba6dba3600)
nvidia@localhost:~$ nvidia-smi -i 0 -mig 1
Unable to enable MIG Mode for GPU 00000000:01:00.0: Insufficient Permissions
Terminating early due to previous errors.
nvidia@localhost:~$ sudo nvidia-smi -i 0 -mig 1
Enabled MIG Mode for GPU 00000000:01:00.0

Warning: persistence mode is disabled on device 00000000:01:00.0. See the Known Issues section of the nvidia-smi(1) man page for more information. Run with [--help | -h] switch to get more information on how to enable persistence mode.
All done.
nvidia@localhost:~$ nvidia-smi -L
GPU 0: NVIDIA Thor (UUID: GPU-a7c66ad2-6dbb-0ab8-c1a2-37ba6dba3600)
nvidia@localhost:~$ sudo nvidia-smi -L
GPU 0: NVIDIA Thor (UUID: GPU-a7c66ad2-6dbb-0ab8-c1a2-37ba6dba3600)
nvidia@localhost:~$ nvidia-smi
Fri Jul 24 12:00:54 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.00                 Driver Version: 580.00         CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA Thor                    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   40C  N/A               3W /  N/A  | Not Supported          |     N/A      Default |
|                                         |                        |              Enabled |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| MIG devices:                                                                            |
+------------------+----------------------------------+-----------+-----------------------+
| GPU  GI  CI  MIG |              Shared Memory-Usage |        Vol|        Shared         |
|      ID  ID  Dev |                Shared BAR1-Usage | SM     Unc| CE ENC  DEC  OFA  JPG |
|                  |                                  |        ECC|                       |
|==================+==================================+===========+=======================|
|  No MIG devices found                                                                   |
+-----------------------------------------------------------------------------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+
nvidia@localhost:~$ nvidia-smi mig -lgip
+-------------------------------------------------------------------------------+
| GPU instance profiles:                                                        |
| GPU   Name               ID    Instances   Memory     P2P    SM    DEC   ENC  |
|                                Free/Total   GiB              CE    JPEG  OFA  |
|===============================================================================|
Failed to display GPU instance profiles: Unknown Error
nvidia@localhost:~$ sudo nvidia-smi mig -lgip
+-------------------------------------------------------------------------------+
| GPU instance profiles:                                                        |
| GPU   Name               ID    Instances   Memory     P2P    SM    DEC   ENC  |
|                                Free/Total   GiB              CE    JPEG  OFA  |
|===============================================================================|
Failed to display GPU instance profiles: Unknown Error







nvidia@localhost:~$ sudo nvidia-smi -pm 1
Enabled Legacy persistence mode for GPU 00000000:01:00.0.
All done.
nvidia@localhost:~$ sudo nvidia-smi -i 0 -mig 1
Enabled MIG Mode for GPU 00000000:01:00.0
All done.
nvidia@localhost:~$ sudo nvidia-smi mig -lgip
+-------------------------------------------------------------------------------+
| GPU instance profiles:                                                        |
| GPU   Name               ID    Instances   Memory     P2P    SM    DEC   ENC  |
|                                Free/Total   GiB              CE    JPEG  OFA  |
|===============================================================================|
Failed to display GPU instance profiles: Unknown Error

 

driver 버전은 이런데..

NVIDIA-SMI 580.00                 Driver Version: 580.00         CUDA Version: 13.0 

[링크 : https://forums.developer.nvidia.com/t/jetson-thor-mig-enabled-but-unable-to-create-gpu-instances-driver-580-00-l4t-r38-2/372073]

 

jetpack 버전은 38.4 같다. 일단 위에서 JetPack 7.2GA/R39.2 라고 했으니 업데이드 해봐야하나?

$ dpkg-query --show nvidia-l4t-core
nvidia-l4t-core 38.4.0-20251230160601

[링크 : https://yoo-hk.tistory.com/555]

 

 

--

싹다 밀어버리고 컴백

$ nvidia-smi
Fri Jul 24 17:02:29 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 595.78                 Driver Version: 595.78         CUDA Version: 13.2     |

$ dpkg-query --show nvidia-l4t-core
nvidia-l4t-core 39.2.0-20260601141651

 

일단 잡을 녀석들 죽이고

$ sudo systemctl stop gdm
$ sudo systemctl stop nvargus-daemon

 

일단 persistent mode 하지 않고 하면 목록에서 에러는 나지 않는데 실패

nvidia@nvidia:~$ nvidia-smi -i 0 -mig 1
Unable to enable MIG Mode for GPU 00000000:01:00.0: Insufficient Permissions
Terminating early due to previous errors.
nvidia@nvidia:~$ nvidia-smi -L
GPU 0: NVIDIA Thor (UUID: GPU-a7c66ad2-6dbb-0ab8-c1a2-37ba6dba3600)
nvidia@nvidia:~$ nvidia-smi mig -lgip
+-------------------------------------------------------------------------------+
| GPU instance profiles:                                                        |
| GPU   Name               ID    Instances   Memory     P2P    SM    DEC   ENC  |
|                                Free/Total   GiB              CE    JPEG  OFA  |
|===============================================================================|
nvidia@nvidia:~$ sudo nvidia-smi mig -lgip
+-------------------------------------------------------------------------------+
| GPU instance profiles:                                                        |
| GPU   Name               ID    Instances   Memory     P2P    SM    DEC   ENC  |
|                                Free/Total   GiB              CE    JPEG  OFA  |
|===============================================================================|
nvidia@nvidia:~$ nvidia-smi mig

    mig -- Multi Instance GPU management.

    Usage: nvidia-smi mig [options]

    Options include:
    [-h | --help]: Display help information.
    [-i | --id]: Enumeration index, PCI bus ID or UUID.
                 Provide comma separated values for more than one device.
    [-gi | --gpu-instance-id]: GPU instance ID.
                               Provide comma separated values for more than one GPU instance.
    [-ci | --compute-instance-id]: Compute instance ID.
                                   Provide comma separated values for more than one compute 
                                   instance.
    [-lgip | --list-gpu-instance-profiles]: List supported GPU instance profiles.
                                            Option -i can be used to restrict the command to
                                            run on a specific GPU.
    [-lgipp | --list-gpu-instance-possible-placements]: List possible GPU instance placements
                                                        in the following format, {Start}:Size.
                                                        Option -i can be used to restrict the
                                                        command to run on a specific GPU.
    [-C | --default-compute-instance]: Create compute instance with the default profile when used
                                       with the option to create a GPU instance (-cgi).
    [-cgi | --create-gpu-instance]: Create GPU instances for the given profile tuples. A profile
                                    tuple consists of a profile name or ID and an optional placement
                                    specifier, which consists of a colon and a placement start index.
                                    Provide comma separated values for more than one profile tuple.
                                    Option -i can be used to restrict the command to run on
                                    a specific GPU.
    [-dgi | --destroy-gpu-instance]: Destroy GPU instances.
                                     Options -i and -gi can be used individually or combined
                                     to restrict the command to run on a specific GPU or GPU
                                     instance.
    [-lgi | --list-gpu-instances]: List GPU instances.
                                   Option -i can be used to restrict the command to run on a
                                   specific GPU.
    [-lcip | --list-compute-instance-profiles]: List supported compute instance profiles.
                                                Options -i and -gi can be used individually or
                                                combined to restrict the command to run on a
                                                specific GPU or GPU instance.
    [-lcipp | --list-compute-instance-possible-placements]: List possible compute instance placements
                                                            in the following format, {Start}:Size.
                                                            Options -i and -gi can be used individually or
                                                            combined to restrict the command to run on a
                                                            specific GPU or GPU instance.
    [-cci | --create-compute-instance]: Create compute instance for the given profile name or IDs.
                                        Provide comma separated values for more than one profile.
                                        If no profile name or ID is given, then the default*
                                        compute instance profile ID will be used. Options -i and
                                        -gi can be used individually or combined to restrict the
                                        command to run on a specific GPU or GPU instance.
    [-dci | --destroy-compute-instance]: Destroy compute instances.
                                         Options -i, -gi and -ci can be used individually or
                                         combined to restrict the command to run on a specific
                                         GPU or GPU instance or compute instance.
    [-lci | --list-compute-instances]: List compute instances.
                                       Options -i and -gi can be used individually or combined
                                       to restrict the command to run on a specific GPU or GPU
                                       instance.

 

persistent mode를 활성화 해주어야 한다. 물론 persistent mode 한다고 해서

전원 off 하고 다시 켠다고 또 되는건 아닌듯. 그럼 왜 persistent mode라고 하는겨?

nvidia@nvidia:~$ sudo nvidia-smi -pm 1
Enabled Legacy persistence mode for GPU 00000000:01:00.0.
All done.
nvidia@nvidia:~$ sudo nvidia-smi -i 0 -mig 1
Enabled MIG Mode for GPU 00000000:01:00.0
All done.
nvidia@nvidia:~$ sudo nvidia-smi mig -lgip
+-------------------------------------------------------------------------------+
| GPU instance profiles:                                                        |
| GPU   Name               ID    Instances   Memory     P2P    SM    DEC   ENC  |
|                                Free/Total   GiB              CE    JPEG  OFA  |
|===============================================================================|
|   0  MIG 1g.0gb+me       78     1/1        0.00       No      6     1     1   |
|                                                               1     1     1   |
+-------------------------------------------------------------------------------+
|   0  MIG 1g.0gb          80     1/1        0.00       No      6     1     1   |
|                                                               1     1     0   |
+-------------------------------------------------------------------------------+
|   0  MIG 1g.0gb+gfx      81     1/1        0.00       No      6     1     1   |
|                                                               1     1     0   |
+-------------------------------------------------------------------------------+
|   0  MIG 2g.0gb          82     1/1        0.00       No     12     1     1   |
|                                                               1     1     0   |
+-------------------------------------------------------------------------------+
|   0  MIG 2g.0gb+gfx      83     1/1        0.00       No     12     1     1   |
|                                                               1     1     0   |
+-------------------------------------------------------------------------------+
|   0  MIG 3g.0gb           0     1/1        0.00       No     20     2     2   |
|                                                               1     2     1   |
+-------------------------------------------------------------------------------+
|   0  MIG 3g.0gb+gfx      32     1/1        0.00       No     20     2     2   |
|                                                               1     2     1   |
+-------------------------------------------------------------------------------+

 

아무튼 이렇게 해야지 리셋도 된다.

nvidia@nvidia:~$ sudo systemctl status nvargus-daemon
● nvargus-daemon.service - Argus daemon
     Loaded: loaded (/etc/systemd/system/nvargus-daemon.service; enabled; preset: enabled)
     Active: active (running) since Fri 2026-07-24 17:00:50 KST; 14min ago
   Main PID: 2555 (nvargus-daemon)
      Tasks: 3 (limit: 150257)
     Memory: 68.8M (peak: 108.8M)
        CPU: 285ms
     CGroup: /system.slice/nvargus-daemon.service
             └─2555 /usr/sbin/nvargus-daemon

Jul 24 17:00:54 nvidia nvargus-daemon[2555]: CaptureService:stop: is requested --------------------------
Jul 24 17:00:55 nvidia nvargus-daemon[2555]: SCF: Error 0x00000008: Service not running (in src/services/power/PowerService.cpp, function stopS>
Jul 24 17:00:55 nvidia nvargus-daemon[2555]: SCF: Error 0x00000008:  (propagating from src/components/ServiceHost.cpp, function stopServicesInt>
Jul 24 17:00:55 nvidia nvargus-daemon[2555]: SCF: Error 0x0000000f:  (propagating from src/api/CameraDriver.cpp, function initialize(), line 18>
Jul 24 17:00:55 nvidia nvargus-daemon[2555]: SCF: Error 0x00000008: Services are already stopped (in src/components/ServiceHost.cpp, function s>
Jul 24 17:00:55 nvidia nvargus-daemon[2555]: SCF: Error 0x0000000f:  (propagating from src/api/CameraDriver.cpp, function getCameraDriver(), li>
Jul 24 17:00:55 nvidia nvargus-daemon[2555]: (Argus) Error 0x0000000f:  (propagating from src/api/GlobalProcessState.cpp, function createCamera>
Jul 24 17:00:55 nvidia nvargus-daemon[2555]: === gst-plugin-scanner2811)[2811]: CameraProvider failed to initialize
Jul 24 17:00:55 nvidia nvargus-daemon[2555]: === gst-plugin-scanner2811)[2811]: Connection closed (FFFF949B88C0)
Jul 24 17:00:55 nvidia nvargus-daemon[2555]: === gst-plugin-scanner2811)[2811]: Connection cleaned up (FFFF949B88C0)
nvidia@nvidia:~$ sudo systemctl stop nvargus-daemon
nvidia@nvidia:~$ sudo nvidia-smi --gpu-reset -i 0
GPU 00000000:01:00.0 was successfully reset.
All done.

 

일단 다 죽이고

$ sudo nvidia-smi mig -dci && sudo nvidia-smi mig -dgi
No GPU instances found: Not Found

 

config 1 - 0
config 2 - 32
config 3 - 78, 83
config 4 - 80, 83
config 5 - 81, 82
config 6 - 82
config 7 - 83
config 8 - 78
config 9 - 80
config 10- 81

 

$ sudo nvidia-smi mig -cgi 80,83
Successfully created GPU instance ID  2 on GPU  0 using profile MIG 1g.0gb (ID 80)
Successfully created GPU instance ID  1 on GPU  0 using profile MIG 2g.0gb+gfx (ID 83)
nvidia@nvidia:~$ nvidia-smi
Fri Jul 24 17:50:43 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 595.78                 Driver Version: 595.78         CUDA Version: 13.2     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA Thor                    On  |   00000000:01:00.0 Off |                  N/A |
| N/A   42C  N/A               4W /  N/A  | Not Supported          |     N/A      Default |
|                                         |                        |              Enabled |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| MIG devices:                                                                            |
+------------------+----------------------------------+-----------+-----------------------+
| GPU  GI  CI  MIG |              Shared Memory-Usage |        Vol|        Shared         |
|      ID  ID  Dev |                Shared BAR1-Usage | SM     Unc| CE ENC  DEC  OFA  JPG |
|                  |                                  |        ECC|                       |
|==================+==================================+===========+=======================|
|  No MIG devices found                                                                   |
+-----------------------------------------------------------------------------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

 

nvidia@nvidia:~$ sudo nvidia-smi mig -cgi 80,83 -C
Successfully created GPU instance ID  2 on GPU  0 using profile MIG 1g.0gb (ID 80)
Successfully created compute instance ID  0 on GPU  0 GPU instance ID  2 using profile MIG 1g.0gb (ID  0)
Successfully created GPU instance ID  1 on GPU  0 using profile MIG 2g.0gb+gfx (ID 83)
Successfully created compute instance ID  0 on GPU  0 GPU instance ID  1 using profile MIG 2g.0gb (ID  1)
nvidia@nvidia:~$ nvidia-smi
Fri Jul 24 17:53:35 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 595.78                 Driver Version: 595.78         CUDA Version: 13.2     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA Thor                    On  |   00000000:01:00.0 Off |                  N/A |
| N/A   41C  N/A               4W /  N/A  | Not Supported          |     N/A      Default |
|                                         |                        |              Enabled |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| MIG devices:                                                                            |
+------------------+----------------------------------+-----------+-----------------------+
| GPU  GI  CI  MIG |              Shared Memory-Usage |        Vol|        Shared         |
|      ID  ID  Dev |                Shared BAR1-Usage | SM     Unc| CE ENC  DEC  OFA  JPG |
|                  |                                  |        ECC|                       |
|==================+==================================+===========+=======================|
|  0    1   0   0  |                 N/A              | 12      0 |  1   1    1    0    1 |
|                  |                 N/A              |           |                       |
+------------------+----------------------------------+-----------+-----------------------+
|  0    2   0   1  |                 N/A              |  6      0 |  1   1    1    0    1 |
|                  |                 N/A              |           |                       |
+------------------+----------------------------------+-----------+-----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+
nvidia@nvidia:~$ nvidia-smi -L
GPU 0: NVIDIA Thor (UUID: GPU-a7c66ad2-6dbb-0ab8-c1a2-37ba6dba3600)
  MIG 2g.0gb      Device  0: (UUID: MIG-031bd8db-02a6-5420-968d-7fcdf907f7e4)
  MIG 1g.0gb      Device  1: (UUID: MIG-60591740-f26d-525b-ad5a-5f5ba115bc71)

 

 

+

2026.07.25

[링크 : https://toss.tech/article/toss-securities-gpu-mig]

'embeded > jetson' 카테고리의 다른 글

nvidia jetson agx thor dev kit 설치 - USB boot  (0) 2026.07.24
nvidia jetson 아니고 nvidia thor  (0) 2026.07.24
jetson nano + llama.cpp vulkan  (0) 2026.07.21
jetson nano jtop  (0) 2026.07.20
jetson nano 4GB / qwen3.5 0.8B  (0) 2026.07.20
Posted by 구차니
embeded/jetson2026. 7. 24. 11:15

회사에 굴러 다니고 있어서 전기 먹여 봄

일단 blackwell 기반이니까 50 시리즈와 동급이란거구만

[링크 : https://www.nvidia.com/ko-kr/autonomous-machines/embedded-systems/jetson-thor/]

 

와우 금액 미쳤...

판매가 (VAT 별도/포함)
8,750,000원 (9,625,000원)

[링크 : https://www.devicemart.co.kr/goods/view?no=15796725&srsltid=AfmBOooug8Uqa3UGdtlryrdtVMt2Y_GPgt9JIldPH-1rxrBXUMnJPjMN]


음.. 소비전력 안보이고, 메모리 사용량 미지원인가?

 

메모리 128GB

그나저나 내부적으로 말이 오락가락 했나 dmidecode  에서는 AGX Thor 라고 나온다.

nvidia@localhost:~$ uname -a
Linux localhost.localdomain 6.8.12-tegra #1 SMP PREEMPT Tue Dec 30 15:40:41 PST 2025 aarch64 aarch64 aarch64 GNU/Linux

nvidia@localhost:~$ free -h
               total        used        free      shared  buff/cache   available
Mem:           122Gi       4.4Gi       117Gi        25Mi       2.2Gi       118Gi
Swap:          2.0Gi          0B       2.0Gi

nvidia@localhost:~$ cat /proc/meminfo 
MemTotal:       128790212 kB
MemFree:        122909432 kB
MemAvailable:   124174080 kB
Buffers:           75332 kB
Cached:          2157868 kB
SwapCached:            0 kB
Active:           488036 kB
Inactive:        2835216 kB
Active(anon):       7456 kB
Inactive(anon):  1136416 kB
Active(file):     480580 kB
Inactive(file):  1698800 kB
Unevictable:       27380 kB
Mlocked:              16 kB
SwapTotal:       2097148 kB
SwapFree:        2097148 kB
Dirty:            214136 kB
Writeback:             0 kB
AnonPages:       1111168 kB
Mapped:           662168 kB
Shmem:             26448 kB
KReclaimable:     115036 kB
Slab:             331556 kB
SReclaimable:     115036 kB
SUnreclaim:       216520 kB
KernelStack:       16736 kB
PageTables:        27972 kB
SecPageTables:         0 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    66492252 kB
Committed_AS:    7415448 kB
VmallocTotal:   133141626880 kB
VmallocUsed:      111644 kB
VmallocChunk:          0 kB
Percpu:             9688 kB
HardwareCorrupted:     0 kB
AnonHugePages:    161792 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
CmaTotal:         524288 kB
CmaFree:          484248 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB


nvidia@localhost:~$ cat /proc/cpuinfo 
processor : 0
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

processor : 1
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

processor : 2
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

processor : 3
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

processor : 4
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

processor : 5
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

processor : 6
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

processor : 7
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

processor : 8
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

processor : 9
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

processor : 10
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

processor : 11
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

processor : 12
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

processor : 13
BogoMIPS : 2000.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti ecv afp wfxt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd83
CPU revision : 0

$ sudo dmidecode 
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.6.0 present.
# SMBIOS implementations newer than version 3.5.0 are not
# fully supported by this version of dmidecode.
Table at 0x1FBB130000.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
Vendor: EDK II
Version: 38.4.0-gcid-43443517
Release Date: 12/30/2025
ROM Size: 0 MB
Characteristics:
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
ACPI is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 0.0
Firmware Revision: 0.0

Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: NVIDIA
Product Name: NVIDIA Jetson AGX Thor Developer Kit
Version: Not Specified
Serial Number: 1423525040774
UUID: 5ecc6819-51f8-517e-b26f-0f0163b2c9ab
Wake-up Type: Power Switch
SKU Number: Unknown
Family: Unknown

Handle 0x0002, DMI type 3, 25 bytes
Chassis Information
Manufacturer: NVIDIA
Type: Other
Lock: Not Present
Version: Unknown
Serial Number: Unknown
Asset Tag: 699-13834-0008-400 H.1
Boot-up State: Unknown
Power Supply State: Unknown
Thermal State: Unknown
Security Status: Unknown
OEM Information: 0x00000000
Height: 1 U
Number Of Power Cords: 1
Contained Elements: 0
SKU Number: Unknown

Handle 0x0003, DMI type 2, 17 bytes
Base Board Information
Manufacturer: NVIDIA
Product Name: Jetson
Version: Not Specified
Serial Number: 1423525040774
Asset Tag: 699-13834-0008-400 H.1
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Unknown
Chassis Handle: 0x0002
Type: Motherboard
Contained Object Handles: 0

Handle 0x0004, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Long
Installable Languages: 1
en|US|iso8859-1
Currently Installed Language: en|US|iso8859-1

Handle 0x0005, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected

Handle 0x0006, DMI type 7, 27 bytes
Cache Information
Socket Designation: L1 Instruction Cache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Unknown
Location: Unknown
Installed Size: 896 kB
Maximum Size: 896 kB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Unknown
System Type: Instruction
Associativity: 4-way Set-associative

Handle 0x0007, DMI type 7, 27 bytes
Cache Information
Socket Designation: L1 Data Cache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Unknown
Location: Unknown
Installed Size: 896 kB
Maximum Size: 896 kB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Unknown
System Type: Data
Associativity: 4-way Set-associative

Handle 0x0008, DMI type 7, 27 bytes
Cache Information
Socket Designation: L2 Cache
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Unknown
Location: Unknown
Installed Size: 14 MB
Maximum Size: 14 MB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Unknown
System Type: Unified
Associativity: 8-way Set-associative

Handle 0x0009, DMI type 4, 50 bytes
Processor Information
Socket Designation: Not Specified
Type: Central Processor
Family: ARMv8
Manufacturer: NVIDIA
ID: 64 02 6B 03 01 04 00 00
Signature: JEP-106 Bank 0x03 Manufacturer 0x6b, SoC ID 0x0264, SoC Revision 0x00000401
Version: Thor
Voltage: Unknown
External Clock: 1000 MHz
Max Speed: 2601 MHz
Current Speed: 2601 MHz
Status: Populated, Enabled
Upgrade: Unknown
L1 Cache Handle: 0x0007
L2 Cache Handle: 0x0008
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 14
Core Enabled: 14
Thread Count: 14
Characteristics:
64-bit capable
Multi-Core
Execute Protection
Enhanced Virtualization
Arm64 SoC ID

Handle 0x000A, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Single-bit ECC
Maximum Capacity: 128 GB
Error Information Handle: Not Provided
Number Of Devices: 1

Handle 0x000B, DMI type 19, 31 bytes
Memory Array Mapped Address
Starting Address: 0x00080000000
Ending Address: 0x0207FFFFFFF
Range Size: 128 GB
Physical Array Handle: 0x000A
Partition Width: 1

Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table

 

'embeded > jetson' 카테고리의 다른 글

nvidia jetson agx thor dev kit 설치 - USB boot  (0) 2026.07.24
nvidia MIG(multiple instance GPU) - thor  (0) 2026.07.24
jetson nano + llama.cpp vulkan  (0) 2026.07.21
jetson nano jtop  (0) 2026.07.20
jetson nano 4GB / qwen3.5 0.8B  (0) 2026.07.20
Posted by 구차니
embeded/jetson2026. 7. 21. 16:02

jetson nano 4GB 에서 시도함.

cuda는 버전에 낮아서 안되고(llama.cpp가 cuda 12/13 지원. 얘는 10.x)

docker에서는 nvidia vulkan이 없어서 가속을 할 수 없어서 native vulkan빌드 부터 개고생해서 올렸는데

노력대비(2일 풀로 가동..) 효율이 좋다고 할 순 없겠지만,

그래도 나름 괜찮은 성능과 vulkan 가속이라 cpu 점유율 낮출 수 있다는게 그나마 위안인가..

그런데 이러면 발열은 어떨려나? cpu쪽이 더 낮을까.. gpu  쓰는게 낮을까?

 

옆에 스크롤이 점만해졌음 ㅋㅋㅋ 중반쯤에 포기하자는거 끝까지 멱살잡고 캐리해서 진행해버림 

ㅋㅋ 이러니 ai가 반란을 일으키고 터미네이터가 되는건가 ㅋㅋ

2GB 메모리라면 최소한 스왑 6GB 이상은 해야 할 것으로 보인다.

sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

 

일단 gcc9를 설치하면 손쉽게 행복해짐

sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y gcc-9 g++-9

 

빌드를 위한 헤더들 및 버전 맞추기

dpkg -l | grep nvidia-l4t
sudo apt-get update
sudo apt-get install --only-upgrade -y \
  nvidia-l4t-core \
  nvidia-l4t-bootloader \
  nvidia-l4t-configs \
  nvidia-l4t-gputools \
  nvidia-l4t-initrd \
  nvidia-l4t-jetson-io \
  nvidia-l4t-oem-config \
  nvidia-l4t-tools
sudo ldconfig
vulkaninfo --summary   # 여기서 GPU(NVIDIA Tegra X1 (nvgpu))가 정상 인식되는지 확인

sudo apt-get install -y libvulkan-dev libvulkan1
sudo apt-get install -y nvidia-l4t-libvulkan

 

glslang 설치

cd ~
git clone https://github.com/KhronosGroup/glslang.git
cd glslang
python3 update_glslang_sources.py
mkdir build && cd build
export LDFLAGS="-lstdc++fs"
/opt/cmake/bin/cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local \
  -DCMAKE_C_COMPILER=gcc-9 -DCMAKE_CXX_COMPILER=g++-9
make -j$(nproc)
sudo make install
which glslangValidator

 

 shaderc 설치

cd ~
git clone https://github.com/google/shaderc.git
cd shaderc
python3 utils/git-sync-deps
mkdir build && cd build
export LDFLAGS="-lstdc++fs"
/opt/cmake/bin/cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local \
  -DCMAKE_C_COMPILER=gcc-9 -DCMAKE_CXX_COMPILER=g++-9 \
  -DSHADERC_SKIP_TESTS=ON -DSHADERC_SKIP_EXAMPLES=ON \
  -DSPIRV_SKIP_EXECUTABLES=ON
make glslc_exe -j$(nproc)
sudo cp glslc/glslc /usr/local/bin/
which glslc
glslc --version

 

vulkan 관련 헤더 SPIRV 설치

cd ~
git clone https://github.com/KhronosGroup/SPIRV-Headers.git
cd SPIRV-Headers
mkdir build && cd build
/opt/cmake/bin/cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
sudo make install

 

cmake version 3.31.8 설치

/opt/cmake/bin/cmake .. -DGGML_VULKAN=ON   -DCMAKE_C_COMPILER=gcc-9 -DCMAKE_CXX_COMPILER=g++-9   -DCMAKE_C_FLAGS="-Wno-error"

 

아래는 빌드시 문제가 되서 수정한 부분

$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

modified:   ../../ggml/src/ggml-cpu/ggml-cpu-impl.h
modified:   ../../tools/ui/CMakeLists.txt

no changes added to commit (use "git add" and/or "git commit -a")
jetson@jetson-desktop:~/src/llama.cpp/build/bin$ git diff
diff --git a/ggml/src/ggml-cpu/ggml-cpu-impl.h b/ggml/src/ggml-cpu/ggml-cpu-impl.h
index 5d1ca5ffc..f39d56694 100644
--- a/ggml/src/ggml-cpu/ggml-cpu-impl.h
+++ b/ggml/src/ggml-cpu/ggml-cpu-impl.h
@@ -296,12 +296,28 @@ inline static uint8x16_t ggml_vqtbl1q_u8(uint8x16_t a, uint8x16_t b) {
 
 #define ggml_vld1q_s16_x2 vld1q_s16_x2
 #define ggml_vld1q_u8_x2  vld1q_u8_x2
-#define ggml_vld1q_u8_x4  vld1q_u8_x4
 #define ggml_vld1q_s8_x2  vld1q_s8_x2
-#define ggml_vld1q_s8_x4  vld1q_s8_x4
 #define ggml_vqtbl1q_s8   vqtbl1q_s8
 #define ggml_vqtbl1q_u8   vqtbl1q_u8
 
+inline static uint8x16x4_t ggml_vld1q_u8_x4(const uint8_t * ptr) {
+    uint8x16x4_t res;
+    res.val[0] = vld1q_u8(ptr + 0);
+    res.val[1] = vld1q_u8(ptr + 16);
+    res.val[2] = vld1q_u8(ptr + 32);
+    res.val[3] = vld1q_u8(ptr + 48);
+    return res;
+}
+
+inline static int8x16x4_t ggml_vld1q_s8_x4(const int8_t * ptr) {
+    int8x16x4_t res;
+    res.val[0] = vld1q_s8(ptr + 0);
+    res.val[1] = vld1q_s8(ptr + 16);
+    res.val[2] = vld1q_s8(ptr + 32);
+    res.val[3] = vld1q_s8(ptr + 48);
+    return res;
+}
+
 #endif // !defined(__aarch64__)
 
 #if !defined(__ARM_FEATURE_DOTPROD)
diff --git a/tools/ui/CMakeLists.txt b/tools/ui/CMakeLists.txt
index 74bca417e..488fdc0be 100644
--- a/tools/ui/CMakeLists.txt
+++ b/tools/ui/CMakeLists.txt
@@ -105,3 +105,5 @@ endif()
 target_include_directories(${TARGET} PUBLIC
     ${CMAKE_CURRENT_BINARY_DIR}
 )
+
+target_link_libraries(llama-ui-embed PRIVATE stdc++fs)

 

git log. 일단 현시점 최신 버전인 b10068, 2026년 7월 18일자 소스

commit 571d0d540df04f25298d0e159e520d9fc62ed121 (HEAD -> master, tag: b10068, origin/master, origin/HEAD)
Author: Ruixiang Wang <wangruixiang07@outlook.com>
Date:   Sat Jul 18 15:02:18 2026 +0200

 

클로드 만세!!! string 머시기 없다고 파이썬으로 해치워 버림

cd ~/src/llama.cpp
python3 << 'PYEOF'
path = "ggml/src/ggml-cpu/ggml-cpu-impl.h"
with open(path, "r") as f:
    content = f.read()

old = """#define ggml_vld1q_s16_x2 vld1q_s16_x2
#define ggml_vld1q_u8_x2  vld1q_u8_x2
#define ggml_vld1q_u8_x4  vld1q_u8_x4
#define ggml_vld1q_s8_x2  vld1q_s8_x2
#define ggml_vld1q_s8_x4  vld1q_s8_x4
#define ggml_vqtbl1q_s8   vqtbl1q_s8
#define ggml_vqtbl1q_u8   vqtbl1q_u8"""

new = """#define ggml_vld1q_s16_x2 vld1q_s16_x2
#define ggml_vld1q_u8_x2  vld1q_u8_x2
#define ggml_vld1q_s8_x2  vld1q_s8_x2
#define ggml_vqtbl1q_s8   vqtbl1q_s8
#define ggml_vqtbl1q_u8   vqtbl1q_u8

inline static uint8x16x4_t ggml_vld1q_u8_x4(const uint8_t * ptr) {
    uint8x16x4_t res;
    res.val[0] = vld1q_u8(ptr + 0);
    res.val[1] = vld1q_u8(ptr + 16);
    res.val[2] = vld1q_u8(ptr + 32);
    res.val[3] = vld1q_u8(ptr + 48);
    return res;
}

inline static int8x16x4_t ggml_vld1q_s8_x4(const int8_t * ptr) {
    int8x16x4_t res;
    res.val[0] = vld1q_s8(ptr + 0);
    res.val[1] = vld1q_s8(ptr + 16);
    res.val[2] = vld1q_s8(ptr + 32);
    res.val[3] = vld1q_s8(ptr + 48);
    return res;
}"""

assert old in content, "패턴을 못 찾음 - 파일 확인 필요"
content = content.replace(old, new)
with open(path, "w") as f:
    f.write(content)
print("패치 완료")
PYEOF

 

llama.cpp vulkan 활성화 해서 빌드.

-j4 하고 싶은데 두번 정도 메모리 엄청 먹으면서 하나 빌드하는게 있어서 늦더라도 -j1 추천

cd ~/src/llama.cpp
mkdir -p build && cd build
rm -rf *
export LDFLAGS="-lstdc++fs"
/opt/cmake/bin/cmake .. -DGGML_VULKAN=ON \
  -DCMAKE_C_COMPILER=gcc-9 -DCMAKE_CXX_COMPILER=g++-9 \
  -DCMAKE_C_FLAGS="-Wno-error"

make llama-cli llama-server -j1

 

그렇게 빌드된 녀석을 qwen3.5-0.8B-Q4 돌리면!

$ ./llama-cli -m ~/llm/Qwen3.5-0.8B-Q4_0.gguf --chat-template-kwargs "{\"enable_thinking\": false}" -c 4096 -ngl 99 -fa on


Loading model...  

▄▄ ▄▄
██ ██
██ ██  ▀▀█▄ ███▄███▄  ▀▀█▄    ▄████ ████▄ ████▄
██ ██ ▄█▀██ ██ ██ ██ ▄█▀██    ██    ██ ██ ██ ██
██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
                                    ██    ██
                                    ▀▀    ▀▀

build      : b10068-571d0d540
model      : /home/jetson/llm/Qwen3.5-0.8B-Q4_0.gguf
ftype      : Q4_0
modalities : text

available commands:
  /exit or Ctrl+C     stop or exit
  /regen              regenerate the last response
  /clear              clear the chat history
  /read <file>        add a text file
  /glob <pattern>     add text files using globbing pattern



> 안녕?
안녕하세요! 어시, 어떻게 도와드릴 수 있을까요?

[ Prompt: 21.4 t/s | Generation: 9.1 t/s ]

> 안녕?
안녕하세요! 어시, 어떻게 도와드릴 수 있을까요?

[ Prompt: 23.0 t/s | Generation: 9.1 t/s ]

> 너에 대해 소개
안녕하세요! 저는 인공지능(AI) 기술의 능력을 활용하여 정보를 제공하거나 논리적 사고를 도와줄 수 있는 **공급 서비스 봇 (Assistant)**입니다.

나는 다음과 같은 역할을 수행할 수 있습니다:
*   **정보 제공**: 지식 기반의 정보를 검색하고 요약 또는 정리해 줄 수 있습니다.
*   **논리적 분석**: 문장 구조나 논리 논리를 분석하여 설명을 돕습니다.
*   **문제 해결**: 질문에 답하거나 상황을 분석할 수 있습니다.
*   **대화 및 학습**: 대화와 학습을 통해 사용자 경험을 개선해 줍니다.

이러한 기능을 통해 **AI**를 대신할 수 있는 인간과 유사한 능력으로 **사용자**에게 도움을 줄 수 있습니다.

어떤 내용을 원하시는가요? (예: 답변, 설명, 대화, 학습 자료 등)

[ Prompt: 21.8 t/s | Generation: 8.5 t/s ]

> 코드 작성 python hello world 출력
네, 안녕하세요! 저는 인공지능(AI) 기술의 능력을 활용하여 정보를 제공하거나 논리적 사고를 도와드릴 수 있는 서비스 봇입니다.

제대안은 **Python**을 사용하여 `print` 함수로 `hello world`를 출력하는 코드를 작성해 드립니다.

```python
print("hello world")
```

이 코드를 실행하면 다음 문장이 출력됩니다:
`hello world`

혹시 다른 언어 (예: JavaScript, Java 등) 의 `hello world` 예제를 작성하고 싶으시다면 말씀해 주세요!

[ Prompt: 37.1 t/s | Generation: 8.4 t/s ]

 

jtop 에서 GPU 잘 올라간다. ㅋㅋㅋ

메모리는 1.2G / 3.9G. 잘하면 2G 모델에서도 돌아가겠는데?

 

요건 사용하지 않을때 GPU 정보. 76.8MHz 까지 떨어지다니 ㄷㄷ

 

혹시나 몰라서 동일 조건에서 gpu 사용하지 않도록 ngl 0 으로 하고 테스트

$ ./llama-cli -m ~/llm/Qwen3.5-0.8B-Q4_0.gguf --chat-template-kwargs "{\"enable_thinking\": false}" -c 4096 -ngl 0 -fa on


Loading model...  

▄▄ ▄▄
██ ██
██ ██  ▀▀█▄ ███▄███▄  ▀▀█▄    ▄████ ████▄ ████▄
██ ██ ▄█▀██ ██ ██ ██ ▄█▀██    ██    ██ ██ ██ ██
██ ██ ▀█▄██ ██ ██ ██ ▀█▄██ ██ ▀████ ████▀ ████▀
                                    ██    ██
                                    ▀▀    ▀▀

build      : b10068-571d0d540
model      : /home/jetson/llm/Qwen3.5-0.8B-Q4_0.gguf
ftype      : Q4_0
modalities : text

available commands:
  /exit or Ctrl+C     stop or exit
  /regen              regenerate the last response
  /clear              clear the chat history
  /read <file>        add a text file
  /glob <pattern>     add text files using globbing pattern



> 안녕?
안녕하세요! 네, 알겠습니다. 저는 인공지능으로 대화하고 정보를 제공해 드릴 수 있는 도구입니다. 무엇을 도와드릴까요? 😊

[ Prompt: 5.9 t/s | Generation: 3.3 t/s ]

> 너에 대해 소개해줘
안녕하세요! 네, 알겠습니다. 저는 인공지능으로 대화하고 정보를 제공해 드릴 수 있는 도구입니다. 무엇을 도와드릴까요? 😊

[ Prompt: 9.2 t/s | Generation: 3.3 t/s ]

> 파이썬으로 현재 디렉토리 목록 보는 프로그램 작서앻줘ㅏ
프라이썬으로 현재 디렉토리 목록을 보고 싶으신가요? 😊

이제 바로 `dir` 명령어에 대한 설명부터 실행 방법까지 알려드릴게요.

### 📂 디렉토리 목록을 표시하는 명령어

프라이썬에서 파일이나 디렉토리를 표시하려면 먼저 `dir` 명령어를 사용합니다.

```bash
cd <디렉토리명>
```

예를 들어, `C:\Users\박\Documents`를 표시하려면:
```bash
cd C:\Users\박\Documents
```
**단순히 `dir`을 입력하면 현재 디렉토리를 표시할 수 있습니다.**

---

### 🛠️ 실행 방법

#### 1. **프라이썬을 실행하기**
프라이썬은 웹 브라우저로 작동하는 프로그램으로, 브라우저에서 직접 실행해 볼 수 있습니다.

**단순 브라우저에서 실행하기:**
*   **Chrome/Edge/ChromeOS:** `https://www.python.org/` 에서 `dir` 명령어 추가하기 (F12 또는 `F11`를 누ار)
*   **Mac OS:** `Finder` → `Extensions` → `File Explorer` → `Python` → `dir`

**프라이썬을 설치하기:**
1.  `https://www.python.org/` 에서 `Install Python` 클릭
2.  설치 후 `~` 경로에 추가되면, 브라우저에서 `file://` 주소창을 입력하고 입력한 URL 을 보시면 됩니다.

---

### 💻 기본 실행 예시

```python
# 위 설명에서 예시처럼, 현재 디렉토리를 확인
dir
```

혹시 특정 파일이나 디렉토리를 찾으셨다면 `dir` 대신 `find` 명령어도 사용할 수 있습니다.
```bash
find <디렉토리명> -name "파일명"
```

어떤 작업을 하되든 프라이썬이 도와드릴게요! 😊

[ Prompt: 10.0 t/s | Generation: 3.1 t/s ]

어.. 그래도 2.7배. 약간 과장하면 3배 상승이네?

'embeded > jetson' 카테고리의 다른 글

nvidia MIG(multiple instance GPU) - thor  (0) 2026.07.24
nvidia jetson 아니고 nvidia thor  (0) 2026.07.24
jetson nano jtop  (0) 2026.07.20
jetson nano 4GB / qwen3.5 0.8B  (0) 2026.07.20
jetson nano 과 llama.cpp (가속, 빌드 포기)  (0) 2026.07.20
Posted by 구차니
embeded/jetson2026. 7. 20. 15:24

jetson nano 에는 nvidia-smi가 없어서 비슷한거 찾는데

gpt님께서 jtop을 점지해주심

 

sudo apt install python3-pip
sudo -H pip3 install -U jetson-stats
sudo systemctl restart jtop.service
jtop

 

cuda 예제 빌드해서 갈구니까

 

GPU에 올라가긴 한다

 

+

 

 

 

Posted by 구차니
embeded/jetson2026. 7. 20. 14:29

콘솔로 하니 이상하게 종료시 엔터가 미친듯이 나와서 웹으로 시도.

 

vulkan 인데도 vulkan 가속을 못 받는지 cpu 100%로 돈다.

 

최대 성능으로 가동

$ sudo nvpmodel -q
NVPM WARN: fan mode is not set!
NV Power Mode: MAXN
0

 

docker 로 서비스 실행

$ sudo docker run -p 8080:8080 -v /home/jetson/llm:/models ghcr.io/ggml-org/llama.cpp:server-vulkan --chat-template-kwargs "{\"enable_thinking\": false}"  -m /models/Qwen3.5-0.8B-Q4_0.gguf -c 4096 --port 8080 --host 0.0.0.0 
warn: LLAMA_ARG_HOST environment variable is set, but will be overwritten by command line argument --host
0.00.136.037 W Setting 'enable_thinking' via --chat-template-kwargs is deprecated. Use --reasoning on / --reasoning off instead.
0.00.136.924 I cmn  common_param: common_params_print_info: verbosity = 3 (adjust with the `-lv N` CLI arg)
0.00.138.536 W srv  llama_server: -----------------
0.00.138.551 W srv  llama_server: CORS is set to allow all origins ('*') and no API key is set
0.00.138.552 W srv  llama_server: this can be a security risk (cross-origin attacks)
0.00.138.553 W srv  llama_server: more info: https://github.com/ggml-org/llama.cpp/pull/25655
0.00.138.554 W srv  llama_server: -----------------
0.00.139.997 I srv    load_model: loading model '/models/Qwen3.5-0.8B-Q4_0.gguf'
0.04.582.967 I srv    load_model: initializing, n_slots = 4, n_ctx_slot = 4096, kv_unified = 'true'
0.04.681.224 I srv  llama_server: model loaded
0.04.681.254 I srv  llama_server: listening on http://0.0.0.0:8080
0.19.911.095 I slot get_availabl: id  3 | task -1 | selected slot by LRU, t_last = -1
0.19.911.286 I slot launch_slot_: id  3 | task 0 | processing task, is_child = 0
0.22.612.244 I slot print_timing: id  3 | task 0 | prompt eval time =    1093.85 ms /    13 tokens (   84.14 ms per token,    11.88 tokens per second)
0.22.612.263 I slot print_timing: id  3 | task 0 |        eval time =    1606.96 ms /    12 tokens (  133.91 ms per token,     7.47 tokens per second)
0.22.612.266 I slot print_timing: id  3 | task 0 |       total time =    2700.81 ms /    25 tokens
0.22.612.276 I slot print_timing: id  3 | task 0 |    graphs reused =         11
0.22.612.345 I slot      release: id  3 | task 0 | stop processing: n_tokens = 24, truncated = 0
0.32.329.433 I slot get_availabl: id  3 | task -1 | selected slot by LCP similarity, sim_best = 0.243 (> 0.100 thold), f_keep = 0.375
0.32.406.612 I slot launch_slot_: id  3 | task 14 | processing task, is_child = 0
0.37.382.135 I slot print_timing: id  3 | task 14 | prompt eval time =    2254.95 ms /    28 tokens (   80.53 ms per token,    12.42 tokens per second)
0.37.382.154 I slot print_timing: id  3 | task 14 |        eval time =    2720.41 ms /    18 tokens (  151.13 ms per token,     6.62 tokens per second)
0.37.382.157 I slot print_timing: id  3 | task 14 |       total time =    4975.37 ms /    46 tokens
0.37.382.160 I slot print_timing: id  3 | task 14 |    graphs reused =         27
0.37.382.205 I slot      release: id  3 | task 14 | stop processing: n_tokens = 54, truncated = 0
0.52.606.713 I slot get_availabl: id  3 | task -1 | selected slot by LCP similarity, sim_best = 0.471 (> 0.100 thold), f_keep = 0.611
0.52.606.847 I slot launch_slot_: id  3 | task 35 | processing task, is_child = 0
1.10.385.311 I slot print_timing: id  3 | task 35 | n_decoded =    100, tg =   6.70 t/s, tg_3s =   6.70 t/s
1.11.031.932 I slot print_timing: id  3 | task 35 | prompt eval time =    2847.89 ms /    37 tokens (   76.97 ms per token,    12.99 tokens per second)
1.11.031.951 I slot print_timing: id  3 | task 35 |        eval time =   15577.07 ms /   104 tokens (  149.78 ms per token,     6.68 tokens per second)
1.11.031.954 I slot print_timing: id  3 | task 35 |       total time =   18424.96 ms /   141 tokens
1.11.031.960 I slot print_timing: id  3 | task 35 |    graphs reused =        129
1.11.032.011 I slot      release: id  3 | task 35 | stop processing: n_tokens = 173, truncated = 0
3.50.029.790 I slot get_availabl: id  3 | task -1 | selected slot by LCP similarity, sim_best = 0.333 (> 0.100 thold), f_keep = 0.382
3.50.175.603 I slot launch_slot_: id  3 | task 142 | processing task, is_child = 0
3.57.905.059 I slot print_timing: id  3 | task 142 | prompt processing, n_tokens =    105, progress = 0.86, t =   7.73 s / 13.58 tokens per second
3.59.618.519 I slot print_timing: id  3 | task 142 | prompt processing, n_tokens =    128, progress = 0.98, t =   9.44 s / 13.56 tokens per second
4.10.877.834 I slot print_timing: id  3 | task 142 | prompt eval time =    9819.15 ms /   132 tokens (   74.39 ms per token,    13.44 tokens per second)
4.10.877.855 I slot print_timing: id  3 | task 142 |        eval time =   10882.92 ms /    72 tokens (  151.15 ms per token,     6.62 tokens per second)
4.10.877.858 I slot print_timing: id  3 | task 142 |       total time =   20702.07 ms /   204 tokens
4.10.877.862 I slot print_timing: id  3 | task 142 |    graphs reused =        198
4.10.877.944 I slot      release: id  3 | task 142 | stop processing: n_tokens = 269, truncated = 0

 

cpu  에서 10 token/sec 미만으로 나온다.

msec token token/sec
2700.81 (안녕) 25 9.25648231456489
4975.37 (안녕) 46 9.24554354751506
18424.96 (너에 대해 소개) 141 7.65266247525096
20702.07 (golang으로 hello world) 204 9.85408705506261

 

'embeded > jetson' 카테고리의 다른 글

jetson nano + llama.cpp vulkan  (0) 2026.07.21
jetson nano jtop  (0) 2026.07.20
jetson nano 과 llama.cpp (가속, 빌드 포기)  (0) 2026.07.20
jetson nano devloper kit SD card image(A02)  (0) 2026.07.20
jetracer donkey car  (0) 2026.04.20
Posted by 구차니
embeded/jetson2026. 7. 20. 14:08

by claude

Jetson Nano 사양
Compute Capability: 5.3

Jetson Nano는 Maxwell 아키텍처 기반 GPU(128 CUDA 코어)를 사용하며, compute capability는 5.3입니다.

CUDA 버전

Jetson Nano는 JetPack 버전에 따라 CUDA 버전이 결정됩니다.
Nano에서 지원되는 마지막(최신) JetPack은 JetPack 4.6.x 계열이며, 이때 CUDA 10.2가 탑재됩니다.
참고로 Jetson Nano는 32비트 시절부터 나온 구형 라인업(2019년 출시)이라 JetPack 5.x(CUDA 11.x 이상)는 지원하지 않습니다. JetPack 5 이상은 Xavier, Orin 계열부터 지원됩니다

 

netson nano / maxwell 기반 128 cuda core

GPU NVIDIA Maxwell architecture with 128 NVIDIA CUDA® cores
CPU Quad-core ARM Cortex-A57 MPCore processor
Memory 4 GB 64-bit LPDDR4, 1600MHz 25.6 GB/s

[링크 : https://developer.nvidia.com/embedded/jetson-nano]

 

맥스웰 compute capability - 5.x

all compute-capability 3.x (Kepler) devices but are not supported on compute-capability 5.x (Maxwell) 

[링크 : https://docs.nvidia.com/cuda/maxwell-compatibility-guide/]

 

cuda 10.2

$ cat /etc/nv_tegra_release
# R32 (release), REVISION: 7.1, GCID: 29818004, BOARD: t210ref, EABI: aarch64, DATE: Sat Feb 19 17:05:08 UTC 2022

$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Sun_Feb_28_22:34:44_PST_2021
Cuda compilation tools, release 10.2, V10.2.300
Build cuda_10.2_r440.TC440_70.29663091_0

 

b10068 인데 cuda 12 와 cuda 13에 대해서 지원한다.

소스에서 빌드한다고 해서 될 게 아닌듯..

Windows:

Windows x64 (CPU)
Windows arm64 (CPU)
Windows arm64 (OpenCL Adreno)
Windows x64 (CUDA 12) - CUDA 12.4 DLLs
Windows x64 (CUDA 13) - CUDA 13.3 DLLs
Windows x64 (Vulkan)
Windows x64 (OpenVINO)
Windows x64 (SYCL)
Windows x64 (HIP)

[링크 : https://github.com/ggml-org/llama.cpp/releases]

 

+

이건 컴파일러 버전이 낮아서라고.. 에라이

[  5%] Building CXX object tools/ui/CMakeFiles/llama-ui-embed.dir/embed.cpp.o
/home/jetson/src/llama.cpp/tools/ui/embed.cpp:17:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.

 

filesystem은 c+17에 도입되었고 8.x 부터 지원.

[링크 : https://jtrimind.github.io/troubleshooting/filesystem/]

 

$ g++ --version
g++ (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ sudo apt install gcc-8 g++-8

$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8
update-alternatives: using /usr/bin/gcc-8 to provide /usr/bin/gcc (gcc) in auto mode

$ g++ --version
g++ (Ubuntu/Linaro 8.4.0-1ubuntu1~18.04) 8.4.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

cmake 깔고 이상한짓 해도 안되서 포기. vulkan도 잘 안되는 것 같고 머지..?

sudo apt-get install libssl-dev libssl1.1
/opt/cmake/bin/cmake -B build -DLLAMA_BUILD_SERVER=ON -DLLAMA_BUILD_TOOLS=OFF -DLLAMA_BUILD_UI=OFF
/opt/cmake/bin/cmake --build build -j4

 

sharerc 빌드하고 하려니 이 난리. 에라이

/home/jetson/src/shaderc/third_party/abseil_cpp/absl/base/policy_checks.h:59:2: error: #error "This package requires GCC 10 or higher."
 #error "This package requires GCC 10 or higher."

'embeded > jetson' 카테고리의 다른 글

jetson nano jtop  (0) 2026.07.20
jetson nano 4GB / qwen3.5 0.8B  (0) 2026.07.20
jetson nano devloper kit SD card image(A02)  (0) 2026.07.20
jetracer donkey car  (0) 2026.04.20
jetson nano nvcc 빌드  (0) 2026.04.06
Posted by 구차니
embeded/jetson2026. 7. 20. 11:54

jetpack 이 4.5.1 vs 4.6.1 이라서

많은건 안바라고(!) 용량만 좀 넉넉하면 좋겠네

 

[링크 : https://developer.nvidia.com/embedded/downloads]

 

이건 이전에 구워놨던 jetracer 용으로 만들어진 이미지

[링크 : https://github.com/NVIDIA-AI-IOT/jetracer/blob/master/docs/software_setup.md]

'embeded > jetson' 카테고리의 다른 글

jetson nano 4GB / qwen3.5 0.8B  (0) 2026.07.20
jetson nano 과 llama.cpp (가속, 빌드 포기)  (0) 2026.07.20
jetracer donkey car  (0) 2026.04.20
jetson nano nvcc 빌드  (0) 2026.04.06
jetson nvcc 실행하기  (0) 2026.04.06
Posted by 구차니
embeded/robot2026. 7. 15. 12:13

다빈치 수술 로봇 같이 특정 점을 반드시 지나도록 할 때 그 지나는 점을 RCM 이라고 한다.

TCP 랑은 다르다는데.. 이해가 잘 안가는 중 ㅠㅠ

 

[링크 : https://pinkwink.kr/756]

'embeded > robot' 카테고리의 다른 글

로봇 제어 Move  (0) 2026.07.08
elephant robototics mycobot ros2  (0) 2026.07.03
mycobot ros1/ros2  (0) 2026.07.02
gcode (g-code)  (0) 2026.07.01
mycobot280 pi / TCP(tool center point)  (0) 2026.06.30
Posted by 구차니
embeded/robot2026. 7. 8. 17:55

MoveJ - 먼가 이상하게(?) 휘어져서 갈때. joint 위주

MoveL - 그냥 직선으로만 움직일때 TCP를 선형으로(관절은 더 난리핌)

MoveP - 속도 중심(process?)

MoveCircle - viapoint를 찍어서 시작 - via - 끝 점을 통과하는 arc를 지나도록 계산.

[링크 : https://www.universal-robots.com/manuals/ko/HTML/SW5_25_1/Content/prod-usr-man/complianceUR3e/SW_sections/first_program/move.htm]

'embeded > robot' 카테고리의 다른 글

RCM(Remote Center of Motion)  (0) 2026.07.15
elephant robototics mycobot ros2  (0) 2026.07.03
mycobot ros1/ros2  (0) 2026.07.02
gcode (g-code)  (0) 2026.07.01
mycobot280 pi / TCP(tool center point)  (0) 2026.06.30
Posted by 구차니