ivo@setyadi:~$ ivo.blogspot.com

# catatan teknis, sejak 2001

open-latest-llm untuk CPU-only LLM inference

open-latest-llm menjalankan model 27B dengan kecepatan 17-20 tokens per second di mesin Linux 8 GB tanpa GPU. Speed ini dicapai lewat optimasi AVX-512 dan AVX2 pada hardware x86 standar. Instalasi cukup satu script, lalu alat ini menyajikan OpenAI-compatible API untuk client yang sudah ada. Layak dicoba jika Anda butuh local inference di hardware lama atau modest yang tidak punya GPU. Kelemahannya, engine ini hanya mendukung satu model spesifik, Bonsai-2-27B. Tidak cocok untuk developer yang butuh general-purpose engine untuk banyak model atau arsitektur non-x86. sumber: github.com/opensetlabs/openset-llm my other side: setyadi.com

VB6 Format(Now) untuk milidetik

2010-04-07 · #Programming

Option Explicit

Private Type SYSTEMTIME '16 Bytes
  wYear         As Integer
  wMonth        As Integer
  wDayOfWeek    As Integer
  wDay          As Integer
  wHour         As Integer
  wMinute       As Integer
  wSecond       As Integer
  wMilliseconds As Integer
End Type

Private Declare Sub GetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME)

Pemakaian:

Dim NowTime As SYSTEMTIME
Dim sYear, sMonth, sDayOfWeek, sDay, sHour, sMinute, sSecond, sMilliseconds As String

GetSystemTime NowTime

sYear         = Format(NowTime.wYear, "0000")
sMonth        = Format(NowTime.wMonth, "00")
sDay          = Format(NowTime.wDay, "00")
sHour         = Format(NowTime.wHour, "00")  'wHour - or + X depends local timezone
sMinute       = Format(NowTime.wMinute, "00")
sSecond       = Format(NowTime.wSecond, "00")
sMilliseconds =  Format(NowTime.wMilliseconds, "000")

my other side: setyadi.com

$ cd ~/

$ cat comments/ (0)