from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from csrc/layer_norm_cuda.cpp:1:
csrc/layer_norm_cuda.cpp:117:42: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
 #define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
                                          ^
/home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/c10/macros/Macros.h:146:65: note: in definition of macro ‘C10_UNLIKELY’
 #define C10_UNLIKELY(expr)  (__builtin_expect(static_cast<bool>(expr), 0))
                                                                 ^~~~
/home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
   if (C10_UNLIKELY_OR_CONST(!(cond))) {                               \
       ^~~~~~~~~~~~~~~~~~~~~
/home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
   TORCH_CHECK_WITH_MSG(error_t, cond, "", __VA_ARGS__)
   ^~~~~~~~~~~~~~~~~~~~
/home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
 #define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, __VA_ARGS__)
                                ^~~~~~~~~~~~~~~~
csrc/layer_norm_cuda.cpp:117:23: note: in expansion of macro ‘TORCH_CHECK’
 #define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
                       ^~~~~~~~~~~
csrc/layer_norm_cuda.cpp:119:24: note: in expansion of macro ‘CHECK_CUDA’
 #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
                        ^~~~~~~~~~
csrc/layer_norm_cuda.cpp:223:3: note: in expansion of macro ‘CHECK_INPUT’
   CHECK_INPUT(beta);
   ^~~~~~~~~~~
In file included from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from csrc/layer_norm_cuda.cpp:1:
/home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
/usr/local/cuda/bin/nvcc -I/home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include -I/home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/TH -I/home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/user/miniconda3/envs/ait/include/python3.7m -c csrc/layer_norm_cuda_kernel.cu -o build/temp.linux-x86_64-3.7/csrc/layer_norm_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -maxrregcount=50 -O3 --use_fast_math -DVERSION_GE_1_1 -DVERSION_GE_1_3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=fused_layer_norm_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
g++ -pthread -shared -B /home/user/miniconda3/envs/ait/compiler_compat -L/home/user/miniconda3/envs/ait/lib -Wl,-rpath=/home/user/miniconda3/envs/ait/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/csrc/layer_norm_cuda.o build/temp.linux-x86_64-3.7/csrc/layer_norm_cuda_kernel.o -L/home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/lib -L/usr/local/cuda/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.7/fused_layer_norm_cuda.cpython-37m-x86_64-linux-gnu.so
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
copying build/lib.linux-x86_64-3.7/fused_layer_norm_cuda.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel
copying build/lib.linux-x86_64-3.7/amp_C.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/apex
creating build/bdist.linux-x86_64/wheel/apex/contrib
creating build/bdist.linux-x86_64/wheel/apex/contrib/xentropy
copying build/lib.linux-x86_64-3.7/apex/contrib/xentropy/__init__.py -> build/bdist.linux-x86_64/wheel/apex/contrib/xentropy
copying build/lib.linux-x86_64-3.7/apex/contrib/xentropy/softmax_xentropy.py -> build/bdist.linux-x86_64/wheel/apex/contrib/xentropy
creating build/bdist.linux-x86_64/wheel/apex/contrib/optimizers
copying build/lib.linux-x86_64-3.7/apex/contrib/optimizers/__init__.py -> build/bdist.linux-x86_64/wheel/apex/contrib/optimizers
copying build/lib.linux-x86_64-3.7/apex/contrib/optimizers/fp16_optimizer.py -> build/bdist.linux-x86_64/wheel/apex/contrib/optimizers
copying build/lib.linux-x86_64-3.7/apex/contrib/optimizers/fused_sgd.py -> build/bdist.linux-x86_64/wheel/apex/contrib/optimizers
copying build/lib.linux-x86_64-3.7/apex/contrib/optimizers/fused_adam.py -> build/bdist.linux-x86_64/wheel/apex/contrib/optimizers
copying build/lib.linux-x86_64-3.7/apex/contrib/__init__.py -> build/bdist.linux-x86_64/wheel/apex/contrib
creating build/bdist.linux-x86_64/wheel/apex/contrib/groupbn
copying build/lib.linux-x86_64-3.7/apex/contrib/groupbn/__init__.py -> build/bdist.linux-x86_64/wheel/apex/contrib/groupbn
copying build/lib.linux-x86_64-3.7/apex/contrib/groupbn/batch_norm.py -> build/bdist.linux-x86_64/wheel/apex/contrib/groupbn
creating build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/LARC.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/distributed.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/__init__.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/optimized_sync_batchnorm.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/sync_batchnorm.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/multiproc.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/optimized_sync_batchnorm_kernel.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/sync_batchnorm_kernel.py -> build/bdist.linux-x86_64/wheel/apex/parallel
creating build/bdist.linux-x86_64/wheel/apex/multi_tensor_apply
copying build/lib.linux-x86_64-3.7/apex/multi_tensor_apply/__init__.py -> build/bdist.linux-x86_64/wheel/apex/multi_tensor_apply
copying build/lib.linux-x86_64-3.7/apex/multi_tensor_apply/multi_tensor_apply.py -> build/bdist.linux-x86_64/wheel/apex/multi_tensor_apply
creating build/bdist.linux-x86_64/wheel/apex/normalization
copying build/lib.linux-x86_64-3.7/apex/normalization/fused_layer_norm.py -> build/bdist.linux-x86_64/wheel/apex/normalization
copying build/lib.linux-x86_64-3.7/apex/normalization/__init__.py -> build/bdist.linux-x86_64/wheel/apex/normalization
creating build/bdist.linux-x86_64/wheel/apex/optimizers
copying build/lib.linux-x86_64-3.7/apex/optimizers/fused_lamb.py -> build/bdist.linux-x86_64/wheel/apex/optimizers
copying build/lib.linux-x86_64-3.7/apex/optimizers/fused_novograd.py -> build/bdist.linux-x86_64/wheel/apex/optimizers
copying build/lib.linux-x86_64-3.7/apex/optimizers/__init__.py -> build/bdist.linux-x86_64/wheel/apex/optimizers
copying build/lib.linux-x86_64-3.7/apex/optimizers/fused_sgd.py -> build/bdist.linux-x86_64/wheel/apex/optimizers
copying build/lib.linux-x86_64-3.7/apex/optimizers/fused_adam.py -> build/bdist.linux-x86_64/wheel/apex/optimizers
creating build/bdist.linux-x86_64/wheel/apex/pyprof
creating build/bdist.linux-x86_64/wheel/apex/pyprof/nvtx
copying build/lib.linux-x86_64-3.7/apex/pyprof/nvtx/__init__.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/nvtx
copying build/lib.linux-x86_64-3.7/apex/pyprof/nvtx/nvmarker.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/nvtx
copying build/lib.linux-x86_64-3.7/apex/pyprof/__init__.py -> build/bdist.linux-x86_64/wheel/apex/pyprof
creating build/bdist.linux-x86_64/wheel/apex/pyprof/parse
copying build/lib.linux-x86_64-3.7/apex/pyprof/parse/nvvp.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/parse
copying build/lib.linux-x86_64-3.7/apex/pyprof/parse/__main__.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/parse
copying build/lib.linux-x86_64-3.7/apex/pyprof/parse/parse.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/parse
copying build/lib.linux-x86_64-3.7/apex/pyprof/parse/__init__.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/parse
copying build/lib.linux-x86_64-3.7/apex/pyprof/parse/db.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/parse
copying build/lib.linux-x86_64-3.7/apex/pyprof/parse/kernel.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/parse
creating build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/loss.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/optim.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/output.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/misc.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/__main__.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/usage.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/index_slice_join_mutate.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/pointwise.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/blas.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/embedding.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/reduction.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/prof.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/utility.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/__init__.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/softmax.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/recurrentCell.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/randomSample.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/conv.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/data.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/pooling.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/activation.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/linear.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/normalization.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/base.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/dropout.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/convert.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/__init__.py -> build/bdist.linux-x86_64/wheel/apex
creating build/bdist.linux-x86_64/wheel/apex/RNN
copying build/lib.linux-x86_64-3.7/apex/RNN/cells.py -> build/bdist.linux-x86_64/wheel/apex/RNN
copying build/lib.linux-x86_64-3.7/apex/RNN/__init__.py -> build/bdist.linux-x86_64/wheel/apex/RNN
copying build/lib.linux-x86_64-3.7/apex/RNN/RNNBackend.py -> build/bdist.linux-x86_64/wheel/apex/RNN
copying build/lib.linux-x86_64-3.7/apex/RNN/models.py -> build/bdist.linux-x86_64/wheel/apex/RNN
creating build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/utils.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/rnn_compat.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/frontend.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/_initialize.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/amp.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/_process_optimizer.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/opt.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/__init__.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/handle.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/scaler.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/__version__.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/compat.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/_amp_state.py -> build/bdist.linux-x86_64/wheel/apex/amp
creating build/bdist.linux-x86_64/wheel/apex/amp/lists
copying build/lib.linux-x86_64-3.7/apex/amp/lists/torch_overrides.py -> build/bdist.linux-x86_64/wheel/apex/amp/lists
copying build/lib.linux-x86_64-3.7/apex/amp/lists/__init__.py -> build/bdist.linux-x86_64/wheel/apex/amp/lists
copying build/lib.linux-x86_64-3.7/apex/amp/lists/functional_overrides.py -> build/bdist.linux-x86_64/wheel/apex/amp/lists
copying build/lib.linux-x86_64-3.7/apex/amp/lists/tensor_overrides.py -> build/bdist.linux-x86_64/wheel/apex/amp/lists
copying build/lib.linux-x86_64-3.7/apex/amp/wrap.py -> build/bdist.linux-x86_64/wheel/apex/amp
creating build/bdist.linux-x86_64/wheel/apex/reparameterization
copying build/lib.linux-x86_64-3.7/apex/reparameterization/reparameterization.py -> build/bdist.linux-x86_64/wheel/apex/reparameterization
copying build/lib.linux-x86_64-3.7/apex/reparameterization/__init__.py -> build/bdist.linux-x86_64/wheel/apex/reparameterization
copying build/lib.linux-x86_64-3.7/apex/reparameterization/weight_norm.py -> build/bdist.linux-x86_64/wheel/apex/reparameterization
creating build/bdist.linux-x86_64/wheel/apex/fp16_utils
copying build/lib.linux-x86_64-3.7/apex/fp16_utils/__init__.py -> build/bdist.linux-x86_64/wheel/apex/fp16_utils
copying build/lib.linux-x86_64-3.7/apex/fp16_utils/loss_scaler.py -> build/bdist.linux-x86_64/wheel/apex/fp16_utils
copying build/lib.linux-x86_64-3.7/apex/fp16_utils/fp16_optimizer.py -> build/bdist.linux-x86_64/wheel/apex/fp16_utils
copying build/lib.linux-x86_64-3.7/apex/fp16_utils/fp16util.py -> build/bdist.linux-x86_64/wheel/apex/fp16_utils
copying build/lib.linux-x86_64-3.7/syncbn.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel
copying build/lib.linux-x86_64-3.7/apex_C.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel
running install_egg_info
running egg_info
creating apex.egg-info
writing apex.egg-info/PKG-INFO
writing dependency_links to apex.egg-info/dependency_links.txt
writing top-level names to apex.egg-info/top_level.txt
writing manifest file 'apex.egg-info/SOURCES.txt'
'license_file' option was not specified
reading manifest file 'apex.egg-info/SOURCES.txt'
writing manifest file 'apex.egg-info/SOURCES.txt'
Copying apex.egg-info to build/bdist.linux-x86_64/wheel/apex-0.1-py3.7.egg-info
Copying dependency_links.txt to build/bdist.linux-x86_64/wheel/apex-0.1-py3.7.egg-info/dependency_links.txt
Copying PKG-INFO to build/bdist.linux-x86_64/wheel/apex-0.1-py3.7.egg-info/PKG-INFO
Copying top_level.txt to build/bdist.linux-x86_64/wheel/apex-0.1-py3.7.egg-info/top_level.txt
Copying SOURCES.txt to build/bdist.linux-x86_64/wheel/apex-0.1-py3.7.egg-info/SOURCES.txt
running install_scripts
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/apex-0.1.dist-info/WHEEL
creating 'dist/apex-0.1-cp37-cp37m-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'amp_C.cpython-37m-x86_64-linux-gnu.so'
adding 'apex_C.cpython-37m-x86_64-linux-gnu.so'
adding 'fused_layer_norm_cuda.cpython-37m-x86_64-linux-gnu.so'
adding 'syncbn.cpython-37m-x86_64-linux-gnu.so'
adding 'apex/__init__.py'
adding 'apex/RNN/RNNBackend.py'
adding 'apex/RNN/__init__.py'
adding 'apex/RNN/cells.py'
adding 'apex/RNN/models.py'
adding 'apex/amp/__init__.py'
adding 'apex/amp/__version__.py'
adding 'apex/amp/_amp_state.py'
adding 'apex/amp/_initialize.py'
adding 'apex/amp/_process_optimizer.py'
adding 'apex/amp/amp.py'
adding 'apex/amp/compat.py'
adding 'apex/amp/frontend.py'
adding 'apex/amp/handle.py'
adding 'apex/amp/opt.py'
adding 'apex/amp/rnn_compat.py'
adding 'apex/amp/scaler.py'
adding 'apex/amp/utils.py'
adding 'apex/amp/wrap.py'
adding 'apex/amp/lists/__init__.py'
adding 'apex/amp/lists/functional_overrides.py'
adding 'apex/amp/lists/tensor_overrides.py'
adding 'apex/amp/lists/torch_overrides.py'
adding 'apex/contrib/__init__.py'
adding 'apex/contrib/groupbn/__init__.py'
adding 'apex/contrib/groupbn/batch_norm.py'
adding 'apex/contrib/optimizers/__init__.py'
adding 'apex/contrib/optimizers/fp16_optimizer.py'
adding 'apex/contrib/optimizers/fused_adam.py'
adding 'apex/contrib/optimizers/fused_sgd.py'
adding 'apex/contrib/xentropy/__init__.py'
adding 'apex/contrib/xentropy/softmax_xentropy.py'
adding 'apex/fp16_utils/__init__.py'
adding 'apex/fp16_utils/fp16_optimizer.py'
adding 'apex/fp16_utils/fp16util.py'
adding 'apex/fp16_utils/loss_scaler.py'
adding 'apex/multi_tensor_apply/__init__.py'
adding 'apex/multi_tensor_apply/multi_tensor_apply.py'
adding 'apex/normalization/__init__.py'
adding 'apex/normalization/fused_layer_norm.py'
adding 'apex/optimizers/__init__.py'
adding 'apex/optimizers/fused_adam.py'
adding 'apex/optimizers/fused_lamb.py'
adding 'apex/optimizers/fused_novograd.py'
adding 'apex/optimizers/fused_sgd.py'
adding 'apex/parallel/LARC.py'
adding 'apex/parallel/__init__.py'
adding 'apex/parallel/distributed.py'
adding 'apex/parallel/multiproc.py'
adding 'apex/parallel/optimized_sync_batchnorm.py'
adding 'apex/parallel/optimized_sync_batchnorm_kernel.py'
adding 'apex/parallel/sync_batchnorm.py'
adding 'apex/parallel/sync_batchnorm_kernel.py'
adding 'apex/pyprof/__init__.py'
adding 'apex/pyprof/nvtx/__init__.py'
adding 'apex/pyprof/nvtx/nvmarker.py'
adding 'apex/pyprof/parse/__init__.py'
adding 'apex/pyprof/parse/__main__.py'
adding 'apex/pyprof/parse/db.py'
adding 'apex/pyprof/parse/kernel.py'
adding 'apex/pyprof/parse/nvvp.py'
adding 'apex/pyprof/parse/parse.py'
adding 'apex/pyprof/prof/__init__.py'
adding 'apex/pyprof/prof/__main__.py'
adding 'apex/pyprof/prof/activation.py'
adding 'apex/pyprof/prof/base.py'
adding 'apex/pyprof/prof/blas.py'
adding 'apex/pyprof/prof/conv.py'
adding 'apex/pyprof/prof/convert.py'
adding 'apex/pyprof/prof/data.py'
adding 'apex/pyprof/prof/dropout.py'
adding 'apex/pyprof/prof/embedding.py'
adding 'apex/pyprof/prof/index_slice_join_mutate.py'
adding 'apex/pyprof/prof/linear.py'
adding 'apex/pyprof/prof/loss.py'
adding 'apex/pyprof/prof/misc.py'
adding 'apex/pyprof/prof/normalization.py'
adding 'apex/pyprof/prof/optim.py'
adding 'apex/pyprof/prof/output.py'
adding 'apex/pyprof/prof/pointwise.py'
adding 'apex/pyprof/prof/pooling.py'
adding 'apex/pyprof/prof/prof.py'
adding 'apex/pyprof/prof/randomSample.py'
adding 'apex/pyprof/prof/recurrentCell.py'
adding 'apex/pyprof/prof/reduction.py'
adding 'apex/pyprof/prof/softmax.py'
adding 'apex/pyprof/prof/usage.py'
adding 'apex/pyprof/prof/utility.py'
adding 'apex/reparameterization/__init__.py'
adding 'apex/reparameterization/reparameterization.py'
adding 'apex/reparameterization/weight_norm.py'
adding 'apex-0.1.dist-info/LICENSE'
adding 'apex-0.1.dist-info/METADATA'
adding 'apex-0.1.dist-info/WHEEL'
adding 'apex-0.1.dist-info/top_level.txt'
adding 'apex-0.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
/home/user/code/DeepSpeed
Installing apex locally so that deepspeed will build
WARNING: Skipping apex as it is not installed.
Using pip 20.2.3 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/pip (python 3.7)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-ra6kifta
Created temporary directory: /tmp/pip-req-tracker-4fweqvlb
Initialized build tracking at /tmp/pip-req-tracker-4fweqvlb
Created build tracker: /tmp/pip-req-tracker-4fweqvlb
Entered build tracker: /tmp/pip-req-tracker-4fweqvlb
Created temporary directory: /tmp/pip-install-82wldn2p
Processing ./third_party/apex/dist/apex-0.1-cp37-cp37m-linux_x86_64.whl
  Added apex==0.1 from file:///home/user/code/DeepSpeed/third_party/apex/dist/apex-0.1-cp37-cp37m-linux_x86_64.whl to build tracker '/tmp/pip-req-tracker-4fweqvlb'
  Removed apex==0.1 from file:///home/user/code/DeepSpeed/third_party/apex/dist/apex-0.1-cp37-cp37m-linux_x86_64.whl from build tracker '/tmp/pip-req-tracker-4fweqvlb'
Installing collected packages: apex

Successfully installed apex-0.1
Removed build tracker: '/tmp/pip-req-tracker-4fweqvlb'
Building deepspeed wheel
./install.sh: line 196: 69900 Floating point exception(core dumped) python setup.py -v bdist_wheel
Error on line 195
Fail to install deepspeed

@drfinkus Sorry that this is still a problem. While I see the floating point exception in the log, I am unable to see the cause. So can you please rerun install.sh in an incremental way to reduce the log size. You can do this by adding -n to the command line arguments: install.sh ... -n

@tjruwase sure, thanks for the help! See below, hope this helps and let me know if I can help in any other way!
(base) user@desktop:~/code/DeepSpeed$ ./install.sh -n
No hostfile exists at /job/hostfile, installing locally
Using pip 20.2.4 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/pip (python 3.7)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-2o9xf9lz
Created temporary directory: /tmp/pip-req-tracker-lu7qlrs5
Initialized build tracking at /tmp/pip-req-tracker-lu7qlrs5
Created build tracker: /tmp/pip-req-tracker-lu7qlrs5
Entered build tracker: /tmp/pip-req-tracker-lu7qlrs5
Created temporary directory: /tmp/pip-install-yrc0vse_
Requirement already satisfied: torch>=1.2 in /home/user/miniconda3/envs/ait/lib/python3.7/site-packages (from -r requirements/requirements.txt (line 1)) (1.6.0)
Requirement already satisfied: torchvision>=0.4.0 in /home/user/miniconda3/envs/ait/lib/python3.7/site-packages (from -r requirements/requirements.txt (line 2)) (0.7.0)
Requirement already satisfied: tqdm in /home/user/miniconda3/envs/ait/lib/python3.7/site-packages (from -r requirements/requirements.txt (line 3)) (4.50.2)
Requirement already satisfied: psutil in /home/user/miniconda3/envs/ait/lib/python3.7/site-packages (from -r requirements/requirements.txt (line 4)) (5.7.2)
Requirement already satisfied: cpufeature in /home/user/miniconda3/envs/ait/lib/python3.7/site-packages (from -r requirements/requirements.txt (line 5)) (0.1.1)
Requirement already satisfied: tensorboardX==1.8 in /home/user/miniconda3/envs/ait/lib/python3.7/site-packages (from -r requirements/requirements.txt (line 6)) (1.8)
Requirement already satisfied: future in /home/user/miniconda3/envs/ait/lib/python3.7/site-packages (from torch>=1.2->-r requirements/requirements.txt (line 1)) (0.18.2)
Requirement already satisfied: numpy in /home/user/miniconda3/envs/ait/lib/python3.7/site-packages (from torch>=1.2->-r requirements/requirements.txt (line 1)) (1.18.5)
Requirement already satisfied: pillow>=4.1.1 in /home/user/miniconda3/envs/ait/lib/python3.7/site-packages (from torchvision>=0.4.0->-r requirements/requirements.txt (line 2)) (8.0.0)
Requirement already satisfied: six in /home/user/miniconda3/envs/ait/lib/python3.7/site-packages (from tensorboardX==1.8->-r requirements/requirements.txt (line 6)) (1.15.0)
Requirement already satisfied: protobuf>=3.2.0 in /home/user/miniconda3/envs/ait/lib/python3.7/site-packages (from tensorboardX==1.8->-r requirements/requirements.txt (line 6)) (3.13.0)
Requirement already satisfied: setuptools in /home/user/miniconda3/envs/ait/lib/python3.7/site-packages (from protobuf>=3.2.0->tensorboardX==1.8->-r requirements/requirements.txt (line 6)) (50.3.2)
Removed build tracker: '/tmp/pip-req-tracker-lu7qlrs5'
Checking out sub-module(s)
Building apex wheel
torch.__version__  =  1.6.0
setup.py:43: UserWarning: Option --pyprof not specified. Not installing PyProf dependencies!
  warnings.warn("Option --pyprof not specified. Not installing PyProf dependencies!")

Compiling cuda extensions with
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
Cuda compilation tools, release 10.2, V10.2.89
from /usr/local/cuda/bin

running bdist_wheel
/home/user/miniconda3/envs/ait/lib/python3.7/site-packages/torch/utils/cpp_extension.py:335: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
  warnings.warn(msg.format('we could not find ninja.'))
running build
running build_py
not copying apex/__init__.py (output up-to-date)
not copying apex/contrib/__init__.py (output up-to-date)
not copying apex/parallel/LARC.py (output up-to-date)
not copying apex/parallel/distributed.py (output up-to-date)
not copying apex/parallel/__init__.py (output up-to-date)
not copying apex/parallel/optimized_sync_batchnorm.py (output up-to-date)
not copying apex/parallel/sync_batchnorm.py (output up-to-date)
not copying apex/parallel/multiproc.py (output up-to-date)
not copying apex/parallel/optimized_sync_batchnorm_kernel.py (output up-to-date)
not copying apex/parallel/sync_batchnorm_kernel.py (output up-to-date)
not copying apex/multi_tensor_apply/__init__.py (output up-to-date)
not copying apex/multi_tensor_apply/multi_tensor_apply.py (output up-to-date)
not copying apex/normalization/fused_layer_norm.py (output up-to-date)
not copying apex/normalization/__init__.py (output up-to-date)
not copying apex/optimizers/fused_lamb.py (output up-to-date)
not copying apex/optimizers/fused_novograd.py (output up-to-date)
not copying apex/optimizers/__init__.py (output up-to-date)
not copying apex/optimizers/fused_sgd.py (output up-to-date)
not copying apex/optimizers/fused_adam.py (output up-to-date)
not copying apex/pyprof/__init__.py (output up-to-date)
not copying apex/RNN/cells.py (output up-to-date)
not copying apex/RNN/__init__.py (output up-to-date)
not copying apex/RNN/RNNBackend.py (output up-to-date)
not copying apex/RNN/models.py (output up-to-date)
not copying apex/amp/utils.py (output up-to-date)
not copying apex/amp/rnn_compat.py (output up-to-date)
not copying apex/amp/frontend.py (output up-to-date)
not copying apex/amp/_initialize.py (output up-to-date)
not copying apex/amp/amp.py (output up-to-date)
not copying apex/amp/_process_optimizer.py (output up-to-date)
not copying apex/amp/opt.py (output up-to-date)
not copying apex/amp/__init__.py (output up-to-date)
not copying apex/amp/handle.py (output up-to-date)
not copying apex/amp/scaler.py (output up-to-date)
not copying apex/amp/__version__.py (output up-to-date)
not copying apex/amp/compat.py (output up-to-date)
not copying apex/amp/_amp_state.py (output up-to-date)
not copying apex/amp/wrap.py (output up-to-date)
not copying apex/reparameterization/reparameterization.py (output up-to-date)
not copying apex/reparameterization/__init__.py (output up-to-date)
not copying apex/reparameterization/weight_norm.py (output up-to-date)
not copying apex/fp16_utils/__init__.py (output up-to-date)
not copying apex/fp16_utils/loss_scaler.py (output up-to-date)
not copying apex/fp16_utils/fp16_optimizer.py (output up-to-date)
not copying apex/fp16_utils/fp16util.py (output up-to-date)
not copying apex/contrib/xentropy/__init__.py (output up-to-date)
not copying apex/contrib/xentropy/softmax_xentropy.py (output up-to-date)
not copying apex/contrib/optimizers/__init__.py (output up-to-date)
not copying apex/contrib/optimizers/fp16_optimizer.py (output up-to-date)
not copying apex/contrib/optimizers/fused_sgd.py (output up-to-date)
not copying apex/contrib/optimizers/fused_adam.py (output up-to-date)
not copying apex/contrib/groupbn/__init__.py (output up-to-date)
not copying apex/contrib/groupbn/batch_norm.py (output up-to-date)
not copying apex/pyprof/nvtx/__init__.py (output up-to-date)
not copying apex/pyprof/nvtx/nvmarker.py (output up-to-date)
not copying apex/pyprof/parse/nvvp.py (output up-to-date)
not copying apex/pyprof/parse/__main__.py (output up-to-date)
not copying apex/pyprof/parse/parse.py (output up-to-date)
not copying apex/pyprof/parse/__init__.py (output up-to-date)
not copying apex/pyprof/parse/db.py (output up-to-date)
not copying apex/pyprof/parse/kernel.py (output up-to-date)
not copying apex/pyprof/prof/loss.py (output up-to-date)
not copying apex/pyprof/prof/optim.py (output up-to-date)
not copying apex/pyprof/prof/output.py (output up-to-date)
not copying apex/pyprof/prof/misc.py (output up-to-date)
not copying apex/pyprof/prof/__main__.py (output up-to-date)
not copying apex/pyprof/prof/usage.py (output up-to-date)
not copying apex/pyprof/prof/index_slice_join_mutate.py (output up-to-date)
not copying apex/pyprof/prof/pointwise.py (output up-to-date)
not copying apex/pyprof/prof/blas.py (output up-to-date)
not copying apex/pyprof/prof/embedding.py (output up-to-date)
not copying apex/pyprof/prof/reduction.py (output up-to-date)
not copying apex/pyprof/prof/prof.py (output up-to-date)
not copying apex/pyprof/prof/utility.py (output up-to-date)
not copying apex/pyprof/prof/__init__.py (output up-to-date)
not copying apex/pyprof/prof/softmax.py (output up-to-date)
not copying apex/pyprof/prof/recurrentCell.py (output up-to-date)
not copying apex/pyprof/prof/randomSample.py (output up-to-date)
not copying apex/pyprof/prof/conv.py (output up-to-date)
not copying apex/pyprof/prof/data.py (output up-to-date)
not copying apex/pyprof/prof/pooling.py (output up-to-date)
not copying apex/pyprof/prof/activation.py (output up-to-date)
not copying apex/pyprof/prof/linear.py (output up-to-date)
not copying apex/pyprof/prof/normalization.py (output up-to-date)
not copying apex/pyprof/prof/base.py (output up-to-date)
not copying apex/pyprof/prof/dropout.py (output up-to-date)
not copying apex/pyprof/prof/convert.py (output up-to-date)
not copying apex/amp/lists/torch_overrides.py (output up-to-date)
not copying apex/amp/lists/__init__.py (output up-to-date)
not copying apex/amp/lists/functional_overrides.py (output up-to-date)
not copying apex/amp/lists/tensor_overrides.py (output up-to-date)
running build_ext
skipping 'apex_C' extension (up-to-date)
skipping 'amp_C' extension (up-to-date)
skipping 'syncbn' extension (up-to-date)
skipping 'fused_layer_norm_cuda' extension (up-to-date)
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
copying build/lib.linux-x86_64-3.7/fused_layer_norm_cuda.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel
copying build/lib.linux-x86_64-3.7/amp_C.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/apex
creating build/bdist.linux-x86_64/wheel/apex/contrib
creating build/bdist.linux-x86_64/wheel/apex/contrib/xentropy
copying build/lib.linux-x86_64-3.7/apex/contrib/xentropy/__init__.py -> build/bdist.linux-x86_64/wheel/apex/contrib/xentropy
copying build/lib.linux-x86_64-3.7/apex/contrib/xentropy/softmax_xentropy.py -> build/bdist.linux-x86_64/wheel/apex/contrib/xentropy
creating build/bdist.linux-x86_64/wheel/apex/contrib/optimizers
copying build/lib.linux-x86_64-3.7/apex/contrib/optimizers/__init__.py -> build/bdist.linux-x86_64/wheel/apex/contrib/optimizers
copying build/lib.linux-x86_64-3.7/apex/contrib/optimizers/fp16_optimizer.py -> build/bdist.linux-x86_64/wheel/apex/contrib/optimizers
copying build/lib.linux-x86_64-3.7/apex/contrib/optimizers/fused_sgd.py -> build/bdist.linux-x86_64/wheel/apex/contrib/optimizers
copying build/lib.linux-x86_64-3.7/apex/contrib/optimizers/fused_adam.py -> build/bdist.linux-x86_64/wheel/apex/contrib/optimizers
copying build/lib.linux-x86_64-3.7/apex/contrib/__init__.py -> build/bdist.linux-x86_64/wheel/apex/contrib
creating build/bdist.linux-x86_64/wheel/apex/contrib/groupbn
copying build/lib.linux-x86_64-3.7/apex/contrib/groupbn/__init__.py -> build/bdist.linux-x86_64/wheel/apex/contrib/groupbn
copying build/lib.linux-x86_64-3.7/apex/contrib/groupbn/batch_norm.py -> build/bdist.linux-x86_64/wheel/apex/contrib/groupbn
creating build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/LARC.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/distributed.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/__init__.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/optimized_sync_batchnorm.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/sync_batchnorm.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/multiproc.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/optimized_sync_batchnorm_kernel.py -> build/bdist.linux-x86_64/wheel/apex/parallel
copying build/lib.linux-x86_64-3.7/apex/parallel/sync_batchnorm_kernel.py -> build/bdist.linux-x86_64/wheel/apex/parallel
creating build/bdist.linux-x86_64/wheel/apex/multi_tensor_apply
copying build/lib.linux-x86_64-3.7/apex/multi_tensor_apply/__init__.py -> build/bdist.linux-x86_64/wheel/apex/multi_tensor_apply
copying build/lib.linux-x86_64-3.7/apex/multi_tensor_apply/multi_tensor_apply.py -> build/bdist.linux-x86_64/wheel/apex/multi_tensor_apply
creating build/bdist.linux-x86_64/wheel/apex/normalization
copying build/lib.linux-x86_64-3.7/apex/normalization/fused_layer_norm.py -> build/bdist.linux-x86_64/wheel/apex/normalization
copying build/lib.linux-x86_64-3.7/apex/normalization/__init__.py -> build/bdist.linux-x86_64/wheel/apex/normalization
creating build/bdist.linux-x86_64/wheel/apex/optimizers
copying build/lib.linux-x86_64-3.7/apex/optimizers/fused_lamb.py -> build/bdist.linux-x86_64/wheel/apex/optimizers
copying build/lib.linux-x86_64-3.7/apex/optimizers/fused_novograd.py -> build/bdist.linux-x86_64/wheel/apex/optimizers
copying build/lib.linux-x86_64-3.7/apex/optimizers/__init__.py -> build/bdist.linux-x86_64/wheel/apex/optimizers
copying build/lib.linux-x86_64-3.7/apex/optimizers/fused_sgd.py -> build/bdist.linux-x86_64/wheel/apex/optimizers
copying build/lib.linux-x86_64-3.7/apex/optimizers/fused_adam.py -> build/bdist.linux-x86_64/wheel/apex/optimizers
creating build/bdist.linux-x86_64/wheel/apex/pyprof
creating build/bdist.linux-x86_64/wheel/apex/pyprof/nvtx
copying build/lib.linux-x86_64-3.7/apex/pyprof/nvtx/__init__.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/nvtx
copying build/lib.linux-x86_64-3.7/apex/pyprof/nvtx/nvmarker.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/nvtx
copying build/lib.linux-x86_64-3.7/apex/pyprof/__init__.py -> build/bdist.linux-x86_64/wheel/apex/pyprof
creating build/bdist.linux-x86_64/wheel/apex/pyprof/parse
copying build/lib.linux-x86_64-3.7/apex/pyprof/parse/nvvp.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/parse
copying build/lib.linux-x86_64-3.7/apex/pyprof/parse/__main__.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/parse
copying build/lib.linux-x86_64-3.7/apex/pyprof/parse/parse.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/parse
copying build/lib.linux-x86_64-3.7/apex/pyprof/parse/__init__.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/parse
copying build/lib.linux-x86_64-3.7/apex/pyprof/parse/db.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/parse
copying build/lib.linux-x86_64-3.7/apex/pyprof/parse/kernel.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/parse
creating build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/loss.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/optim.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/output.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/misc.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/__main__.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/usage.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/index_slice_join_mutate.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/pointwise.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/blas.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/embedding.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/reduction.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/prof.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/utility.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/__init__.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/softmax.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/recurrentCell.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/randomSample.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/conv.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/data.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/pooling.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/activation.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/linear.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/normalization.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/base.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/dropout.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/pyprof/prof/convert.py -> build/bdist.linux-x86_64/wheel/apex/pyprof/prof
copying build/lib.linux-x86_64-3.7/apex/__init__.py -> build/bdist.linux-x86_64/wheel/apex
creating build/bdist.linux-x86_64/wheel/apex/RNN
copying build/lib.linux-x86_64-3.7/apex/RNN/cells.py -> build/bdist.linux-x86_64/wheel/apex/RNN
copying build/lib.linux-x86_64-3.7/apex/RNN/__init__.py -> build/bdist.linux-x86_64/wheel/apex/RNN
copying build/lib.linux-x86_64-3.7/apex/RNN/RNNBackend.py -> build/bdist.linux-x86_64/wheel/apex/RNN
copying build/lib.linux-x86_64-3.7/apex/RNN/models.py -> build/bdist.linux-x86_64/wheel/apex/RNN
creating build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/utils.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/rnn_compat.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/frontend.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/_initialize.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/amp.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/_process_optimizer.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/opt.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/__init__.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/handle.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/scaler.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/__version__.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/compat.py -> build/bdist.linux-x86_64/wheel/apex/amp
copying build/lib.linux-x86_64-3.7/apex/amp/_amp_state.py -> build/bdist.linux-x86_64/wheel/apex/amp
creating build/bdist.linux-x86_64/wheel/apex/amp/lists
copying build/lib.linux-x86_64-3.7/apex/amp/lists/torch_overrides.py -> build/bdist.linux-x86_64/wheel/apex/amp/lists
copying build/lib.linux-x86_64-3.7/apex/amp/lists/__init__.py -> build/bdist.linux-x86_64/wheel/apex/amp/lists
copying build/lib.linux-x86_64-3.7/apex/amp/lists/functional_overrides.py -> build/bdist.linux-x86_64/wheel/apex/amp/lists
copying build/lib.linux-x86_64-3.7/apex/amp/lists/tensor_overrides.py -> build/bdist.linux-x86_64/wheel/apex/amp/lists
copying build/lib.linux-x86_64-3.7/apex/amp/wrap.py -> build/bdist.linux-x86_64/wheel/apex/amp
creating build/bdist.linux-x86_64/wheel/apex/reparameterization
copying build/lib.linux-x86_64-3.7/apex/reparameterization/reparameterization.py -> build/bdist.linux-x86_64/wheel/apex/reparameterization
copying build/lib.linux-x86_64-3.7/apex/reparameterization/__init__.py -> build/bdist.linux-x86_64/wheel/apex/reparameterization
copying build/lib.linux-x86_64-3.7/apex/reparameterization/weight_norm.py -> build/bdist.linux-x86_64/wheel/apex/reparameterization
creating build/bdist.linux-x86_64/wheel/apex/fp16_utils
copying build/lib.linux-x86_64-3.7/apex/fp16_utils/__init__.py -> build/bdist.linux-x86_64/wheel/apex/fp16_utils
copying build/lib.linux-x86_64-3.7/apex/fp16_utils/loss_scaler.py -> build/bdist.linux-x86_64/wheel/apex/fp16_utils
copying build/lib.linux-x86_64-3.7/apex/fp16_utils/fp16_optimizer.py -> build/bdist.linux-x86_64/wheel/apex/fp16_utils
copying build/lib.linux-x86_64-3.7/apex/fp16_utils/fp16util.py -> build/bdist.linux-x86_64/wheel/apex/fp16_utils
copying build/lib.linux-x86_64-3.7/syncbn.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel
copying build/lib.linux-x86_64-3.7/apex_C.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel
running install_egg_info
running egg_info
writing apex.egg-info/PKG-INFO
writing dependency_links to apex.egg-info/dependency_links.txt
writing top-level names to apex.egg-info/top_level.txt
'license_file' option was not specified
reading manifest file 'apex.egg-info/SOURCES.txt'
writing manifest file 'apex.egg-info/SOURCES.txt'
Copying apex.egg-info to build/bdist.linux-x86_64/wheel/apex-0.1-py3.7.egg-info
Copying dependency_links.txt to build/bdist.linux-x86_64/wheel/apex-0.1-py3.7.egg-info/dependency_links.txt
Copying PKG-INFO to build/bdist.linux-x86_64/wheel/apex-0.1-py3.7.egg-info/PKG-INFO
Copying top_level.txt to build/bdist.linux-x86_64/wheel/apex-0.1-py3.7.egg-info/top_level.txt
Copying SOURCES.txt to build/bdist.linux-x86_64/wheel/apex-0.1-py3.7.egg-info/SOURCES.txt
running install_scripts
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/apex-0.1.dist-info/WHEEL
creating 'dist/apex-0.1-cp37-cp37m-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'amp_C.cpython-37m-x86_64-linux-gnu.so'
adding 'apex_C.cpython-37m-x86_64-linux-gnu.so'
adding 'fused_layer_norm_cuda.cpython-37m-x86_64-linux-gnu.so'
adding 'syncbn.cpython-37m-x86_64-linux-gnu.so'
adding 'apex/__init__.py'
adding 'apex/RNN/RNNBackend.py'
adding 'apex/RNN/__init__.py'
adding 'apex/RNN/cells.py'
adding 'apex/RNN/models.py'
adding 'apex/amp/__init__.py'
adding 'apex/amp/__version__.py'
adding 'apex/amp/_amp_state.py'
adding 'apex/amp/_initialize.py'
adding 'apex/amp/_process_optimizer.py'
adding 'apex/amp/amp.py'
adding 'apex/amp/compat.py'
adding 'apex/amp/frontend.py'
adding 'apex/amp/handle.py'
adding 'apex/amp/opt.py'
adding 'apex/amp/rnn_compat.py'
adding 'apex/amp/scaler.py'
adding 'apex/amp/utils.py'
adding 'apex/amp/wrap.py'
adding 'apex/amp/lists/__init__.py'
adding 'apex/amp/lists/functional_overrides.py'
adding 'apex/amp/lists/tensor_overrides.py'
adding 'apex/amp/lists/torch_overrides.py'
adding 'apex/contrib/__init__.py'
adding 'apex/contrib/groupbn/__init__.py'
adding 'apex/contrib/groupbn/batch_norm.py'
adding 'apex/contrib/optimizers/__init__.py'
adding 'apex/contrib/optimizers/fp16_optimizer.py'
adding 'apex/contrib/optimizers/fused_adam.py'
adding 'apex/contrib/optimizers/fused_sgd.py'
adding 'apex/contrib/xentropy/__init__.py'
adding 'apex/contrib/xentropy/softmax_xentropy.py'
adding 'apex/fp16_utils/__init__.py'
adding 'apex/fp16_utils/fp16_optimizer.py'
adding 'apex/fp16_utils/fp16util.py'
adding 'apex/fp16_utils/loss_scaler.py'
adding 'apex/multi_tensor_apply/__init__.py'
adding 'apex/multi_tensor_apply/multi_tensor_apply.py'
adding 'apex/normalization/__init__.py'
adding 'apex/normalization/fused_layer_norm.py'
adding 'apex/optimizers/__init__.py'
adding 'apex/optimizers/fused_adam.py'
adding 'apex/optimizers/fused_lamb.py'
adding 'apex/optimizers/fused_novograd.py'
adding 'apex/optimizers/fused_sgd.py'
adding 'apex/parallel/LARC.py'
adding 'apex/parallel/__init__.py'
adding 'apex/parallel/distributed.py'
adding 'apex/parallel/multiproc.py'
adding 'apex/parallel/optimized_sync_batchnorm.py'
adding 'apex/parallel/optimized_sync_batchnorm_kernel.py'
adding 'apex/parallel/sync_batchnorm.py'
adding 'apex/parallel/sync_batchnorm_kernel.py'
adding 'apex/pyprof/__init__.py'
adding 'apex/pyprof/nvtx/__init__.py'
adding 'apex/pyprof/nvtx/nvmarker.py'
adding 'apex/pyprof/parse/__init__.py'
adding 'apex/pyprof/parse/__main__.py'
adding 'apex/pyprof/parse/db.py'
adding 'apex/pyprof/parse/kernel.py'
adding 'apex/pyprof/parse/nvvp.py'
adding 'apex/pyprof/parse/parse.py'
adding 'apex/pyprof/prof/__init__.py'
adding 'apex/pyprof/prof/__main__.py'
adding 'apex/pyprof/prof/activation.py'
adding 'apex/pyprof/prof/base.py'
adding 'apex/pyprof/prof/blas.py'
adding 'apex/pyprof/prof/conv.py'
adding 'apex/pyprof/prof/convert.py'
adding 'apex/pyprof/prof/data.py'
adding 'apex/pyprof/prof/dropout.py'
adding 'apex/pyprof/prof/embedding.py'
adding 'apex/pyprof/prof/index_slice_join_mutate.py'
adding 'apex/pyprof/prof/linear.py'
adding 'apex/pyprof/prof/loss.py'
adding 'apex/pyprof/prof/misc.py'
adding 'apex/pyprof/prof/normalization.py'
adding 'apex/pyprof/prof/optim.py'
adding 'apex/pyprof/prof/output.py'
adding 'apex/pyprof/prof/pointwise.py'
adding 'apex/pyprof/prof/pooling.py'
adding 'apex/pyprof/prof/prof.py'
adding 'apex/pyprof/prof/randomSample.py'
adding 'apex/pyprof/prof/recurrentCell.py'
adding 'apex/pyprof/prof/reduction.py'
adding 'apex/pyprof/prof/softmax.py'
adding 'apex/pyprof/prof/usage.py'
adding 'apex/pyprof/prof/utility.py'
adding 'apex/reparameterization/__init__.py'
adding 'apex/reparameterization/reparameterization.py'
adding 'apex/reparameterization/weight_norm.py'
adding 'apex-0.1.dist-info/LICENSE'
adding 'apex-0.1.dist-info/METADATA'
adding 'apex-0.1.dist-info/WHEEL'
adding 'apex-0.1.dist-info/top_level.txt'
adding 'apex-0.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
/home/user/code/DeepSpeed
Installing apex locally so that deepspeed will build
Found existing installation: apex 0.1
Uninstalling apex-0.1:
  Successfully uninstalled apex-0.1
Using pip 20.2.4 from /home/user/miniconda3/envs/ait/lib/python3.7/site-packages/pip (python 3.7)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-st9ti59p
Created temporary directory: /tmp/pip-req-tracker-x7xrzrg7
Initialized build tracking at /tmp/pip-req-tracker-x7xrzrg7
Created build tracker: /tmp/pip-req-tracker-x7xrzrg7
Entered build tracker: /tmp/pip-req-tracker-x7xrzrg7
Created temporary directory: /tmp/pip-install-yhmp53sr
Processing ./third_party/apex/dist/apex-0.1-cp37-cp37m-linux_x86_64.whl
  Added apex==0.1 from file:///home/user/code/DeepSpeed/third_party/apex/dist/apex-0.1-cp37-cp37m-linux_x86_64.whl to build tracker '/tmp/pip-req-tracker-x7xrzrg7'
  Removed apex==0.1 from file:///home/user/code/DeepSpeed/third_party/apex/dist/apex-0.1-cp37-cp37m-linux_x86_64.whl from build tracker '/tmp/pip-req-tracker-x7xrzrg7'
Installing collected packages: apex

Successfully installed apex-0.1
Removed build tracker: '/tmp/pip-req-tracker-x7xrzrg7'
Building deepspeed wheel
./install.sh: line 196: 193157 Floating point exception(core dumped) python setup.py -v bdist_wheel
Error on line 195
Fail to install deepspeed

@tjruwase did the install.sh -n log above help in any way? Please let me know if I can help debug further!

@drfinkus, thanks for sharing the log. It confirms that error is in setup.py, but not much more. So I think we should run setup.py alone to see if it will reveal more information. So can you please share the log for the following command?
python setup.py -v build

@tjruwase absolutely, please see below!
$ python setup.py -v build
Floating point exception (core dumped)

Not very helpful unfortunately, but I hope this helps somehow! Let me know if I can help debug further!

Hi @drfinkus @tjruwase , I have met the same problem and solve it by simply commenting the line into
cpu_vector_instructions = {} # available_vector_instructions()

@tjruwase @Sleepychord thanks for the suggestion! But if I read this correctly, this would disable CPUAdam. That would cripple it a lot for my use case. I was specifically looking for the optimized Adam implementation.
Is it an AMD issue? Or do you see this on Intel? Is it possible to fix cpufeature? I reported it upstream but did not get much further.

@tjruwase @Sleepychord @rople380, after further investigation, it seems like cpufeature was implemented using Intel logic only. I fixed the implementation for AMD processors as well, you can use my fork here https://github.com/drfinkus/cpufeature
I also issued a PR, hopefully it will make its way downstream soon, I am in contact with the author. I will see if this fixes the install issue and close the issue if it does.

@tjruwase btw, as a suggestion, I see that in the master branch, cpu_adam is disabled by default:
DS_BUILD_CPU_ADAM = int(os.environ.get('DS_BUILD_CPU_ADAM', 0)) * DS_BUILD_CPU_ADAM_MASK

It's very easy to miss unless you're specifically looking for it, perhaps document it somewhere or maybe turn the default back on as for the rest. Now that cpufeature is fixed (see above) that shouldn't be a problem anymore.

@drfinkus Thanks for your help with this issue. We further improved installation recently and removed dependency on cpufeature. Can you please check if you still see installation issues? Thanks.


Add TSkLabel.TextSize property

TSkLabel should have a public property for retrieving text size. Currently, a private method GetFitSize(var AWidth, AHeight) is used for calculating the control size depending on its alignment. Still, there should be another one that will always return the size of the text and is independent of the control's alignment.

When you say "size of the text" do you mean "dimensions of the text"?
This is not as easy as it sounds.
For example, in this image, you can return a Rect which bounds the widest extent of the text:

which would be this kind of thing:

But what about if the text is rotated?

Now the Rect is like this:

...but do you actually want this?

Also note that in the recent version of Skia4Delphi the labels can now mix the font sizes and styles. :)

