Blacklist the nvidia driver:
sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
/etc/default/grub:
chrissul@nervana-titanxp22 /localdisk/sullivan/projects $ sudo apt install clinfo | |
chrissul@nervana-titanxp22 /localdisk/sullivan/projects $ sudo apt install clinfo | |
[sudo] password for chrissul: | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages were automatically installed and are no longer required: | |
libnvidia-container-tools libnvidia-container1 nvidia-container-runtime nvidia-container-runtime-hook pigz | |
Use 'sudo apt autoremove' to remove them. | |
The following NEW packages will be installed: |
[{"name":"Function_2","ops":[{"cacheable":false,"element_type":"float","inputs":[],"name":"Parameter_9972","op":"Parameter","outputs":["Parameter_9972_0"],"shape":[1024,30]},{"cacheable":true,"element_type":"float","inputs":[],"name":"Parameter_9967","op":"Parameter","outputs":["Parameter_9967_0"],"shape":[2000]},{"cacheable":true,"element_type":"float","inputs":[],"name":"Parameter_9966","op":"Parameter","outputs":["Parameter_9966_0"],"shape":[2000,200]},{"cacheable":true,"element_type":"float","inputs":[],"name":"Parameter_7694","op":"Parameter","outputs":["Parameter_7694_0"],"shape":[800]},{"cacheable":true,"element_type":"float","inputs":[],"name":"Parameter_7693","op":"Parameter","outputs":["Parameter_7693_0"],"shape":[800,200]},{"cacheable":true,"element_type":"float","inputs":[],"name":"Parameter_7686","op":"Parameter","outputs":["Parameter_7686_0"],"shape":[800]},{"cacheable":true,"element_type":"float","inputs":[],"name":"Parameter_7685","op":"Parameter","outputs":["Parameter_7685_0"],"shape":[800,20 |
[{"name":"Function_7","ops":[{"cacheable":false,"element_type":"float","inputs":[],"name":"Parameter_30611","op":"Parameter","outputs":["Parameter_30611_0"],"shape":[1024,200]},{"cacheable":false,"element_type":"float","inputs":[],"name":"Parameter_30612","op":"Parameter","outputs":["Parameter_30612_0"],"shape":[1024,200]},{"cacheable":false,"element_type":"float","inputs":[],"name":"Parameter_30613","op":"Parameter","outputs":["Parameter_30613_0"],"shape":[]},{"cacheable":false,"element_type":"float","inputs":[],"name":"Parameter_30614","op":"Parameter","outputs":["Parameter_30614_0"],"shape":[1024,200]},{"cacheable":false,"element_type":"float","inputs":[],"name":"Parameter_30615","op":"Parameter","outputs":["Parameter_30615_0"],"shape":[]},{"cacheable":false,"element_type":"float","inputs":[],"name":"Parameter_30616","op":"Parameter","outputs":["Parameter_30616_0"],"shape":[1024,200]},{"cacheable":false,"element_type":"float","inputs":[],"name":"Parameter_30617","op":"Parameter","outputs":["Parameter_30617 |
[{"name":"Function_1","ops":[{"cacheable":false,"element_type":"float","inputs":[],"name":"Parameter_9972","op":"Parameter","outputs":["Parameter_9972_0"],"shape":[1024,30]},{"cacheable":true,"element_type":"float","inputs":[],"name":"Parameter_9967","op":"Parameter","outputs":["Parameter_9967_0"],"shape":[2000]},{"cacheable":true,"element_type":"float","inputs":[],"name":"Parameter_9966","op":"Parameter","outputs":["Parameter_9966_0"],"shape":[2000,200]},{"cacheable":true,"element_type":"float","inputs":[],"name":"Parameter_7694","op":"Parameter","outputs":["Parameter_7694_0"],"shape":[800]},{"cacheable":true,"element_type":"float","inputs":[],"name":"Parameter_7693","op":"Parameter","outputs":["Parameter_7693_0"],"shape":[800,200]},{"cacheable":true,"element_type":"float","inputs":[],"name":"Parameter_7686","op":"Parameter","outputs":["Parameter_7686_0"],"shape":[800]},{"cacheable":true,"element_type":"float","inputs":[],"name":"Parameter_7685","op":"Parameter","outputs":["Parameter_7685_0"],"shape":[800,20 |
Blacklist the nvidia driver:
sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
/etc/default/grub:
class Base { | |
public: | |
Base* interface_method(...) { | |
// this function could read in a file, and based on a | |
// a string determine the type that needs to be used | |
// and then the builder is set using set_builder<T>() | |
// now, internally you can use builder->build(...) to | |
// build the child that you want | |