Using TF 1.15 with CUDA 10.0 on RHEL 8.3 is not easy. If you upgrade the driver the TensorFlow setup with CUDA may stop working. Setup RHEL - 8.3.1 with Nvidia drivers for TensorFlow-2.x and TensorFlow 1.15.x.
These steps work for RHEL-8.3.1
Using TF 1.15 with CUDA 10.0 on RHEL 8.3 is not easy. If you upgrade the driver the TensorFlow setup with CUDA may stop working. Setup RHEL - 8.3.1 with Nvidia drivers for TensorFlow-2.x and TensorFlow 1.15.x.
These steps work for RHEL-8.3.1
| Add the following in .zshrc: | |
| ... | |
| plugins=(osx git zsh-autosuggestions zsh-syntax-highlighting zsh-nvm docker kubectl) | |
| ... | |
| ### Fix slowness of pastes with zsh-syntax-highlighting.zsh | |
| pasteinit() { | |
| OLD_SELF_INSERT=${${(s.:.)widgets[self-insert]}[2,3]} | |
| zle -N self-insert url-quote-magic # I wonder if you'd need `.url-quote-magic`? |
| - Open Automator | |
| - File -> New -> Service | |
| - Change "Service Receives" to "files or folders" in "Finder" | |
| - Add a "Run Shell Script" action | |
| - Change "Pass input" to "as arguments" | |
| - Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*" | |
| - Save it as something like "Open in Visual Studio Code" |
| diff --git a/tensorflow/lite/experimental/ruy/platform.h b/tensorflow/lite/experimental/ruy/platform.h | |
| index 7a83173..36aaa95 100644 | |
| --- a/tensorflow/lite/experimental/ruy/platform.h | |
| +++ b/tensorflow/lite/experimental/ruy/platform.h | |
| @@ -55,7 +55,7 @@ limitations under the License. | |
| // TODO(b/138433137) Select AVX-512 at runtime rather than via compile options. | |
| #if defined(__AVX512F__) && defined(__AVX512DQ__) && defined(__AVX512CD__) && \ | |
| defined(__AVX512BW__) && defined(__AVX512VL__) | |
| -#define RUY_DONOTUSEDIRECTLY_AVX512 1 | |
| +#define RUY_DONOTUSEDIRECTLY_AVX512 0 |
| --- | |
| apiVersion: tekton.dev/v1alpha1 | |
| kind: ClusterTask | |
| metadata: | |
| name: od-buildah | |
| spec: | |
| inputs: | |
| params: | |
| - name: BUILDER_IMAGE | |
| description: The location of the buildah builder image. |
| --- | |
| apiVersion: image.openshift.io/v1 | |
| kind: ImageStream | |
| metadata: | |
| name: test-bc-sample | |
| spec: | |
| lookupPolicy: | |
| local: false | |
| --- | |
| kind: "BuildConfig" |
| ```--- | |
| apiVersion: tekton.dev/v1alpha1 | |
| kind: Task | |
| metadata: | |
| name: ic-buildah1 | |
| spec: | |
| inputs: | |
| params: | |
| - name: BUILDER_IMAGE | |
| description: The location of the buildah builder image. |
Use OMP_NUM_THREADS=1 for Running Pytorch on Openshift with 1CPU
Else MKL will spawn threads for all the cpus it can see from the pod.
apiVersion: v1
kind: Template
metadata:
name: playground
labels:
app: playground