Thanks for the fast reply, Ian. I understand your point, but what I want to achieve is simply the same size of the control when the AutoSize property is set to true. Consider this scenario:
I have a TLayout with TAlignLayout.Top, and inside the TLayout are two TSkLabel controls whose Align is set to Left (meaning AutoSize is applied to Width only). I want the TLayout.Height to be set according to its content height, which, in this case, is the bigger height of the two TSkLabel controls. However, I cannot retrieve the true text height of either of the two labels because currently there is no way to directly get it. What I can do, however, is:

set the label's Align to None,
retrieve the updated height (which TSkLabel retrieved from a private method GetFitSize),
re-set the label's Align to Left.

I am aware that TSkLabel has a collection of strings (or words) instead of a single string, but what I'm asking for here is to retrieve the total size of the TSkLabel. Having the ability to retrieve the size of every word would be a great feature, but I cannot see it being used in almost any scenario (as pretty much anything you would want to do with a single word is available through Skia's text and decoration settings).
The same goes for text rotation. I am only asking for the AutoSize's calculated size to be available through a function/property even without AutoSize set to true.
What you displayed in the pictures above is

Sounds like this function might not currently exist. There might be a combination of skCanvas properties which can be used but I'm not sure.
This might be one for @paulocesarbot or @viniciusfbb to answer, I think.

