Update: use PowerShell script PythonEmbed4Win.ps1.
The instructions in this gist have some subtle problems and this gist will not be updated.
| services: | |
| # See https://github.com/Dreamacro/clash/wiki/Running-Clash-as-a-service#docker | |
| clash: | |
| # ghcr.io/dreamacro/clash | |
| # ghcr.io/dreamacro/clash-premium | |
| # dreamacro/clash | |
| # dreamacro/clash-premium | |
| image: dreamacro/clash-premium | |
| container_name: clash-premium | |
| volumes: |
| # Partially Working Error on Exit | |
| from PySide2 import QtWidgets, QtGui,QtCore | |
| import open3d as o3d | |
| import win32gui | |
| import sys | |
| import threading | |
| import time | |
| class Worker(QtCore.QObject): |
The instructions in this gist have some subtle problems and this gist will not be updated.
| version: "3.9" | |
| services: | |
| rapids: | |
| image: rapidsai/rapidsai:0.18-cuda11.0-runtime-ubuntu16.04-py3.8 | |
| ports: | |
| - "8888:8888" # Jupyter | |
| - "8786:8786" # Dask communication | |
| - "8787:8787" # Dask dashboard |
| # Install webview2 by launching the bootstrapper | |
| # See https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#online-only-deployment | |
| Function installWebView2 | |
| # If this key exists and is not empty then webview2 is already installed | |
| ReadRegStr $0 HKLM \ | |
| "SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" "pv" | |
| ${If} ${Errors} | |
| ${OrIf} $0 == "" |
| diff --git a/aten/src/ATen/cpu/vec/vec256/vec256_float_neon.h b/aten/src/ATen/cpu/vec/vec256/vec256_float_neon.h | |
| index 2aac442d21..f2321dad7a 100644 | |
| --- a/aten/src/ATen/cpu/vec/vec256/vec256_float_neon.h | |
| +++ b/aten/src/ATen/cpu/vec/vec256/vec256_float_neon.h | |
| @@ -26,6 +26,9 @@ namespace { | |
| // Most likely we will do aarch32 support with inline asm. | |
| #if defined(__aarch64__) | |
| +// See https://github.com/pytorch/pytorch/issues/47098 | |
| +#if defined(__clang__) || (__GNUC__ > 8 || (__GNUC__ == 8 && __GNUC_MINOR__ > 3)) |
| ################### | |
| # # | |
| # SU.SG # | |
| # # | |
| ################### | |
| # https://mp.weixin.qq.com/s/H3OOqhFRr0YZGorIAlsCjA | |
| # todo | |
| # replace or remove content-security-policy header |
| import numpy as np | |
| import pandas as pd | |
| import bottleneck as bn | |
| # Read And Count | |
| trainDF = pd.read_csv('train.csv',sep=',',header=0) | |
| lenTrain = len(trainDF) | |
| valDF = pd.read_csv('submission.csv',sep=',',header=0) | |
| lenVal = len(valDF) | |
| trainFold = pd.read_csv('train_5fold_20181219.csv',sep=',',header=0) |
| # Holds repositories directory | |
| sudo chown -R -v git:root /var/opt/gitlab/git-data | |
| sudo chmod -R -v 0700 /var/opt/gitlab/git-data | |
| # Holds git repositories | |
| sudo chown -R -v git:git /var/opt/gitlab/git-data/repositories | |
| sudo chmod -R -v 2770 /var/opt/gitlab/git-data/repositories | |
| # Holds large object directories | |
| sudo chown -R -v git:gitlab-www /var/opt/gitlab/gitlab-rails/shared |