Spoiler allert the solution was to target CUDA 11.8 (PyTorch 2.2.0+)
- Make sure you have git, git-lfs, mesa and CUDA-11-8 installed at a OS level
sudo apt install git git-lfs cuda-11-8 mesa-utils mesa-common-dev libegl1-mesa-dev libgles2-mesa-dev
Spoiler allert the solution was to target CUDA 11.8 (PyTorch 2.2.0+)
sudo apt install git git-lfs cuda-11-8 mesa-utils mesa-common-dev libegl1-mesa-dev libgles2-mesa-dev
I am attesting that this GitHub handle patriciogonzalezvivo is linked to the Tezos account tz1NqueFctvNCQrsELm6k4N6XfwAYu5Qp5LN for tzprofiles | |
sig:edsigtyGKhQWuzB73dYzJfELSjYJt7LwbFEsKD61WF3oVH7Lhok5dgXu3bdZth1U19QwCts7xXwaDyCh7Auqr9Cov1xTXz9Lv4s |
// Great example of the use of Lygia samplers functions https://github.com/patriciogonzalezvivo/lygia/tree/main/sample | |
// and GlslViewer https://github.com/patriciogonzalezvivo/glslViewer | |
// on the Looking Glass Display | |
#ifdef GL_ES | |
precision mediump float; | |
#endif | |
uniform sampler2D u_buffer0; | |
uniform sampler2D u_buffer1; |
import re | |
from os.path import join, abspath, dirname, basename | |
def load_source( folder: str, filename: str, dependencies = []): | |
path = abspath( join(folder, filename) ) | |
if path in dependencies: | |
return "" | |
else: | |
dependencies.append( path ) |
<!doctype html> | |
<html lang="en-us"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<title>Territory</title> | |
<!-- 3rd party libraries --> | |
<!-- Leaflet --> |
#!/bin/bash | |
SHADER=$1 | |
SEC=$1 | |
COUNTER=0 | |
for i in `seq -w 0.01 .031 $SEC`; do | |
echo $i | |
`glslViewer $SHADER -s $i -o frame-$COUNTER.png` | |
let COUNTER=COUNTER+1 |
```glsl | |
float mix4smoothstep(float a, float b, float c, float d, float x ) { | |
return mix(mix(a,b,smoothstep(0.,.33,x)), | |
mix(b, | |
mix(c,d,smoothstep(.66,.99,x)), | |
smoothstep(.33,.66,x)), | |
step(.33,x)); | |
} | |
float mix4linear(float a, float b, float c, float d, float x ) { |
// Resources | |
// - http://blog.packagecloud.io/debian/debuild/packaging/2015/06/08/buildling-deb-packages-with-debuild/ | |
// - https://linuxconfig.org/easy-way-to-create-a-debian-package-and-local-package-repository | |
// - http://santi-bassett.blogspot.com/2014/07/how-to-create-debian-package.html | |
sudo apt-get install dh-make build-essential | |
sudo apt-get install devscripts fakeroot debootstrap pbuilder autotools-dev | |
# Create the packaging skeleton (debian/*) | |
# dh_make -s --indep --createorig |
#!/bin/bash | |
sudo yum update -y | |
# Install packages | |
sudo yum install -y httpd24 mod24_ssl php56 mysql55-server php56-mysqlnd | |
# Start the Apache web server | |
sudo service httpd start |