Skip to content

Instantly share code, notes, and snippets.

@roblem
roblem / Build Info (Successful)
Last active February 24, 2017 04:44
Let me know if you need something else.
(python3) [user@nuc blog] $ nikola build
[2017-02-23T16:36:28Z] WARNING: Nikola: In order to USE_BUNDLES, you must install the "webassets" Python package.
[2017-02-23T16:36:28Z] WARNING: bundles: Setting USE_BUNDLES to False.
Scanning posts...........done!
. render_taxonomies:output/archive.html
. render_sources:output/posts/test-org-mode.org
. render_posts:timeline_changes
. render_posts:cache/posts/test-org-mode.html
Loading /usr/share/emacs/site-lisp/site-start.d/asy-init.el (source)...
Loading /usr/share/emacs/site-lisp/site-start.d/cmake-init.el (source)...
@roblem
roblem / dmesg.txt
Created January 3, 2020 08:33
dmesg -w output after fw update
[Fri Jan 3 09:17:45 2020] pcieport 0000:3e:03.0: Refused to change power state, currently in D3
[Fri Jan 3 09:17:45 2020] xhci_hcd 0000:41:00.0: remove, state 1
[Fri Jan 3 09:17:45 2020] usb usb6: USB disconnect, device number 1
[Fri Jan 3 09:17:45 2020] usb 6-1: USB disconnect, device number 3
[Fri Jan 3 09:17:45 2020] xhci_hcd 0000:41:00.0: xHCI host controller not responding, assume dead
[Fri Jan 3 09:17:45 2020] pcieport 0000:3e:01.0: Refused to change power state, currently in D3
[Fri Jan 3 09:17:45 2020] usb 6-4: USB disconnect, device number 2
[Fri Jan 3 09:17:45 2020] pcieport 0000:07:02.0: Refused to change power state, currently in D3
[Fri Jan 3 09:17:45 2020] xhci_hcd 0000:41:00.0: USB bus 6 deregistered
[Fri Jan 3 09:17:45 2020] xhci_hcd 0000:41:00.0: remove, state 1
@roblem
roblem / all_tests.py
Last active March 12, 2020 15:13
Some tensorflow probability benchmarks
import sys
print("Running in :", sys.executable)
import tensorflow as tf
devs = tf.config.list_physical_devices()
devs_l = [devs[i][-1] for i in range(len(devs))]
print("TF devices: ", devs)
if any("GPU" in s for s in devs_l):
GPU_avail = True
else:
@roblem
roblem / test_mhrw.py
Created May 2, 2020 09:54
Ordinary least squares tensorflow probability benchmarks (MHRW)
import sys
print("Running in :", sys.executable)
import tensorflow as tf
print("TF devices: ", tf.config.list_physical_devices())
import tensorflow_probability as tfp
from tensorflow_probability import distributions as tfd
import numpy as np
import pandas as pd
@roblem
roblem / test_nuts.py
Created May 2, 2020 09:56
Rocm tensorflow probaility benchmarks for NUTS
import sys
print("Running in :", sys.executable)
import tensorflow as tf
print("TF devices: ", tf.config.list_physical_devices())
import tensorflow_probability as tfp
from tensorflow_probability import distributions as tfd
import numpy as np
import pandas as pd
@roblem
roblem / tensorflow_functions.py
Last active August 31, 2020 12:12
ROCM 3.7 Issues
import sys
print("Running in :", sys.executable)
import tensorflow as tf
print("TF devices: ", tf.config.list_physical_devices())
import tensorflow_probability as tfp
from tensorflow_probability import distributions as tfd
import numpy as np
import pandas as pd