I've used Skia for some time now, and my request is straightforward. This function can be found right here, in the FMX.Skia.pas unit.
On a non-related matter, I sincerely hope that Skia4Delphi will remain 100% open-source after integrating into FMX.

On a non-related matter, I sincerely hope that Skia4Delphi will remain 100% open-source after integrating into FMX

Yes that is correct. Skia4Delphi and the FMX integration are related but not quite the same and the Skia4Delphi project will continue to be as it is now.
The integration, of course, is not open source as such, but the source is available as it always is with the RTL and related units.


Lock nssm dependency to version ~> 2.0

Fixes #436 by keeping the the nssm cookbook under 3.0.0

Nssm 3.0.0 support was added in #422 so going to close this.


overwritten function accept doesn't get called

Vue2-dropzone Version: 2.3.5 (npm list --depth=0)
Node Version (node -v): v8.4.0
NPM Version (npm -v): 5.3.0
OS: Windows 10 (64bit)

Description:
I've set the useCustomDropzoneOptions to true and passed the dropzoneOptions object into the dropzone but the accept function doesn't get called. From what I understand it should get called whenever a new file is added to the dropzone.
Steps To Reproduce:
Create the dropzone
<h-dropzone :url="url" :id="id" @vdropzone-sending="sending" :useCustomDropzoneOptions="true" :dropzoneOptions="dropzoneOptions"></h-dropzone>

