Skip to content

Instantly share code, notes, and snippets.

@malaiwah
malaiwah / gist:e88e0d28d3881567c8f842ad33dfcdec
Created January 5, 2026 03:17
GLM-4.7 FP8 sglang mtp fp8 e4m3fn KVCache on 4x6000 Blackwell pro
==========
== CUDA ==
==========
CUDA Version 13.0.1
Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
@malaiwah
malaiwah / gist:cbc854bbb1eff01a00a7e96cbd2489fb
Last active April 8, 2020 02:56
cloud-init mtls bootstrap poc
#!/bin/bash
# Generate certificate and random material
openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048
mkdir -p /etc/ssl/private
PUBLIC_IP=$(jq -r .publicIp < /tmp/${instance_id}_publicip.json)
PUBLIC_IP_MOD=$(echo ${PUBLIC_IP} | tr . -)
DNS_NAME="${PUBLIC_IP_MOD}.nip.io"
@malaiwah
malaiwah / oracle-7.ipxe
Last active March 2, 2018 04:14 — forked from wolfgang42/debian-jessie.ipxe
Oracle 7 iPXE install for PCEngines APU2 boards over serial console
#!ipxe
kernel http://mirror.ip-projects.de/oracle/OL7/u8/os/x86_64/images/pxeboot/vmlinuz console=ttyS0,115200
initrd http://mirror.ip-projects.de/oracle/OL7/u8/os/x86_64/images/pxeboot/initrd.img