Skip to content

Instantly share code, notes, and snippets.

View Lunderberg's full-sized avatar

Eric Lunderberg Lunderberg

View GitHub Profile
@Lunderberg
Lunderberg / graph_level_layout_transform.py
Created June 10, 2022 20:21
Examinging the hoisting of cached transforms from TIR into graph level
# Initial end-to-end model
@script.ir_module
class EndToEndModel:
@R.func
def main(x: R.Tensor[16]):
F = R.const(shape=[3])
Y = call_tir(conv1d_16, X, F)
Z = call_tir(conv1d_18, Y, F)
return Z
@Lunderberg
Lunderberg / temp.py
Created June 28, 2021 21:56
Deep Copy, but only allow classes designed to work with deepcopy
#!/usr/bin/env python3
import copy
import copyreg
import ctypes
import functools
# First implementation, failed because copy implementations
# (e.g. copy._deepcopy_list) already have a reference to
@Lunderberg
Lunderberg / SteamVR-2021-05-02-PM_03_02_45.txt
Created May 2, 2021 22:06
SteamVR-2021-05-02-PM_03_02_45.txt
This file has been truncated, but you can view the full file.
SteamVR System Report created Sun May 02 15:02:35 2021
<Report>
SteamVR Version: 1.16.10 (1615513459)
SteamVR Date: 2021-03-11
Steam: Public
Steam Branch:
Steam AppID: 250820
Tracking: lighthouse
OS: Linux version 5.4.0-70-generic (buildd@lcy01-amd64-004) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021
@Lunderberg
Lunderberg / details.txt
Created April 8, 2021 15:42
Grendel setup
octo@grendel ~/tvm $ apt-cache policy nvidia-driver-450
nvidia-driver-450:
Installed: 450.102.04-0ubuntu0.20.04.1
Candidate: 450.102.04-0ubuntu0.20.04.1
Version table:
*** 450.102.04-0ubuntu0.20.04.1 500
500 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages
500 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages
100 /var/lib/dpkg/status
octo@grendel ~/tvm $ apt-cache policy nvidia-cuda-toolkit