and then set this as your data property
	data() {
		return {
			url: 'placeholder',
			id: 'dropzone',
			isLoading: true,
			dropzoneOptions: {
				accept(file, done) {
					console.log(file);
					done();
				},
			},
		};
	},

and the accept function won't get called
Onestay

@Onestay
What I understand is you want to call function(accept) when any file is added. For this purpose there's event available called vdropzone-file-added(file) you can listen to this event and call the function.

Well I know this exists but I need to do a async task (fetching some data
from a server) before uploading. Therefore the done callback would be great
for that. If there's any way to do this in this event I could use that
On Di., 12. Sep. 2017, 11:17 Vaibhavraj Roham<EMAIL_ADDRESS>wrote:

@Onestay https://github.com/onestay
What I understand is you want to call function(accept) when any file is
added. For this purpose there's event available called
vdropzone-file-added(file) you can listen to this event and call the
function.
Here's little snippet which can help you.

<h-dropzone
:url="url"
:id="id"
@vdropzone-sending="sending"
@vdropzone-file-added="fileAdded"
:useCustomDropzoneOptions="true"
:dropzoneOptions="dropzoneOptions">

data() {
return {
url: 'placeholder',
id: 'dropzone',
isLoading: true,
dropzoneOptions: {
},
};
},
methods:{
fileAdded(file){
//your awesome code
}
}
Hope it helps you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rowanwins/vue-dropzone/issues/186#issuecomment-328794099,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQWjzs62LElhQfH2_VSDG2yknZwCGdY1ks5shkw0gaJpZM4PSX5G
.

