bolha.us is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a Brazilian IT Community. We love IT/DevOps/Cloud, but we also love to talk about life, the universe, and more. | Nós somos uma comunidade de TI Brasileira, gostamos de Dev/DevOps/Cloud e mais!

Server stats:

255
active users

#cuda

0 posts0 participants0 posts today

💻 FreeBSD CUDA drm-61-kmod 💻

"Just going to test the current pkg driver, this will only take a second...", the old refrain goes. Surely, it will not punt away an hour or so of messing about in loader.conf on this EPYC system...

- Here are some notes to back-track a botched/crashing driver kernel panic situation.
- Standard stuff, nothing new over the years here with loader prompt.
- A few directives are specific to this system, though may provide a useful general reference.
- The server has an integrated GPU in addition to nvidia pcie, so a module blacklist for the "amdgpu" driver is necessary (EPYC 4564P).

Step 1: during boot-up, "exit to loader prompt"
Step 2: set/unset the values as needed at the loader prompt

unset nvidia_load
unset nvidia_modeset_load
unset hw.nvidiadrm.modeset
set module_blacklist=amdgpu,nvidia,nvidia_modeset
set machdep.hyperthreading_intr_allowed=0
set verbose_loading=YES
set boot_verbose=YES
set acpi_dsdt_load=YES
set audit_event_load=YES
kern.consmsgbuf_size=1048576
set loader_menu_title=waffenschwester
boot

Step 3: login to standard tty shell
Step 4: edit /boot/loader.conf (and maybe .local)
Step 5: edit /etc/rc.conf (and maybe .local)
Step 6: debug the vast output from kern.consmsgbuf logs

🌕 GitHub - Rust-GPU/Rust-CUDA:使用 Rust 撰寫和執行快速 GPU 程式碼的生態系統
➤ 打造 Rust 在 GPU 計算領域的地位
github.com/Rust-GPU/Rust-CUDA
Rust-CUDA 是一個專案,旨在使 Rust 成為使用 CUDA 工具包進行高效能 GPU 計算的首選語言。它提供了一系列函式庫和工具,可將 Rust 編譯為快速的 PTX 程式碼,並與現有的 CUDA 函式庫整合。 該專案包含 `rustc_codegen_nvvm` (Rust 編譯器後端)、`cuda_std` (GPU 端功能)、`cudnn` (深度神經網路加速)、`cust` (CPU 端 CUDA 功能)、`gpu_rand` (GPU 隨機數產生) 和 `optix` (光線追蹤) 等多個 crates,旨在覆蓋整個 CUDA 生態系統。 儘管目前仍處於早期開發階段,但 Rust-CUDA 旨在克服以往 Rust 與 CUDA 整合的困難,並充分利用 Rust 的優勢,如效能
#開發工具 #GPU #Rust #CUDA

GitHubGitHub - Rust-GPU/Rust-CUDA: Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust. - Rust-GPU/Rust-CUDA

My brain is absolutely fried.
Today is the last day of coursework submissions for this semester. What a hectic month.
DNN with PyTorch, Brain model parallelisation with MPI, SYCL and OpenMP offloading of percolation models,hand optimizing serial codes for performance.
Two submissions due today. Submitted one and finalising my report for the second one.
Definitely having a pint after this

#sycl#hpc#msc

Just got my RSS reader YOShInOn building with uv and running under WSL2 with the Cuda libraries, despite a slight version mismatch... All I gotta do is switch it from arangodb (terrible license) to postgres, and it might have a future... With sentence_transformers running under WSL2 I might even be able to deduplicate the million images in my Fraxinus image sorter