Skip to content
Snippets Groups Projects

Set of commits to be tagged v0.18.2

Merged François LAURENT requested to merge dev into main
3 files
+ 14
6
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -11,22 +11,26 @@ import tempfile
from collections import defaultdict
JULIA_PROJECT = os.environ.get('JULIA_PROJECT', '')
DISABLE_JULIA = os.environ.get('DISABLE_JULIA', '')
try:
from julia import Julia
except:
logging.warning(f"PyCall not found in JULIA_PROJECT={JULIA_PROJECT}; \
if not DISABLE_JULIA:
logging.warning(f"PyCall not found in JULIA_PROJECT={JULIA_PROJECT}; \
please see https://gitlab.pasteur.fr/nyx/TaggingBackends#recommended-installation")
else:
try:
Julia(compiled_modules=False)
except:
logging.warning("Failed to set PyCall with compiled_modules=False")
if not DISABLE_JULIA:
logging.warning("Failed to set PyCall with compiled_modules=False")
try:
from julia import TaggingBackends
from julia import PlanarLarvae
except ImportError:
logging.warning(f"TaggingBackends not found in JULIA_PROJECT={JULIA_PROJECT}; \
except:
if not DISABLE_JULIA:
logging.warning(f"TaggingBackends not found in JULIA_PROJECT={JULIA_PROJECT}; \
please see https://gitlab.pasteur.fr/nyx/TaggingBackends#recommended-installation")
def getlogger(name):
@@ -213,6 +217,10 @@ Cannot find any Python package in project root directory:
# typically follows:
# UserWarning: CUDA initialization: CUDA unknown error
print(line)
elif line == ' return F.conv2d(input, weight, bias, self.stride,':
# typically follows:
# UserWarning: Plan failed with a cudnnException: CUDNN_BACKEND_EXECUTION_PLAN_DESCRIPTOR: cudnnFinalize Descriptor Failed cudnn_status: CUDNN_STATUS_NOT_SUPPORTED ...
print(line)
# tensorflow logs
elif 26 < len(line):
# assume line[:26] to be e.g.: 2022-05-17 18:48:15.120981
Loading