From d35f5fad1d26fc09cfd98f6e7faf17d6a48e4e8f Mon Sep 17 00:00:00 2001 From: Jonas Knobloch Date: Thu, 23 Apr 2026 20:14:26 +0200 Subject: Use platform specific defaults for CUDA device ID --- gpt2/platform_default.go | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 gpt2/platform_default.go (limited to 'gpt2/platform_default.go') diff --git a/gpt2/platform_default.go b/gpt2/platform_default.go new file mode 100644 index 0000000..21b4c14 --- /dev/null +++ b/gpt2/platform_default.go @@ -0,0 +1,5 @@ +//go:build !darwin + +package gpt2 + +const defaultDeviceID = "0" -- cgit v1.3.1