Ah ok I understand @Onestay , I'm thinking we should be able to tackle this more easily in v3. Thanks for the report, I've never noticed those functions.

Hi @Onestay
v3 is alive, check out the all new docs  which includes this functionality.


Generated keymap "preview in comments" doesnt reflect real mapping

the genereted preview in code comments doesnt reflect the real state, it would be nice if it does.
 default_layer {
            // -----------------------------------------------------------------------------------------
            // |  TAB |  Q  |  W  |  E  |  R  |  T  |   |  Y  |  U   |  I  |  O  |  P  | BKSP |
            // | CTRL |  A  |  S  |  D  |  F  |  G  |   |  H  |  J   |  K  |  L  |  ;  |  '   |
            // | SHFT |  Z  |  X  |  C  |  V  |  B  |   |  N  |  M   |  ,  |  .  |  /  | ESC  |
            //                    | GUI | LWR | SPC |   | ENT | RSE  | ALT |

            bindings = <
      &kp TAB  &kp Q  &kp W      &kp F  &kp P      &kp G        &kp J  &kp L          &kp I    &kp O  &kp SEMICOLON  &kp NON_US_BACKSLASH
&kp BACKSPACE  &kp A  &kp R      &kp S  &kp T      &kp D        &kp H  &kp N          &kp E    &kp I          &kp O            &kp DELETE
    &kp LSHFT  &kp Z  &kp X      &kp C  &kp V      &kp B        &kp K  &kp M      &kp COMMA  &kp DOT      &kp EQUAL       &kp RIGHT_SHIFT
                             &kp LCTRL  &mo 1  &kp SPACE    &kp SPACE  &mo 2  &kp RIGHT_ALT
            >;

That isn't generated. The keymap editor ignores existing comments and doesn't try to discern any meaning from them.
Will it ever? No, honestly, I don't think it's worth the trouble. Best case scenario you end up with a purely cosmetic version of the same information, but to make it work you (I) have to have even shorter versions of keycodes (and layers which aren't standardized) and to do updates I need to either be able to recognize any form of diagram and replace it or else remove all existing comments in layer nodes to avoid inconsistency.


Add support for modifying direct resources of const tables

The changes look reasonable to me.
It might be helpful to have an example of a request that modifies the direct resources of such a table.
In particular, it seems that such a MODIFY message must contain the field match criteria, action, and action parameters.
Should it be an error if the field match criteria do not match any of the entries of the table?
Should it be an error if the field match criteria do match an entry of the table, but the action and/or action parameters do not match the action in the table?

Thinking a bit more about my previous comment, I guess MODIFY should already fail for any table if the field match criteria does not correspond to an entry in the table, regardless of whether it is const entries or not?
If so, that might be good to remind a read here explicitly.
It does seem "new" for const entries tables that it is also an error if the action and/or action parameters are different than what is already in the entry.

jafingerhut, I clarified which match/action fields need to be specified.

Looks like a good addition.  Thanks.  Should it go slightly further and specify that the server must return an error code of a particular name if the client does include an action or action parameters in the MODIFY request?

Andy, I think it's already specified what the switch should do, namely, if you try to modify anything but the direct resources, you'll get a PERMISSION_DENIED_ERROR. I've added a sentence to call that out.

Konstantin, sorry, I do not know how I could have missed that.  Thanks for the additional sentence.

The following sentence in section 9.1.2 must be updated:

The TableEntry action field must be set for every INSERT and MODIFY update, except when resetting the default entry.

We agreed (because of static entries) that action would no longer be required for MODIFY. So the sentence should read something like this:

The TableEntry action field must be set for every INSERT update but may be left unset for MODIFY updates, in which case the action specification for the table entry will not be modified (if a MODIFY update has an unset action field and does not modify any direct resource attached to the table then the MODIFY update is a no-op).

Later on in the same section, this sentence should also be updated:

If the action field is not set (and if is_default_action is false) or if the oneof does not match the table description in the P4Info (e.g. the oneof is action_profile_member_id for a direct table), the server must return an INVALID_ARGUMENT error code.

Thanks for spotting these, and the suggested updates!

Fixes #232


(Feature Request) - Allow restish to be used in non-interactive mode

Description
Rather than following command line prompts, allow restish to be used in a non-interactive mode where users can pass flags to streamline API configuration and modification.
Background
Our team uses restish to expose proprietary APIs through a CLI written in Golang. Behind the scenes, we configure APIs through restish and wrap the inputs and outputs to conform to our desired user experience. By having restish in a non-interactive format, it will streamline our API onboarding and reconfiguration process where we have to guess what output will be returned, as well as guess where the user's restish.json file is located so we don't have to modify it directly.

I've submitted a pull request which adds an restish/embedded package that allows restish to be imported as a library.
It allows for setting a different appname (separate config from restish installed on system), sending an authorization token prefix and token in the function call (new handler added in cli/auth.go), and optionally passsing in io.Writers to redirect cli.Stdout and cli.Stderr.

Awesome, thank you!


Bug fix for offline install of SP2016 Beta2 prereqs

@caadam @camiloborges Quick code review on this bug fix if either of you has a couple of minutes, only very minor changes

Hello. All good with the updates.
I think you'd have an easier life in the future if the requisites were a collection instead of named parameters. That will make it an interesting upgrade scenario if the pre-requisites are heavily changed in the future.


After version 1.0.3 the map disappeared from App

I am currently using "@react-map/continents": "1.0.2
After trying to upgrade to 1.0.3 or 1.0.4

any thoughts?
my repo:
https://github.com/thiagoloureiro/AlertHawk.ui

Also, apologies for the delay in response and updation...

No worries! We will try here and update you back. Thanks a lot!Sent from my iPhoneOn 26 Jul 2024, at 14:27, Shubham @.***> wrote:
Also, apologies for the delay in response and updation...
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Fixed:)
https://github.com/thiagoloureiro/AlertHawk.UI/commit/970bd3d2276ddfdd30431b023aea95eac0be3018
thank you!


updating documentation

Current coverage is 100% (diff: 100%)

Merging #124 into master will not change coverage

@@           master   #124   diff @@
====================================
  Files          11     11
  Lines         507    507
  Methods         0      0
  Messages        0      0
  Branches        0      0
====================================
  Hits          507    507
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last update 5522377...26eb114


Allow customers to configure JWT pubkey expiration duration/refresh interval

PR for issue #9520.

@linsun
@sdake
(not sure who else is tracking install and UX)
Please when you review PRs make sure no new flags are added to pilot, it's the worst way to configure. That's why we have mesh config and APIs, and values.yaml needs to be reviewed most carefully - it's the main thing an Istio admin will see.
We need to go over the diff between 1.0 and 1.1 and clean up, it's getting out of control...

In general - for experimental / unstable / test settings we do have pkg/features/pilot where various env variables are defined, and values.yaml allows arbitrary env to be passed to installer. They can't be documented as stable - but if they are not ready to become API it is a solution we used in the past and is not messing up pilot params or values.yaml.

@costinm
This is not experimental/untable/test settings, it gives user more flexibility about how frequently should Pilot refresh and update the JWT certificate. It's not the API that every user will use, actually only the advanced user will need to tweak these parameters.
Do you think it is more appropriate to be put in the MeshConfig? I'm okay with this but just want to double confirm as these parameter are only for Pilot.

@pitlv2109: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@pitlv2109 Are you still working on this?

@pitlv2109 Are you still working on this?

We haven't heard back from Costin about the implementation choice, have we?

No need to wait for 2 months on github just for the reply, let's chat with costin.

Configurable JWT pubkey expiration duration/refresh interval will be part of a global security policy config, which will be introduced in the future.
/close


[FEATURE] monolith mode

What feature you'd like to add:
I'd like the CSI driver to support the CSI plugin monolith type, which is the combination of controller and node.
Why is this feature needed:

Reduced resource usage, increased density.
Simplified deployment, management, documentation.

Hi @enspritz , are you referring to the concept of "monolith type" as mentioned in Nomad's documentation: https://developer.hashicorp.com/nomad/docs/job-specification/csi_plugin#csi_plugin-parameters? And Kubernetes doesn't have this mode?

Yes that's right, Nomad's monolith type. Both controller and node at the same time. JuiceFS is the first CSI driver The current dimorphism appears to be effected in main.run() , dependent on POD_NAME envvar.


CTCatalog is perpetually out of date

Attempting to launch CTCatalog from VS always causes VS to warn about CTCatalog being out of date and needing to be built. The following line from build logs looks suspect:
1>Project not up to date because build input 'C:\WinObjC\tests\testapps\CTCatalog\CTCatalog\Assets.xcassets' is missing.
this line prints even though that dir exists:

I'm unable to repro this.  It may have been fixed with the packaging merge.  Can you see if this is still an issue on your machine @ms-jihua?

Unable to repro, likely fixed in a7a61bc9adbfced72808153401c5a63a622f9e4f

Oops, sorry I forgot to get back to you about this. It still repros for me. Do you have build-if-out-of-date-on-run enabled on your VS by any chance?

I have it set to always build, though it was not actually building for me on run


TIP IN transactions present different data in transaction details after refreshing

https://aeternity-blockchain.atlassian.net/browse/SW-558
Describe the bug
Presented data changes after page refresh - transaction object fetched after refresh is lacking amount field
Expected result
Data should be the same after refreshing
Steps to reproduce

Go to TIP IN transaction from the transaction list
Refresh page

Reproducible for me on the latest dev branch, commit f5c8e2c:
https://github.com/superhero-com/superhero-wallet/assets/69896204/ce8d10ff-ae6e-455a-8ba5-e0e6b22735e7

Fixed, LGTM


Switch and/or to use new cudf binops to improve performance

This depends on https://github.com/rapidsai/cudf/pull/10016
Seeing some good performance improvements, but need to run some more tests.

I forgot there are cases where code was using the AST version of the NULL_LOGICAL_OR operator, see https://github.com/NVIDIA/spark-rapids/blob/branch-22.02/sql-plugin/src/main/scala/com/nvidia/spark/rapids/conditionalExpressions.scala#L445-L451. It would be good to have that code switch to using this new direct binop instead.

I ran the tests manually and fixed an issue with AST not being translated properly because it was separate from the normal code.  That is fixed now.
I ran TPC-DS at scale factor 3k and it looks to be generally a win, 1.1% faster. But there are about as many tests that are slower 51 as there are that are faster 54. I am going to see if I can reproduce some of the slowness locally to try and dig in a little deeper.

Dependency just got merged into cudf. I'll move this out of draft when the dependency goes through CI

build


[New API] : Generating Random Users

Brief Description 🤓
An API for creating Random Users with User Details which can be used as dummy users for testing purpose
How will you develop it?🤩
Using Render Platform, as i already have experience in it
Deployment
None
Select the open source program you are contributing to
Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINES of this project.

Greetings @soham0005🎀 ! , We are excited to have you dive into another issue with us!🚀
Your involvement in our project has been invaluable, and we're confident that your skills and insights will help us conquer this challenge😇.  Use command /gssoc24 to self assign the issue.  This issue represents an exciting opportunity for us to improve and enhance our project, and we are thrilled to have you on board.
We request you to follow CONTRIBUTING GUIDELINES.
Looking for your PR soon!
In case of any issues, you can contact us on Discord.❣

Hello @dishamodi0910, is there any expiration date for this issue?

Brief Description 🤓
I propose to develop an API for generating Random Users, complete with user details, which can serve as dummy data for testing purposes in various projects.
How will I proceed?
Technology Stack: I will use Node.js and Express.js to build the API.
API Routes: I will create multiple routes for different functionalities, such as generating random users and retrieving dummy user details.
Programming Language: I will use TypeScript for better type checking and enhanced code quality. Alternatively, I can use JavaScript if preferred.
Kindly assign this task to me.
Open Source Program: GSSoC (GirlScript Summer of Code)
Code of Conduct:
I follow the CONTRIBUTING GUIDELINES of this project.

/gssoc24
i want to work on yjis issue please assign it to me

/gssoc24
i want to work on the issue

Hey @soham0005, The issue is already assigned and couldn't be assigned to you again.You can work on some other issue or create your own issue.🚀💗


Missing component in nothing.extension

I was do nothing and Im still getting error "missing component, please do not import your module" on line 0. Anyone can,t help me?

You're using a 5/8" spanner, try a 7/32" spanner instead.

That's interesting. Did you try nothing at all? I'd also recommend you never mind from absolutely no matter. What do you think? Hope it will help you!


Initial netty implementation that replaces akka impl

Current coverage is 0.00% (diff: 0.00%)

Merging #27 into master will not change coverage

@@           master    #27   diff @@
====================================
  Files          50     69    +19
  Lines         814   1086   +272
  Methods       772   1032   +260
  Messages        0      0
  Branches       42     54    +12
====================================
  Hits            0      0
- Misses        814   1086   +272
  Partials        0      0

Powered by Codecov. Last update 89fded8...4e7d3a3


'antidote -v' still shows previous version after running 'antidote update'

After presumably updating to Version 1.8.2 antidote reports it's still running Version 1.8.1
Some directories inside ~/.antidote have been updated, .bumpversion.cfg apparently has not.
zsh is behaving normally and all plugins are active - so no issues apart from not knowing whether the update was successful.

Good catch. Thanks. I've cut a new release.


Dates do not contain timezone

Hello,
I am pushing content to elastic search but the dates do not have the timezone.
In Mongo I have a field "publishDate" : ISODate("2013-12-23T19:45:00.000Z")
but when I print the doc in the bulk function;
@wrap_exceptions
def bulk_upsert(self, docs):
I see : u'publishedDate': datetime.datetime(2013, 12, 23, 19, 45)
and this gets pushed to elastic as "2013-12-23T19:45:00" which is not UTC anymore but local date according to ISO8601
Is there a bug somewhere? maybe using BSON.bsondecode(as_class=<type 'dict'>, tz_aware=False) ?
Thanks

@llvtt
I have tried using --tz-aware option but the connector, still seems to be changing the date format:
I have a date field as follows:
"postedDate" : ISODate("2013-12-23T00:00:00.000+0000"),
but when I check the logs, mongo-connector is converting it to "2013-12-23T00:00:00+00:00". Is there a way to retain the exactly same value?


[PHPUnit testing]: Fix sorting tests not running.

Fixes #127.

Sorting tests are currently being executed. It is now evident that tests for some sorting algorithms are failing. Therefore, the tests and source code should be fixed.
@darwinz, please let me know if I can help with that.
Current test execution and output:
0,1,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584,4181,6765,10946,17711,28657,46368,75025,121393,196418,317811,514229,832040,1346269,2178309,3524578,5702887,9227465,14930352,24157817,39088169,63245986,102334155,165580141,267914296,433494437,701408733,1134903170,1836311903,2971215073,4807526976,7778742049,12586269025,20365011074,32951280099,53316291173,86267571272,139583862445,225851433717,365435296162,591286729879,956722026041,1548008755920,2504730781961,4052739537881,6557470319842,10610209857723,17167680177565,27777890035288,44945570212853,72723460248141,117669030460994,190392490709135,308061521170129,498454011879264,806515533049393,1304969544928657,2111485077978050,3416454622906707,5527939700884757,8944394323791464,14472334024676221,23416728348467685,37889062373143906,61305790721611591,99194853094755497,160500643816367088,259695496911122585,420196140727489673,679891637638612258,1100087778366101931,1779979416004714189,2880067194370816120,4660046610375530309,7540113804746346429,1.2200160415122E+19,1.9740274219868E+19,3.194043463499E+19,5.1680708854858E+19,8.3621143489848E+19,1.3530185234471E+20,2.1892299583456E+20,956722026041PHPUnit 9.6.13 by Sebastian Bergmann and contributors.

Ciphers
 ✔ Caesar cipher
 ✔ Xor cipher

Mono Alphabetic Cipher
 ✔ Mono alphabetic cipher

Morse Code
 ✔ Morse code cipher

Conversions
 ✔ Binary to decimal
 ✔ Decimal to binary
 ✔ Octal to decimal
 ✔ Decimal to octal
 ✔ Decimal to hex
 ✔ Hex to decimal
 ✔ Speed conversion

Singly Linked List
 ✔ Is palindrome with data set "IsPalindrome"
 ✔ Is palindrome with data set "IsPalindrome2"
 ✔ Is palindrome with data set "IsNotPalindrome"
 ✔ Is palindrome with data set "IsNotPalindrome2"
 ✔ Delete

Breadth First Search
 ✔ Breadth first search
 ✔ Breadth first search
 ✔ Breadth first search

Depth First Search
 ✔ Depth first search
 ✔ Depth first search
 ✔ Depth first search

Maths
 ✔ Factorial
 ✔ Is number armstrong
 ✔ Is number palindromic
 ✔ Is prime
 ✔ Absolute max
 ✔ Absolute min
 ✔ Perfect square
 ✔ Fast exponentiation
 ✔ Fibonacci series
 ✔ Neon number
 ✔ Fibonacci generator
 ✔ Mean
 ✔ Median
 ✔ Mode

Project Euler
 ✔ Problem 1
 ✔ Problem 2
 ✔ Problem 3
 ✔ Problem 4
 ✔ Problem 5
 ✔ Problem 6
 ✔ Problem 7
 ✔ Problem 8
 ✔ Problem 9
 ✔ Problem 10
 ✔ Problem 11

Searches
 ✔ Binary search iterative
 ✔ Binary search by recursion
 ✔ Binary search by recursion with empty list
 ✔ Binary search by recursion with one element list
 ✔ Binary search by recursion with two element list
 ✔ Binary search by recursion with three element list
 ✔ Fibonacci search
 ✔ Linear search
 ✔ Lower bound
 ✔ Upper bound
 ✔ Jump search
 ✔ Exponential search
 ✔ Ternary search iterative
 ✔ Ternary search by recursion
 ✔ Interpolation search

Array Keys Sort
 ✔ Array keys sort

Gnome Sort
 ✔ Gnome sort
 ✔ Gnome sort

Sorting
 ✔ Bubble sort
 ✔ Bubble sort
 ✘ Count sort
   │
   │ Undefined array key -5
   │
   │ /Users/anamarija/htdocs/TheAlgorithms-PHP/Sorting/CountSort.php:18
   │ /Users/anamarija/htdocs/TheAlgorithms-PHP/tests/Sorting/SortingTest.php:81
   │

 ✔ Insertion sort
 ✔ Merge sort
 ✘ Quick sort
   │
   │ Failed asserting that two arrays are equal.
   │ --- Expected
   │ +++ Actual
   │ @@ @@
   │  Array (
   │ -    0 => 272
   │ -    1 => 1392
   │ -    2 => 1689
   │ -    3 => 1807
   │ -    4 => 1856
   │ -    5 => 2246
   │ -    6 => 2811
   │ -    7 => 2847
   │ -    8 => 3720
   │ -    9 => 3938
   │ -    10 => 4204
   │ -    11 => 4337
   │ -    12 => 4605
   │ -    13 => 4696
   │ -    14 => 4813
   │ -    15 => 5239
   │ -    16 => 5257
   │ -    17 => 5520
   │ -    18 => 5523
   │ -    19 => 5676
   │ -    20 => 6466
   │ -    21 => 6506
   │ -    22 => 7018
   │ -    23 => 7515
   │ -    24 => 7762
   │ -    25 => 7853
   │ -    26 => 7873
   │ -    27 => 8181
   │ -    28 => 8350
   │ -    29 => 8459
   │ -    30 => 8935
   │ -    31 => 9358
   │ -    32 => 9508
   │ -    33 => 9592
   │ -    34 => 10786
   │ -    35 => 10867
   │ -    36 => 11122
   │ -    37 => 11754
   │ -    38 => 12029
   │ -    39 => 12440
   │ -    40 => 12973
   │ -    41 => 13720
   │ -    42 => 13732
   │ -    43 => 14098
   │ -    44 => 14123
   │ -    45 => 14202
   │ -    46 => 15003
   │ -    47 => 15352
   │ -    48 => 16122
   │ -    49 => 16387
   │ -    50 => 16544
   │ -    51 => 16677
   │ -    52 => 16868
   │ -    53 => 17860
   │ -    54 => 18158
   │ -    55 => 18362
   │ -    56 => 18456
   │ -    57 => 18492
   │ -    58 => 18708
   │ -    59 => 19074
   │ -    60 => 19713
   │ -    61 => 19756
   │ -    62 => 20620
   │ -    63 => 21165
   │ -    64 => 21746
   │ -    65 => 22192
   │ -    66 => 22296
   │ -    67 => 22479
   │ -    68 => 22874
   │ -    69 => 23232
   │ -    70 => 23606
   │ -    71 => 23954
   │ -    72 => 24105
   │ -    73 => 24689
   │ -    74 => 24714
   │ -    75 => 24932
   │ -    76 => 25236
   │ -    77 => 25385
   │ -    78 => 25774
   │ -    79 => 26277
   │ -    80 => 26281
   │ -    81 => 26993
   │ -    82 => 27230
   │ -    83 => 27760
   │ -    84 => 27892
   │ -    85 => 28229
   │ -    86 => 28302
   │ -    87 => 28309
   │ -    88 => 28493
   │ -    89 => 28651
   │ -    90 => 29373
   │ -    91 => 29411
   │ -    92 => 29724
   │ -    93 => 30110
   │ -    94 => 30258
   │ -    95 => 30298
   │ -    96 => 30819
   │ -    97 => 30948
   │ -    98 => 31159
   │ -    99 => 31263
   │ -    100 => 31577
   │ -    101 => 31805
   │ -    102 => 31919
   │ -    103 => 32074
   │ -    104 => 32158
   │ -    105 => 32178
   │ -    106 => 32392
   │ -    107 => 33446
   │ -    108 => 33679
   │ -    109 => 33963
   │ -    110 => 33982
   │ -    111 => 34201
   │ -    112 => 34649
   │ -    113 => 34671
   │ -    114 => 34925
   │ -    115 => 35245
   │ -    116 => 35374
   │ -    117 => 36141
   │ -    118 => 36625
   │ -    119 => 36828
   │ -    120 => 36852
   │ -    121 => 37348
   │ -    122 => 38265
   │ -    123 => 38386
   │ -    124 => 39583
   │ -    125 => 39621
   │ -    126 => 40171
   │ -    127 => 40206
   │ -    128 => 40372
   │ -    129 => 40459
   │ -    130 => 40565
   │ -    131 => 40742
   │ -    132 => 40789
   │ -    133 => 40858
   │ -    134 => 42310
   │ -    135 => 42348
   │ -    136 => 42422
   │ -    137 => 42685
   │ -    138 => 43340
   │ -    139 => 43688
   │ -    140 => 43780
   │ -    141 => 43836
   │ -    142 => 44044
   │ -    143 => 44518
   │ -    144 => 44628
   │ -    145 => 44637
   │ -    146 => 44654
   │ -    147 => 45344
   │ -    148 => 45519
   │ -    149 => 45755
   │ -    150 => 45799
   │ -    151 => 45894
   │ -    152 => 46184
   │ -    153 => 46186
   │ -    154 => 46528
   │ -    155 => 46574
   │ -    156 => 46704
   │ -    157 => 47432
   │ -    158 => 47489
   │ -    159 => 47596
   │ -    160 => 47615
   │ -    161 => 47662
   │ -    162 => 47910
   │ -    163 => 48208
   │ -    164 => 48964
   │ -    165 => 49048
   │ -    166 => 49052
   │ -    167 => 49168
   │ -    168 => 49709
   │ -    169 => 49809
   │ -    170 => 49935
   │ -    171 => 50209
   │ -    172 => 50596
   │ -    173 => 50800
   │ -    174 => 51158
   │ -    175 => 51433
   │ -    176 => 51830
   │ -    177 => 51886
   │ -    178 => 52068
   │ -    179 => 52328
   │ -    180 => 52905
   │ -    181 => 52928
   │ -    182 => 53635
   │ -    183 => 54211
   │ -    184 => 54616
   │ -    185 => 54955
   │ -    186 => 55295
   │ -    187 => 55416
   │ -    188 => 55515
   │ -    189 => 55549
   │ -    190 => 55908
   │ -    191 => 56063
   │ -    192 => 56301
   │ -    193 => 56494
   │ -    194 => 56841
   │ -    195 => 56963
   │ -    196 => 56992
   │ -    197 => 57402
   │ -    198 => 57954
   │ -    199 => 57981
   │ -    200 => 58213
   │ -    201 => 58223
   │ -    202 => 58336
   │ -    203 => 59748
   │ -    204 => 59973
   │ -    205 => 59992
   │ -    206 => 61349
   │ -    207 => 61591
   │ -    208 => 61968
   │ -    209 => 62310
   │ -    210 => 63015
   │ -    211 => 63178
   │ -    212 => 63245
   │ -    213 => 63395
   │ -    214 => 63771
   │ -    215 => 63968
   │ -    216 => 64204
   │ -    217 => 64208
   │ -    218 => 65764
   │ -    219 => 66174
   │ -    220 => 66178
   │ -    221 => 66206
   │ -    222 => 66570
   │ -    223 => 67025
   │ -    224 => 67338
   │ -    225 => 67452
   │ -    226 => 67957
   │ -    227 => 68125
   │ -    228 => 68514
   │ -    229 => 68756
   │ -    230 => 68831
   │ -    231 => 68975
   │ -    232 => 69091
   │ -    233 => 69858
   │ -    234 => 70466
   │ -    235 => 70474
   │ -    236 => 71526
   │ -    237 => 71774
   │ -    238 => 72472
   │ -    239 => 72686
   │ -    240 => 72849
   │ -    241 => 73437
   │ -    242 => 73907
   │ -    243 => 74474
   │ -    244 => 74813
   │ -    245 => 74872
   │ -    246 => 75043
   │ -    247 => 75045
   │ -    248 => 75190
   │ -    249 => 75197
   │ -    250 => 75786
   │ -    251 => 76201
   │ -    252 => 76277
   │ -    253 => 76474
   │ -    254 => 76818
   │ -    255 => 77026
   │ -    256 => 77849
   │ -    257 => 77977
   │ -    258 => 78095
   │ -    259 => 78105
   │ -    260 => 78533
   │ -    261 => 78629
   │ -    262 => 78828
   │ -    263 => 79028
   │ -    264 => 79488
   │ -    265 => 79935
   │ -    266 => 80188
   │ -    267 => 81097
   │ -    268 => 81960
   │ -    269 => 82300
   │ -    270 => 82656
   │ -    271 => 82785
   │ -    272 => 83246
   │ -    273 => 83638
   │ -    274 => 84076
   │ -    275 => 84402
   │ -    276 => 85799
   │ -    277 => 86070
   │ -    278 => 86198
   │ -    279 => 86309
   │ -    280 => 86358
   │ -    281 => 86805
   │ -    282 => 86814
   │ -    283 => 86897
   │ -    284 => 86968
   │ -    285 => 87450
   │ -    286 => 88246
   │ -    287 => 90235
   │ -    288 => 90728
   │ -    289 => 90876
   │ -    290 => 91503
   │ -    291 => 92106
   │ -    292 => 92215
   │ -    293 => 92559
   │ -    294 => 92837
   │ -    295 => 93070
   │ -    296 => 93144
   │ -    297 => 93729
   │ -    298 => 94083
   │ -    299 => 94257
   │ -    300 => 94706
   │ -    301 => 94807
   │ -    302 => 96145
   │ -    303 => 96407
   │ -    304 => 96782
   │ -    305 => 97156
   │ -    306 => 97222
   │ -    307 => 97577
   │ -    308 => 97799
   │ -    309 => 98758
   │ -    310 => 98845
   │ -    311 => 99156
   │ -    312 => 99211
   │ -    313 => 99272
   │ -    314 => 99519
   │ -    315 => 99711
   │  )
   │
   │ /Users/anamarija/htdocs/TheAlgorithms-PHP/tests/Sorting/SortingTest.php:126
   │

 ✔ Quick sort with empty input
 ✔ Radix sort
 ✘ Selection sort
   │
   │ Error: Call to undefined function selectionSort()
   │
   │ /Users/anamarija/htdocs/TheAlgorithms-PHP/tests/Sorting/SortingTest.php:167
   │

 ✔ Bubble sort performance
 ✔ Bubble sort 2 performance
 ✘ Count sort performance
   │
   │ ArgumentCountError: Too few arguments to function countSort(), 1 passed in /Users/anamarija/htdocs/TheAlgorithms-PHP/tests/Sorting/SortingTest.php on line 193 and exactly 3 expected
   │
   │ /Users/anamarija/htdocs/TheAlgorithms-PHP/Sorting/CountSort.php:9
   │ /Users/anamarija/htdocs/TheAlgorithms-PHP/tests/Sorting/SortingTest.php:193
   │

 ✔ Insertion sort performance
 ✔ Merge sort performance
 ✔ Quick sort performance
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 33554440 bytes) in /Users/anamarija/htdocs/TheAlgorithms-PHP/Sorting/RadixSort.php on line 86

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 33554440 bytes) in /Users/anamarija/htdocs/TheAlgorithms-PHP/Sorting/RadixSort.php on line 86

