It can be insightful to know whether a Databricks Serverless SQL warehouse (or serverless notebook/job compute) is running on ARM (Graviton) or x86, and which generation. This also reports the memory available to the execution sandbox.
Here’s a Python UDF that detects all of this from /proc/cpuinfo and
/proc/meminfo.