I believe the min and max functions that you added/fixed are now significantly adding to the runtime, and that's why it's timing out.  For the purposes of these tests, we can probably hard code the min and max rather than calculating those.

I believe the min and max functions that you added/fixed are now significantly adding to the runtime, and that's why it's timing out. For the purposes of these tests, we can probably hard code the min and max rather than calculating those.

Actually, nevermind.  I see what you're saying now - these tests weren't running before because the name was Tests instead of Test

@anamarijapapic , would you try shortening the given range for the failing unit tests?  I'd like to have the tests passing before merging this fix.

I believe the min and max functions that you added/fixed are now significantly adding to the runtime, and that's why it's timing out. For the purposes of these tests, we can probably hard code the min and max rather than calculating those.

In the count sort algorithm, it seems to me that it doesn't make much sense to receive min and max as function arguments because when an array is passed as an argument to the function, I don't see why the user would also need to know the min and max values within the passed array.

@anamarijapapic , would you try shortening the given range for the failing unit tests? I'd like to have the tests passing before merging this fix.

Sure 😁

@darwinz, all tests are now passing ✅.
As you can see, I shortened the given range for the failing unit tests (as we agreed). Additionally, I added a CI step to set up PHP and configure PHP INI values to fix PHPUnit exiting with an error. This error occurred because the quick sort algorithm had recursion, which Xdebug was detecting as a possible infinite loop and aborting the script. You can see that error in the GitHub action I previously ran at https://github.com/TheAlgorithms/PHP/actions/runs/6439617184/job/17487494393#step:6:16.


change shebang path

When using with a conda environment python3 will be on a custom path

Thanks for the PR @telatin!


🚧 Dev ➾ add flags to the e2e tests to distinguish fast from slow running, and setup cicd to respect the flags

🔗 Epic|Feature Link
#1555
🚥 Definition of Done

[ ] 🎯 Planning and Design
[ ] 🏎 Dev Implementation Complete
[ ] ♾ PR Merged
[ ] 🏆 Product Acceptance

🧰 Work Description
To get a faster set of e2e tests, we can flag the slower running ones and offer a choice to run test:e2e or test:e2e-fast
✅ To Do

identify the slow tests
add a flag "slow_test" to the slow tests
add to package json for tests an option to run e2e tests fast and an option to run slow
set up cicd to respect the flags (if anything else is needed beyond the package.json script setting

⚖ Acceptance Criteria
✨ Functional:

[ ]  e2e test suite can be run in fast or slow mode
[ ]

🔭 Scope
🙅♂ Out of Scope:

...

Code of Conduct

[X] I agree to follow this project's Code of Conduct

done


AAP-24832: Enable certificate verification

Jira Issue: https://issues.redhat.com/browse/AAP-24832

Description

Certification verification should be enabled by default, and we have nothing to prevent us from it anymore.
Testing

Steps to test

We are not using gRPC in production nothing to test

Scenarios tested

Production deployment

[x] This code change is ready for production on its own
[ ] This code change requires the following considerations before going to production:

Lucky you (regarding the failure):
https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137
IDK whether we want to upgrade Django Rest Framework (probably) or exclude the check.
We're currently using DRF 3.14.0 (we need "3.15.2 or higher").

Security build is covered by https://github.com/ansible/ansible-ai-connect-service/pull/1154


KAFKA-8058: Fix ConnectClusterStateImpl.connectors() method

This makes the ConnectClusterStateImpl.connectors() method synchronous, whereas before it was implicitly asynchronous with no way to tell whether it had completed or not.
More detail can be found in the Jira.
Tested manually. Seems like a light enough change that even unit tests would be overkill, but if reviewers feel differently tests can be added.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@mageshn @wicknicks @rayokota could you guys take a look when you have a chance? 😃

@rhauch @ewencp Hi guys! Got a minor bug fix for you; been reviewed and approved by three contributors and seems ready to be looked at by a committer or two. Would appreciate your review when you get the chance.

Forgot to mention that a unit test would be nice (for the whole class even?), since this seems it never worked because it returned immediately.

@kkonstantine I think I've addressed your two inline comments, and I've added a unit test for the ConnectClusterStateImpl.connectors() method. The other method (connectorHealth(...)) is synchronous and doesn't really look like it warrants an additional test.
As far as the ten-second timeout goes, I'm open to suggestions but it doesn't appear that rebalances or forwarding to master should be a factor.

@kkonstantine thanks for the review! I've taken your comments into account and pushed the next iteration, which consists of changes to how the ConnectClusterStateImpl is tested. Hope this looks good and addresses your review remarks, but will be happy to keep iterating if not or if there's anything else that needs work.

@rhauch yep, this bug has been present since REST extensions were added to Connect. I've added your suggested change to the PR, let me know if there are any other alterations you'd like.

@ewencp can you shed some light on why we'd want to take rebalances into account for the timeout? I could be wrong, but I don't think a rebalance would affect the latency of a call to Herder.connectors(...).

Calling connectors() for DistributedHerder adds a request to the request queue, which are processed serially in the thread that manages cluster membership so they get a consistent view of the state of the Herder. Pretty much all the requests follow that pattern, though it is true some could potentially be optimized to not require it if some other locking were put in place for certain parts of the state.
The thread that processes the requests is also the one managing the member and calling poll() on it, which can block on ensuring membership in the group, which means request processing latency can be affected by rebalances.

@ewencp thanks for the clarification; I did not realize that membership and request handling were taken care of with the same thread. I've taken your suggestion literally and just made the timeout the minimum of the timeout for the /connectors resource and the rebalance timeout (if running in distributed mode). LMK how this looks!

BTW, I think we want to backport this to 2.0, which is when Connect REST extensions were introduced and AFAICT the code for the ConnectClusterStateImpl class hasn't been modified since.


Quest 2 issue, with audio device

Hi there, i am trying to use it, in a oculus quest 2 apk, but when i press de microphone it close the apk. Im guessing is something with the audio record device, or some error cause the azure service. Cause when i run it in the pc preview or android preview, even vr preview it works. But in the devices crash it. By the way thanks a lot, it a great job  and a nice idea.

Hello @knightwindbass ! :)
Sorry for the delay.
Are you packaging for android in shipping mode?
There's currently an issue occurring with AzSpeech (I think it's an internal bug with Unreal Engine) that is causing the third-party libraries to not be included in the packaged project.
This doesn't occur with other engine versions and also doesn't occur when packaging in Development or Debug Game mode. :S
Can you try packaging in development mode? You can also check if the audio device is valid and get all available audio devices with: Is Audio Input Device Available & Get Available Audio Input Devices.

Thanks, yeah i was packaging in shipping mode. I use the voice sdk before and it works when i put a external microphone in the Quest 2. But i think you´re right  it could be an internal bug with unreal. Thanks, i will make you know if i found something.