text:
Error when relaxing: jax._src.traceback_util.UnfilteredStackTrace: TypeError: take requires ndarray or scalar arguments, got <class 'list'> at position 0.

Hi, I just updated my code to the last commit and it works fine with the default num_relax = "None", but not with num_relax = "Top5":

colabfold-conda/bin/python3.7 runner.py
2021-09-28 07:03:03.449188: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
2021-09-28 07:03:05.429501: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcuda.so.1
2021-09-28 07:03:05.589721: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 0 with properties:
pciBusID: 0000:0a:00.0 name: NVIDIA GeForce GTX 1080 Ti computeCapability: 6.1
coreClock: 1.582GHz coreCount: 28 deviceMemorySize: 10.92GiB deviceMemoryBandwidth: 451.17GiB/s
2021-09-28 07:03:05.589805: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-28 07:03:05.592761: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 1 with properties:
pciBusID: 0000:42:00.0 name: NVIDIA GeForce GTX 1080 Ti computeCapability: 6.1
coreClock: 1.582GHz coreCount: 28 deviceMemorySize: 10.91GiB deviceMemoryBandwidth: 451.17GiB/s
2021-09-28 07:03:05.592788: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
2021-09-28 07:03:05.603415: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcublas.so.11
2021-09-28 07:03:05.603500: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcublasLt.so.11
2021-09-28 07:03:05.610883: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcufft.so.10
2021-09-28 07:03:05.613852: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcurand.so.10
2021-09-28 07:03:05.625022: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcusolver.so.11
2021-09-28 07:03:05.628477: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcusparse.so.11
2021-09-28 07:03:05.629806: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudnn.so.8
2021-09-28 07:03:05.633270: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-28 07:03:05.639817: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-28 07:03:05.642759: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1871] Adding visible gpu devices: 0, 1
2021-09-28 07:03:14.784927: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-09-28 07:03:14.786213: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1258] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-09-28 07:03:14.786232: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1264]
2021-09-28 07:03:14.860397: I tensorflow/core/platform/profile_utils/cpu_utils.cc:114] CPU Frequency: 3393245000 Hz
ColabFold on Linux
homooligomer: '1'
total_length: '59'
working_directory: 'prediction_test_a5e17'
running mmseqs2
0%|          | 0/5 [elapsed: 00:00 remaining: ?]
model_1_ptm_seed_0 recycles:3 tol:0.06 pLDDT:96.25 pTMscore:0.76
model_2_ptm_seed_0 recycles:3 tol:0.12 pLDDT:96.98 pTMscore:0.76
model_3_ptm_seed_0 recycles:3 tol:0.08 pLDDT:97.48 pTMscore:0.78
model_4_ptm_seed_0 recycles:3 tol:0.12 pLDDT:96.54 pTMscore:0.77
model_5_ptm_seed_0 recycles:3 tol:0.18 pLDDT:96.27 pTMscore:0.78
model rank based on pLDDT
rank_1_model_3_ptm_seed_0 pLDDT:97.48
rank_2_model_2_ptm_seed_0 pLDDT:96.98
rank_3_model_4_ptm_seed_0 pLDDT:96.54
rank_4_model_5_ptm_seed_0 pLDDT:96.27
rank_5_model_1_ptm_seed_0 pLDDT:96.25
0%|          | 0/5 [elapsed: 00:00 remaining: ?]
Traceback (most recent call last):
File "runner.py", line 758, in
relaxed_pdb_lines, _, _ = amber_relaxer.process(prot=outs[key]["unrelaxed_protein"])
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/relax.py", line 62, in process
max_outer_iterations=self._max_outer_iterations)
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/amber_minimize.py", line 482, in run_pipeline
ret.update(get_violation_metrics(prot))
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/amber_minimize.py", line 356, in get_violation_metrics
structural_violations, struct_metrics = find_violations(prot)
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/amber_minimize.py", line 343, in find_violations
"clash_overlap_tolerance": 1.5,  # Taken from model config.
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/model/folding.py", line 758, in find_structural_violations
atomtype_radius, batch['residx_atom14_to_atom37'])
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/model/utils.py", line 39, in batched_gather
return take_fn(params, indices)
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/model/utils.py", line 36, in
take_fn = lambda p, i: jnp.take(p, i, axis=axis)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 5384, in take
mode)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/traceback_util.py", line 162, in reraise_with_filtered_traceback
return fun(*args, **kwargs)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/api.py", line 414, in cache_miss
donated_invars=donated_invars, inline=inline)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/core.py", line 1618, in bind
return call_bind(self, fun, *args, **params)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/core.py", line 1609, in call_bind
outs = primitive.process(top_trace, fun, tracers, params)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/core.py", line 1621, in process
return trace.process_call(self, fun, tracers, params)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/core.py", line 615, in process_call
return primitive.impl(f, *tracers, **params)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/interpreters/xla.py", line 623, in _xla_call_impl
*unsafe_map(arg_spec, args))
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/linear_util.py", line 262, in memoized_fun
ans = call(fun, *args)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/interpreters/xla.py", line 694, in _xla_callable
return lower_xla_callable(fun, device, backend, name, donated_invars, *arg_specs).compile().unsafe_call
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/interpreters/xla.py", line 703, in lower_xla_callable
fun, abstract_args, pe.debug_info_final(fun, "jit"))
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/interpreters/partial_eval.py", line 1522, in trace_to_jaxpr_final
jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic(fun, main, in_avals)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/interpreters/partial_eval.py", line 1500, in trace_to_subjaxpr_dynamic
ans = fun.call_wrapped(*in_tracers)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/linear_util.py", line 166, in call_wrapped
ans = self.f(*args, **dict(self.params, **kwargs))
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 5390, in _take
_check_arraylike("take", a)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 559, in _check_arraylike
raise TypeError(msg.format(fun_name, type(arg), pos))
jax._src.traceback_util.UnfilteredStackTrace: TypeError: take requires ndarray or scalar arguments, got <class 'list'> at position 0.

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "runner.py", line 758, in
relaxed_pdb_lines, _, _ = amber_relaxer.process(prot=outs[key]["unrelaxed_protein"])
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/relax.py", line 62, in process
max_outer_iterations=self._max_outer_iterations)
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/amber_minimize.py", line 482, in run_pipeline
ret.update(get_violation_metrics(prot))
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/amber_minimize.py", line 356, in get_violation_metrics
structural_violations, struct_metrics = find_violations(prot)
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/amber_minimize.py", line 343, in find_violations
"clash_overlap_tolerance": 1.5,  # Taken from model config.
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/model/folding.py", line 758, in find_structural_violations
atomtype_radius, batch['residx_atom14_to_atom37'])
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/model/utils.py", line 39, in batched_gather
return take_fn(params, indices)
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/model/utils.py", line 36, in
take_fn = lambda p, i: jnp.take(p, i, axis=axis)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 5384, in take
mode)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 5390, in _take
_check_arraylike("take", a)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 559, in _check_arraylike
raise TypeError(msg.format(fun_name, type(arg), pos))
TypeError: take requires ndarray or scalar arguments, got <class 'list'> at position 0.
Any idea of what could be the problem? Thank you!

Check the following points and write them here:

check the cuda compiler version using nvcc --version. 11.1 or later required.
Have you moved the colabfold directory after installation? If so, it causes the error at the relaxation step (AMBER minimization).

Hi, I did not move the colabfold directory but my nvcc version is indeed < 11.1:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
which however appears to be the latest version according to apt-get:

sudo apt install nvidia-cuda-toolkit
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree
Reading state information... Done
nvidia-cuda-toolkit is already the newest version (10.1.243-3).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

How to upgrade nvcc to 11.1 in a way that will be compatible with localcolabfold? Thanks again.

See https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html and https://developer.nvidia.com/cuda-downloads.
If your OS is Ubuntu 20.04, the instruction is here:
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub
sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
sudo apt-get update
sudo apt-get -y install cuda

Hello once more, done the above and got nvcc updated:

nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Sun_Aug_15_21:14:11_PDT_2021
Cuda compilation tools, release 11.4, V11.4.120
Build cuda_11.4.r11.4/compiler.30300941_0

However, this does not fix the problem:

colabfold-conda/bin/python3.7 runner.py
2021-09-28 15:54:02.012725: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
2021-09-28 15:54:03.755078: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcuda.so.1
2021-09-28 15:54:03.908135: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 0 with properties:
pciBusID: 0000:0a:00.0 name: NVIDIA GeForce GTX 1080 Ti computeCapability: 6.1
coreClock: 1.582GHz coreCount: 28 deviceMemorySize: 10.92GiB deviceMemoryBandwidth: 451.17GiB/s
2021-09-28 15:54:03.908216: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-28 15:54:03.911159: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 1 with properties:
pciBusID: 0000:42:00.0 name: NVIDIA GeForce GTX 1080 Ti computeCapability: 6.1
coreClock: 1.582GHz coreCount: 28 deviceMemorySize: 10.91GiB deviceMemoryBandwidth: 451.17GiB/s
2021-09-28 15:54:03.911186: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
2021-09-28 15:54:03.921106: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcublas.so.11
2021-09-28 15:54:03.921171: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcublasLt.so.11
2021-09-28 15:54:03.928525: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcufft.so.10
2021-09-28 15:54:03.930969: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcurand.so.10
2021-09-28 15:54:03.942022: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcusolver.so.11
2021-09-28 15:54:03.945674: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcusparse.so.11
2021-09-28 15:54:03.946502: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudnn.so.8
2021-09-28 15:54:03.950344: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-28 15:54:03.956870: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-09-28 15:54:03.959823: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1871] Adding visible gpu devices: 0, 1
2021-09-28 15:54:12.292372: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-09-28 15:54:12.293680: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1258] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-09-28 15:54:12.293695: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1264]
2021-09-28 15:54:12.371216: I tensorflow/core/platform/profile_utils/cpu_utils.cc:114] CPU Frequency: 3393125000 Hz
ColabFold on Linux
homooligomer: '1'
total_length: '59'
working_directory: 'prediction_test_a5e17'
running mmseqs2
0%|          | 0/5 [elapsed: 00:00 remaining: ?]
model_1_ptm_seed_0 recycles:3 tol:0.06 pLDDT:96.25 pTMscore:0.76
model_2_ptm_seed_0 recycles:3 tol:0.12 pLDDT:96.98 pTMscore:0.76
model_3_ptm_seed_0 recycles:3 tol:0.08 pLDDT:97.48 pTMscore:0.78
model_4_ptm_seed_0 recycles:3 tol:0.12 pLDDT:96.54 pTMscore:0.77
model_5_ptm_seed_0 recycles:3 tol:0.18 pLDDT:96.27 pTMscore:0.78
model rank based on pLDDT
rank_1_model_3_ptm_seed_0 pLDDT:97.48
rank_2_model_2_ptm_seed_0 pLDDT:96.98
rank_3_model_4_ptm_seed_0 pLDDT:96.54
rank_4_model_5_ptm_seed_0 pLDDT:96.27
rank_5_model_1_ptm_seed_0 pLDDT:96.25
0%|          | 0/5 [elapsed: 00:00 remaining: ?]
Traceback (most recent call last):
File "runner.py", line 758, in
relaxed_pdb_lines, _, _ = amber_relaxer.process(prot=outs[key]["unrelaxed_protein"])
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/relax.py", line 62, in process
max_outer_iterations=self._max_outer_iterations)
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/amber_minimize.py", line 482, in run_pipeline
ret.update(get_violation_metrics(prot))
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/amber_minimize.py", line 356, in get_violation_metrics
structural_violations, struct_metrics = find_violations(prot)
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/amber_minimize.py", line 343, in find_violations
"clash_overlap_tolerance": 1.5,  # Taken from model config.
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/model/folding.py", line 758, in find_structural_violations
atomtype_radius, batch['residx_atom14_to_atom37'])
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/model/utils.py", line 39, in batched_gather
return take_fn(params, indices)
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/model/utils.py", line 36, in
take_fn = lambda p, i: jnp.take(p, i, axis=axis)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 5384, in take
mode)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/traceback_util.py", line 162, in reraise_with_filtered_traceback
return fun(*args, **kwargs)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/api.py", line 414, in cache_miss
donated_invars=donated_invars, inline=inline)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/core.py", line 1618, in bind
return call_bind(self, fun, *args, **params)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/core.py", line 1609, in call_bind
outs = primitive.process(top_trace, fun, tracers, params)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/core.py", line 1621, in process
return trace.process_call(self, fun, tracers, params)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/core.py", line 615, in process_call
return primitive.impl(f, *tracers, **params)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/interpreters/xla.py", line 623, in _xla_call_impl
*unsafe_map(arg_spec, args))
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/linear_util.py", line 262, in memoized_fun
ans = call(fun, *args)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/interpreters/xla.py", line 694, in _xla_callable
return lower_xla_callable(fun, device, backend, name, donated_invars, *arg_specs).compile().unsafe_call
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/interpreters/xla.py", line 703, in lower_xla_callable
fun, abstract_args, pe.debug_info_final(fun, "jit"))
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/interpreters/partial_eval.py", line 1522, in trace_to_jaxpr_final
jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic(fun, main, in_avals)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/interpreters/partial_eval.py", line 1500, in trace_to_subjaxpr_dynamic
ans = fun.call_wrapped(*in_tracers)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/linear_util.py", line 166, in call_wrapped
ans = self.f(*args, **dict(self.params, **kwargs))
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 5390, in _take
_check_arraylike("take", a)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 559, in _check_arraylike
raise TypeError(msg.format(fun_name, type(arg), pos))
jax._src.traceback_util.UnfilteredStackTrace: TypeError: take requires ndarray or scalar arguments, got <class 'list'> at position 0.

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "runner.py", line 758, in
relaxed_pdb_lines, _, _ = amber_relaxer.process(prot=outs[key]["unrelaxed_protein"])
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/relax.py", line 62, in process
max_outer_iterations=self._max_outer_iterations)
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/amber_minimize.py", line 482, in run_pipeline
ret.update(get_violation_metrics(prot))
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/amber_minimize.py", line 356, in get_violation_metrics
structural_violations, struct_metrics = find_violations(prot)
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/relax/amber_minimize.py", line 343, in find_violations
"clash_overlap_tolerance": 1.5,  # Taken from model config.
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/model/folding.py", line 758, in find_structural_violations
atomtype_radius, batch['residx_atom14_to_atom37'])
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/model/utils.py", line 39, in batched_gather
return take_fn(params, indices)
File "/usr/local/alphafold/localcolabfold/colabfold/alphafold/model/utils.py", line 36, in
take_fn = lambda p, i: jnp.take(p, i, axis=axis)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 5384, in take
mode)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 5390, in _take
_check_arraylike("take", a)
File "/usr/local/alphafold/localcolabfold/colabfold/colabfold-conda/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 559, in _check_arraylike
raise TypeError(msg.format(fun_name, type(arg), pos))
TypeError: take requires ndarray or scalar arguments, got <class 'list'> at position 0.

Hmm.. I have no idea. Does the problem still occur after reinstalling?

Yes. Also, I should add that I could run DeepMind's standalone code just fine, including relaxation, on the same machine... and this was with nvcc 10.1. So, considering the above, I doubt that's the culprit...

Making the change here fixed this for me - https://github.com/deepmind/alphafold/commit/98caef21efa959e44ed01ab33cfb15ab04a39418 - this isn't a problem on colabfold yet, but I think will be if there's a fresh jax install?
Here's a patch that worked for me.
--- folding.py.bak	2021-09-28 22:46:32.529178748 +0100
+++ folding.py	2021-09-28 22:47:05.614184236 +0100
@@ -750,10 +750,10 @@
   # Compute the Van der Waals radius for every atom
   # (the first letter of the atom name is the element type).
   # Shape: (N, 14).
-  atomtype_radius = [
+  atomtype_radius = jnp.array([
       residue_constants.van_der_waals_radius[name[0]]
       for name in residue_constants.atom_types
-  ]
+  ])
   atom14_atom_radius = batch['atom14_atom_exists'] * utils.batched_gather(
       atomtype_radius, batch['residx_atom14_to_atom37'])

I guess a version of something relevant is different on the colab servers because this is not happening with colabfold.

the above patch fixed the issue I have also seen! thanks a lot!

Hello and thank you - I confirm that the above patch works for me too!
One question though, why does one need a CUDA compiler driver >= 11.1 ? I reverted to my original installation, where the drive version is 10.1.243, and LocalColabFold seems to run just fine. For sure one does not need a driver > 11.1 to run DeepMind's code, so where does this requirement come in?

One question though, why does one need a CUDA compiler driver >= 11.1 ?

colab is running 11.1:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Mon_Oct_12_20:09:46_PDT_2020
Cuda compilation tools, release 11.1, V11.1.105
Build cuda_11.1.TC455_06.29190527_0

localcolabfold installs 11.1 using conda and uses that python installation: colabfold-conda/bin/python3.7 runner.py works but python runner.py probably won't.
If you already have 11.1 working that means your nvidia drivers support 11.1 so it seems like a good requirement to have.

Got it, thanks! I guess we can close this issue, since the fix will presumably be incorporated into the next commit?

Thanks, @zach-hensel, @truatpasteurdotfr, and @lucajovine. I'll incorporate the patch in the next commit.

Now I updated the installers to fix jax compatibility issue. This change is compatible with https://github.com/sokrypton/ColabFold/commit/4a4552e38c89ce803ab03483a8e898943466d19a and https://github.com/deepmind/alphafold/commit/1d43aaff941c84dc56311076b58795797e49107b.

authors: YoshitakaMo lucajovine truatpasteurdotfr zach-hensel

repo: YoshitakaMo/localcolabfold


text:
🛑 UPC is down

In af8c913, UPC (https://www.upc.edu.cn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UPC is back up in 151412c after 6 minutes.

source: gharchive/issue

repo: Yourrrrlove/upptime

license: MIT

license_type: permissive

license_source: github-api


text:
Recommend removing support for Python 2.7 and make minimum required version Python 3.6

Python 2.7 had been End-of-Lifed since January 1st, 2020. https://www.python.org/doc/sunset-python-2/
I recommend dropping support for Python 2.7 and also making Python 3.6 the minimum required version.
The reason for Python 3.6 as a minimum version is that it supports type-hints and also f-strings. Both features are useful.

It makes sense, but I am having issues with Python 3.8.
fido2.hid.CtapHidDevice.list_devices() is not working at all, breaking my code.
Yubiko guys, any idea?

It makes sense, but I am having issues with Python 3.8.
fido2.hid.CtapHidDevice.list_devices() is not working at all, breaking my code.
Yubiko guys, any idea?

The plan is to drop support for Python 3 once we release 1.0. There will be at least one more release with Python 2 support prior to that.
@sullof can you provide some more details? What OS you're running, what authenticator you are trying to use, what error you're getting, and so on?

The plan is to drop support for Python 3 once we release 1.0. There will be at least one more release with Python 2 support prior to that.
@sullof can you provide some more details? What OS you're running, what authenticator you are trying to use, what error you're getting, and so on?

I use fido2 to allow people to use a Yubikey with Secrez. Even if the app is in Nodejs, internally it uses a Python script to interact with Fido2 keys. The script that checks if the system is ready to work is
https://github.com/secrez/secrez/blob/master/packages/secrez/scripts/is_fido2_ready.py
It worked perfectly but recent some user contacted me to tell that it was not working anymore. In fact, I tried it with Python 3.8.6 and this is the error that I have:
(venv) [secrez (master)]$ python scripts/is_fido2_ready.py
Traceback (most recent call last):
  File "scripts/is_fido2_ready.py", line 51, in <module>
    for dev in enumerate_devices():
  File "scripts/is_fido2_ready.py", line 45, in enumerate_devices
    for dev in CtapHidDevice.list_devices():
  File "/Users/sullof/venv/lib/python3.8/site-packages/fido2/hid.py", line 135, in list_devices
    for d in hidtransport.hid.Enumerate():
  File "/Users/sullof/venv/lib/python3.8/site-packages/fido2/_pyu2f/__init__.py", line 29, in Enumerate
    return InternalPlatformSwitch('Enumerate')
  File "/Users/sullof/venv/lib/python3.8/site-packages/fido2/_pyu2f/__init__.py", line 48, in InternalPlatformSwitch
    from . import macos
  File "/Users/sullof/venv/lib/python3.8/site-packages/fido2/_pyu2f/macos.py", line 152, in <module>
    iokit.IOObjectRelease.argtypes = [IO_OBJECT_T]
  File "/usr/local/Cellar/python@3.8/3.8.6/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 386, in __getattr__
    func = self.__getitem__(name)
  File "/usr/local/Cellar/python@3.8/3.8.6/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 391, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(RTLD_DEFAULT, IOObjectRelease): symbol not found

Thanks a lot for your help.

I use fido2 to allow people to use a Yubikey with Secrez. Even if the app is in Nodejs, internally it uses a Python script to interact with Fido2 keys. The script that checks if the system is ready to work is
https://github.com/secrez/secrez/blob/master/packages/secrez/scripts/is_fido2_ready.py
It worked perfectly but recent some user contacted me to tell that it was not working anymore. In fact, I tried it with Python 3.8.6 and this is the error that I have:
(venv) [secrez (master)]$ python scripts/is_fido2_ready.py
Traceback (most recent call last):
  File "scripts/is_fido2_ready.py", line 51, in <module>
    for dev in enumerate_devices():
  File "scripts/is_fido2_ready.py", line 45, in enumerate_devices
    for dev in CtapHidDevice.list_devices():
  File "/Users/sullof/venv/lib/python3.8/site-packages/fido2/hid.py", line 135, in list_devices
    for d in hidtransport.hid.Enumerate():
  File "/Users/sullof/venv/lib/python3.8/site-packages/fido2/_pyu2f/__init__.py", line 29, in Enumerate
    return InternalPlatformSwitch('Enumerate')
  File "/Users/sullof/venv/lib/python3.8/site-packages/fido2/_pyu2f/__init__.py", line 48, in InternalPlatformSwitch
    from . import macos
  File "/Users/sullof/venv/lib/python3.8/site-packages/fido2/_pyu2f/macos.py", line 152, in <module>
    iokit.IOObjectRelease.argtypes = [IO_OBJECT_T]
  File "/usr/local/Cellar/python@3.8/3.8.6/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 386, in __getattr__
    func = self.__getitem__(name)
  File "/usr/local/Cellar/python@3.8/3.8.6/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 391, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(RTLD_DEFAULT, IOObjectRelease): symbol not found

Thanks a lot for your help.

I am not a Python expert. My impression is that there are many python version on my computer that cannot be uninstalled because one is used by MacOS, one is used by other tools, and so on. In the log above you can see that it calls two vrsion of python. How is it possible? Anyway, I guess that that is the cause of the problem. Any idea?

I am not a Python expert. My impression is that there are many python version on my computer that cannot be uninstalled because one is used by MacOS, one is used by other tools, and so on. In the log above you can see that it calls two vrsion of python. How is it possible? Anyway, I guess that that is the cause of the problem. Any idea?

This looks like a known issue with MacOS Big Sur (https://bugs.python.org/issue41179). The real fix needs to happen in Python, but python-fido2 has a workaround for this in the meantime. You can try it out by running from the master branch of this repository instead of the released version.

This looks like a known issue with MacOS Big Sur (https://bugs.python.org/issue41179). The real fix needs to happen in Python, but python-fido2 has a workaround for this in the meantime. You can try it out by running from the master branch of this repository instead of the released version.

Thanks a lot. I will try and suggest that workaround to others.

Thanks a lot. I will try and suggest that workaround to others.

@dainnilsson
I uninstalled fido2 and installed it from the source. However, now, the script above produces the following error:
$ python scripts/is_fido2_ready.py
Traceback (most recent call last):
  File "scripts/is_fido2_ready.py", line 32, in <module>
    from fido2.extensions import HmacSecretExtension
ModuleNotFoundError: No module named 'fido2.extensions'

The code that fails is last line here:
...
from __future__ import print_function, absolute_import, unicode_literals
from fido2.hid import CtapHidDevice
from fido2.client import Fido2Client
from fido2.extensions import HmacSecretExtension
...

@dainnilsson
I uninstalled fido2 and installed it from the source. However, now, the script above produces the following error:
$ python scripts/is_fido2_ready.py
Traceback (most recent call last):
  File "scripts/is_fido2_ready.py", line 32, in <module>
    from fido2.extensions import HmacSecretExtension
ModuleNotFoundError: No module named 'fido2.extensions'

The code that fails is last line here:
...
from __future__ import print_function, absolute_import, unicode_literals
from fido2.hid import CtapHidDevice
from fido2.client import Fido2Client
from fido2.extensions import HmacSecretExtension
...

The script will need to be updated for the changes in 0.9.0, it's not backwards compatible. On that note: 0.9.0 has now been released, which includes the Big Sur fix, so you no longer need to rely on installation from git.

The script will need to be updated for the changes in 0.9.0, it's not backwards compatible. On that note: 0.9.0 has now been released, which includes the Big Sur fix, so you no longer need to rely on installation from git.

I'm now closing this issue as the intent to drop support for Python 2 has been made explicit in the README.

I'm now closing this issue as the intent to drop support for Python 2 has been made explicit in the README.

authors: JohnVillalovos dainnilsson sullof


text:
training error

'deeplabv3plus' object has no attribute 'module'

nn.DataParallel wrap the 'deeplabv3plus' object and have 'module' attribute.
Please refer to issues #9 or pytorch official documents for more decails.


text:
Potential Violation Detected

Hey YuelingLiu!
This repository has been flagged as containing material which potentially infringes upon an academic copyright or an institution's academic integrity policies.
At your earliest convenience, please do one of the following:

disable public access to your repository see repository access settings
remove any content could be in violation of copyright law
remove any content could be in violation of an institution's academic integrity policy

Please feel free to continue any discussion here. Thanks!

:wave: gentle reminder!


text:
メソッド契約

IntelliJ向けアノテーション
https://www.baeldung.com/jetbrains-contract-annotation

ObjectUtilのisNotNull等に設定することでIJによるデータフロー警告等を抑制できるはず

repo: Yui-KitamuraLLC/YuiFramework


text:
MP4 Audio & Warnings Fix

MP4 Audio Fixes
Warnings Fixed (unknown defaults, variable any casting)

I took care of the changes while merging, @gintechsystems Thanks a ton for tackling this 👍 😍

@s4cha Thank you very much! No problem. This project has helped me a lot with apps have I have building on the side...sorry I couldn't get to fixing these minor edits.

source: gharchive/pull-request

repo: Yummypets/YPImagePicker

license: mit

license_source: bigquery


text:
setState(const status)

I think it could  be helpful to have a switch-Method using boolean parameter. Something like:
void RelayModule::setState(const boolean flag) {
   write((flag ? this->onSignal : this->offSignal );
}

Done!
Regards, Yurii.

Awesome, thanks for fast implementation:
https://github.com/YuriiSalimov/RelayModule/commit/c5134225473ad328ca67b65976b60bbb7ef20edc
Regards, Stephan

authors: YuriiSalimov stritti

repo: YuriiSalimov/RelayModule


text:
【第7章5節】PCアルゴリズムの2次の独立性検定を実施するべき

みなさま
本書において、クリティカルに誤っている部分があるので、訂正いたします。
また本内容については、次回増刷時に書面は修正いたします。
@sabi2345さまのIssue「PCアルゴリズムの2次の独立性検定を実施しない理由について 」
https://github.com/YutaroOgawa/causal_book/issues/8
でしっかりと考えなおし、
[1] PCアルゴリズムの2次の独立性検定を実施するべき
[2] 現在のデータでは、図7.5.6から、2次の独立性検定で[Y]ー[Y3]間の結合が切れてしまう
と判明しました。
ひとまず暫定的な修正を2つ提示させていただきます。
実装プログラムは修正済みです。
【1】p. 175第7章5節：PCアルゴリズムによる因果探索　その3：2次の独立性
文面を全て以下に変更。
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
（修正後）
　続いて「2次の独立性検定」を実施します。2次の独立性とは、2つの変数間にとある変数
2個を条件付きにした際の独立性の検定です。条件付きにする変数は対象とする変数と関連
があったものから選びます。
　現在、3変数以上との関連があるのは変数Yのみです。変数Yは変数 x、z、Y3 の3変数と
関連しています。
CI（Y, x | Z, Y3）、CI（Y, Z | x, Y3）、CI（Y, Y3 | x, Z）の3つの独立性を検定を実施すると、

# 2020年7月24日追記
# 2次の独立性の検定 変数Y

print(est.test_conditional_independence(
    'Y', 'x', ['Z', 'Y3'], method="chi_square", tol=0.05))
print(est.test_conditional_independence(
    'Y', 'Z', ['x', 'Y3'], method="chi_square", tol=0.05))
print(est.test_conditional_independence(
    'Y', 'Y3', ['x', 'Z'], method="chi_square", tol=0.05))

(出力)
False
False
False
となります。よって、図7.5.6からさらに切れる辺は存在しないことが分かりました。
では続いて3次の独立性検定を実施するかですが、そのためには、4変数以上とつながっている変数が対象と
なります。
　今回の疑似データではそのような変数は存在しないので独立性の検定はここで終了となります。
ただし、ネットワークの状況によっては、さらに高次の独立性の検定まで実施していきます。
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝

修正【2】p. 163 第7章5節：疑似データ「上司向け：部下とのキャリア面談のポイント研修」の生成
（誤）

# 本章からの追加データを生成

# Y2：部下当人のチームメンバへの満足度 1から5の5段階
Y2 = np.random.choice([1.0, 2.0, 3.0, 4.0, 5.0],
                      num_data, p=[0.1, 0.2, 0.3, 0.2, 0.2])

# Y3：部下当人の仕事への満足度
e_y3 = randn(num_data)
Y3 = 3*Y + Y2 + e_y3

# Y4：部下当人の仕事のパフォーマンス
e_y4 = randn(num_data)
Y4 = 3*Y3 + 5 + 2*e_y4

↓
（修正）
# 本章からの追加データを生成

# Y2：部下当人のチームメンバへの満足度 1から5の5段階
Y2 = np.random.choice([1.0, 2.0, 3.0, 4.0, 5.0],
                      num_data, p=[0.1, 0.2, 0.3, 0.2, 0.2])

# Y3：部下当人の仕事への満足度
e_y3 = randn(num_data)
Y3 = 4*Y + Y2 + e_y3

# ※初版、第2版は20/7/24に変更
#  Y3 = 3*Y + Y2 + e_y3

# Y4：部下当人の仕事のパフォーマンス
e_y4 = randn(num_data)
Y4 = 3*Y3 + 5 + 2*e_y4

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
（変更の理由）
元の実装コードのままでは、
2次の独立性検定を実施すると、
[Y]ー[Y3]間の結合が切れてしまいます。
すなわち、
print(est.test_conditional_independence(
    'Y', 'Y3', ['x', 'Z'], method="chi_square", tol=0.05))

がTrueになってしまいます。
これは、Y3に対してYが与えている影響が小さすぎて独立と判定されてしまうためです。
そのため、Y3のYの係数を3から4へと大きくし、独立ではない模擬データに変更します。
この変更により、2次の独立性検定を実施しても、図7.5.6の結果と同じままになり、
本書の第7章5節の解説に変更はありません
（上記の変更【1】部分のみ変更）
ただし、図7.5.12　ベイジアンネットワークでの推定結果の細かな数値は変化します。
（より細かい議論が気になる方は、https://github.com/YutaroOgawa/causal_book/issues/8をご覧ください）
以上、読者の皆さまには大変ご迷惑と混乱を与える誤った記述をしており、申し訳ございません。
どうぞよろしくお願い致します。


text:
normals not normal

I visualize the normal after i predict the depth and normal use code blow

the depth is normal:

but the normals not good:

could you please provide the original image?

it's caused by the error of unpadding the pred normal in my code.  It's normal now after i fix this part.

it's caused by the error of unpadding the pred normal in my code. It's normal now after i fix this part.

Hi, how do you visualize normals and save it? Could you share your script a bit? Thanks!

authors: YvanYin sonnefred yotofu


text:
adding prefix for pages

adding a prefix for pages created by filament-fabricator

Thanks


text:
Merge "develop" into "master"

Types of Changes
Prerequisites
Please make sure you can check the following two boxes:

[x] I have read the CONTRIBUTING document
[x] My code follows the code style of this project

Contribution Type
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[ ] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

@guiherzog Is anybody currently maintaining Releases in github? Seems like we missed already a couple of versions, which should have been published openly for the world :)

@dimabory No, but that's a good idea, we should start maintaining it.

authors: dimabory guiherzog rad3k1

repo: ZEISS/precise-ui


text:
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

for some video frames throws above exception from  bbox_tlwh[:,0] = bbox_xywh[:,0] - bbox_xywh[:,2]/2. line

@dulangaheshan did you solved this error??

authors: BakingBrains dulangaheshan


text:
feat: support subscriptions

Provide support on both client and server for GraphQL Subscriptions i.e. GraphQL pubsub.

Design
This is a rough draft I am just putting together before I forget it.
Client side
This implementation is actually very trivial with current underlying implementation of the client. Begin by extending the Client interface to be:
type Client interface {
  Query(context.Context, *Request) (*Response, error)
  Subscribe(context.Context, *Request) (*Subscription, error)
}

// Subscription represents a stream of subscription query results.
type Subscription struct {
  // has internal fields for tracking state
}

// Recv provides a blocking API for receiving new response for the subscription query.
func (*Subscription) Recv() (*Response, error) {}

// Stop stops the subscription.
func (*Subscription) Stop(context.Context) error {}

Some thoughts to explore:

Should Recv take a context.Context to allow for synchronous stopping
Should Stop take/return anything? Does the end-user care? Especially since it would have to be a blocking call then.

Server side
The MessageHandler type could be refactored to more of a gRPC stream-esque API like:
// MessageHandler should return any error that can't be considered a GraphQL resolver error.
type MessageHandler func(stream *Stream, req *Request) error

// Stream
type Stream struct {
  // has internal fields for managing state
}

// Send sends the query results back to the client.
func (*Stream) Send(context.Context, *Response) error {}

// Close closes the stream a.k.a. no more results for query.
func (*Stream) Close() error {}

Some thoughts to explore:

Should Send be blocking?


text:
🛑 Chat Bot API is down

In 46bbfc3, Chat Bot API (https://codex-api.zaidmaker.repl.co) was down:

HTTP code: 429
Response time: 635 ms

Resolved: Chat Bot API is back up in e09b655 after 35 minutes.

repo: Zaid-maker/status-page-advanced


text:
nvm-block-bench freezes when running with n_ctrls greater than or equal to two

Describe the bug
I am trying to run nvm-block-bench on a Dell PowerEdge XE8545 that has 4x A100 GPUs in them and 2x NVMe SSDs. It works fine when I only use n_ctrls=1 while using gpu0, but anymore than that and the program freezes indefinitely. I have attached parts of dmesg output which shows the following potential errors:
[52272.105362] NVRM: Xid (PCI:0000:41:00): 119, pid=12600, name=nvm-block-bench, Timeout waiting for RPC from GSP1! Expected function 76 (GSP_RM_CONTROL) (0x20803019 0x40).
[52272.105380] CPU: 80 PID: 12600 Comm: nvm-block-bench Tainted: P           OE     5.8.0-63-generic #71~20.04.1-Ubuntu
[52272.105909] WARNING: kernel stack frame pointer at 000000008f1c4968 in nvm-block-bench:12600 has bad value 00000000c9cd6af6
To Reproduce
Run the following command:
sudo ./bin/nvm-block-bench --threads=262144 --blk_size=64 --reqs=1 --pages=262144 --queue_depth=1024 --page_size=4096 --num_blks=2097152 --gpu=0 --num_queues=128 --random=true -S 1 --n_ctrls=2
Expected behavior
Expected nvm-block-bench to not freeze with n_ctrl >= 2.
Machine Setup (please complete the following information):

OS: Ubuntu 20.04.6, Kernel 5.8.0-63-generic
NVIDIA Driver: 535.54.03, CUDA Versions: 12.2, GPU name: NVIDIA A100-SXM4-80GB
SSD used: KIOXIA CM7

Additional context
I have disabled the other 3 GPUs with the following commands as it seems like systems with 4 GPUs or more tends to make nvidia-smi tool freeze or take a long time. However, when other GPUs are disabled, nvidia-smi becomes snappy and responsive.
nvidia-smi -i <pcie_address_gpu> -pm 0
nvidia-smi drain -p <pcie_address_gpu> -m 1
dmesg.txt
nvidia-smi.txt

Hmm. interesting.
This should not happen technically. But with Kioxia SSDs, when I tested - sometimes some of their SSDs do not work and some do. I did not bother to figure out what was going wrong. So this may be a weird ask, do you have any other vendor SSD apart from Kioxia CM7? Say, Samsung/Micron? If yes, can you replace them and try them out? (you can do a mix match. so technically you need one SSD).
Let me know if that works first. If not, we need to determine more in detail and might have to take the discussion offline to an email thread.

I have to get the system to work with the KIOXIA drives. I may be able to try to plug in different drives later, but right now I cannot try different drives.
I was able to get four KIOXIA drives installed while trying on the other A100 GPUs, n_ctrls = 3 and n_ctrls = 4 result in the same hanging nature at that step.
Is there any kind of logging I can have access to to see why it is hanging? Or we can talk more through email, please let me know where to send the starting email for this. Thank you very much!

I was actually able to get 2 Micron 7450 Pro drives slotted into the system. I added some print statements to the main.cu file for the block before compiling to see what function it was stuck on. When I ran the test with both n_ctrls=1 and 2 with only the Micron drives bound to the driver, I was able to run the block benchmark as seen below:
sudo ./bin/nvm-block-bench --threads=262144 --blk_size=64 --reqs=1 --pages=262144 --queue_depth=1024 --page_size=4096 --num_blks=2097152 --gpu=0 --num_queues=128 --random=true -S 1 --n_ctrls=1
SQs: 256        CQs: 256        n_qps: 128
n_ranges_bits: 6
n_ranges_mask: 63
pages_dma: 0x7f3580010000       ee5b0000
HEREN
Cond1
40000 8 1 40000
Finish Making Page Cache
finished creating cache
0000:01:00.0
atlaunch kernel
before cuda_err_chk
after cuda_err_chk
before elapsed assignment
Elapsed Time: 229136    Number of Ops: 262144   Data Size (bytes): 1073741824
Ops/sec: 1.14405e+06    Effective Bandwidth(GB/S): 4.36422
sudo ./bin/nvm-block-bench --threads=262144 --blk_size=64 --reqs=1 --pages=262144 --queue_depth=1024 --page_size=4096 --num_blks=2097152 --gpu=0 --num_queues=128 --random=true -S 1 --n_ctrls=2
SQs: 256        CQs: 256        n_qps: 128
SQs: 256        CQs: 256        n_qps: 128
n_ranges_bits: 6
n_ranges_mask: 63
pages_dma: 0x7f4782010000       fbda0000
HEREN
Cond1
40000 8 1 40000
Finish Making Page Cache
finished creating cache
0000:01:00.0
atlaunch kernel
before cuda_err_chk
after cuda_err_chk
before elapsed assignment
Elapsed Time: 116726    Number of Ops: 262144   Data Size (bytes): 1073741824
Ops/sec: 2.2458e+06     Effective Bandwidth(GB/S): 8.56705
Then, I added 1 KIOXIA drive such that there were 3 libnvm devices. Ran the following command for n_ctrls=3:
sudo ./bin/nvm-block-bench --threads=262144 --blk_size=64 --reqs=1 --pages=262144 --queue_depth=1024 --page_size=4096 --num_blks=2097152 --gpu=0 --num_queues=128 --random=true -S 1 --n_ctrls=3
SQs: 128        CQs: 128        n_qps: 128
SQs: 256        CQs: 256        n_qps: 128
SQs: 256        CQs: 256        n_qps: 128
n_ranges_bits: 6
n_ranges_mask: 63
pages_dma: 0x7fb2a6010000       fc060000
HEREN
Cond1
40000 8 1 40000
Finish Making Page Cache
finished creating cache
0000:01:00.0
atlaunch kernel
before cuda_err_chk
So interestingly enough, although in the commands I specified 128 queues, the Micron drives still report 256 submission and completion queues, while KIOXIA reports at 128 as I would expect. In addition to that, it seems like the code gets stuck at the function called cuda_err_chk.
Need to do further digging on what cuda_err_chk is doing and why it hangs up on KIOXIA drives when n_ctrls >= 2

It looks like the problem is specific to KIOXIA drives. Which system is this? Can you reach out to me over email or LinkedIn? This requires discussion offline.

I have sent you an email to the email that you have associated with your GitHub account, look forward to discussing with you soon.

Continuing discussion over email.

Any update on this question? We also meet this question!
Here is our setup:

SSD: 12 * Intel P5510
OS: ubuntu22.04, kernel 5.15.0.100
CUDA: 12.3, nvidia-545.23.06(open source)

@cxz66666
Issue has been resolved on my end, was able to get max throughput and IOPS off of the 4 drives I was testing on.
I don't know your test system, but some things to consider:
1.) Make sure IOMMU is disabled both in BIOS and in the Linux kernel parameters (iommu=off amd_iommu=off) or (iommu=off intel_iommu=off) depending on what CPU you have.
2.) Run the following command for overall system snappiness with multiple GPUs in system:
sudo /usr/bin/nvidia-persistenced --verbose
3.) With your kernel version, you MUST install the NVIDIA display drivers with the open source version, not the proprietary driver. This will be an option for you if you use a .run file to install both compatible CUDA and NVIDIA display driver at the same time.
Closing the issue because it is resolved on my end.

repo: ZaidQureshi/bam


text:
还维护这个吗？可否看看能不能提升一下速度。

加载比较大的json文件时，速度有些慢（左侧树那块），比如douyin的视频列表json数据。有个在线版的比较快，不知道是怎么弄的。
地址是这个https://jsonviewer.stack.hu/
是渲染上的问题？

https://github.com/ZainChen/vscode-json/issues/13

authors: ZainChen cnazev

repo: ZainChen/vscode-json


text:
ban evasion from Doubles Ubers

#Arcticblast: do you definitely want evasion moves and abilities banned from DUbers?
@KyleCole: idc, but if you're running a tour with it and want it banned then im down
no longer allowed in singles Ubers iirc so why allow it here?

Shouldn't this go through a Doubles council first?

@ascriptmaster  both Arcticblast (arcticblast being one of the leaders) and KyleCole are part of the doubles council

Needs more posts in media outlets.

Doubles Ubers is an OM, basically, currently maintained by Kyle Cole. The community is currently playing with manual Evasion clause, so let's go.

authors: Arcticblast AustinXII Joimer Slayer95 ascriptmaster

repo: Zarel/Pokemon-Showdown


text:
Punishments: Fix Punishments.roomUnblacklistAll

should use Punishments.saveRoomPunishments() instead of the global version at the end of the Punishments.roomUnblacklistAll
add an extra ignoreWrite argument to be passed to roomUnblacklist => roomUnpunish.  That way, it doesn't try to write to the tsv file for each loop of the forEach called in roomUnblacklistAll

Ohh, my bad, thanks for pointing this out!

authors: panpawn sparkychildcharlie


text:
Scavengers: make the queue broadcastable

I hope this way of dealing with broadcasting in a command called via this.parse() is fine.

If I type !scav queue, I get !scav viewqueue back, is it intended?

OK simply directly calling the command function while binding the same command context should work.  Since there is no recursion in the viewqueue command, recursion depth should not be an issue.  This makes so that no matter how they call the broadcast the command (viewqueue/queue, or !scavs vs !scavengers) it'll show the actual message they sent.

dot dot dot bump?

Pushed to master, sorry for making a bad commit in your branch, I don't understand GitHub merge failure resolution tools.

authors: sparkychildcharlie xfix


text:
🛑 Historia Clinica is down

In b9409af, Historia Clinica (https://excelenciadigital.online/hcweb/Login.aspx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Historia Clinica is back up in 366efb2 after 8 minutes.

repo: ZarzueloM/status


text:
Fix coordinator units tests

The coordinator unit tests weren't being run. This turns them back on and fixes the error.
A helper file for the tests was added to make it easier to see the values
Some clean up was done that was leftover from #131

Looks good, but it has conflicts now, let me know if you need help sorting them out

authors: conradoplg natalieesk

repo: ZcashFoundation/frost-zcash-demo


text:
Minimise zcashd files pulled in by zcash_script

Motivation
zcash_script is only used for transparent script validation.
If we pull in more dependencies than we need, builds are slower. They also become more fragile, because our test platforms are not the same as zcashd. (For example, Zebra builds with MSVC on Windows, but zcashd cross-compiles to Windows.)
Suggestions
The following crates should not be required for transparent script validation, unless they are used for transaction serialization:
halo2 = "0.1.0-beta.1"
incrementalmerkletree = "0.1"
zcash_note_encryption = "0.0"

Similarly, the following Rust modules should not be required:
mod ed25519;

mod history_ffi;
mod orchard_ffi::incremental_sinsemilla_tree_ffi;
mod zip339_ffi;

mod test_harness_ffi;

Duplicate of https://github.com/ZcashFoundation/zebra/issues/2830?

Ah yes, I moved this ticket from zcash_script. So it's literally a duplicate.

Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @teor2345 @upbqdn

If we don't do this, it increases our technical debt and maintenance burden. But it doesn't create any bugs or security issues.
So I think this should be a low priority technical debt fix, outside the scope of the release candidate. (There are a lot higher priority issues in the release candidate.)

Writing this down since I briefly looked into this:
zcash_script.cpp includes primitives/transaction.h -> primitives/orchard.h which requires a pointer to the  orchard_bundle_free function which is contained in orchard_ffi.rs. Fixing this will require some non-trivial refactoring of the zcashd code. (In more generic terms, zcash_script.cpp inclues transaction structures, which include Orchard bundles, etc.)

authors: conradoplg mpguerra teor2345

repo: ZcashFoundation/zebra


text:
Update dependencies to support Apple M1, fix Windows CI LLVM paths

Motivation
Ublock development on Apple M1.

Solution

Update dependencies.

Related Issues

https://github.com/ZcashFoundation/zcash_script/pull/20
https://github.com/rust-rocksdb/rust-rocksdb/pull/506#issuecomment-814675349

Same windows clang issue as in zcash_script https://github.com/ZcashFoundation/zcash_script/pull/20 🤦 Will do proper fix there first.

It looks like it might be a while before GitHub has M1 CI runners:
https://github.com/actions/virtual-environments/issues/2187
But we can test manually until then.

Yeah, M1 still not publicity available in GitHub CI 😞
I think it's okay for some time do not to test on M1 in CI. At least these changes allow to use M1 for development.

Updated to latest crates 🎉

Let's fix the hard-coded block name, and then we're good to merge.
You can also move the lexical-core change to #2026 if you want, but I don't want to block on that.

Oops sorry this review was meant for #2018. I'll just go fix that all up now.

Thanks for all your hard work on this PR, and the zcash_script PR!

I uodated the title to describe what the merged PR actually does, so our changelog is accurate.
There's no need to match the dependabot title format for future PRs. Having different PR titles from dependabot actually helps us identify manual changes in the changelog.


text:
🛑 Latest versions (prod ru) is down

In 710c042, Latest versions (prod ru) (https://prod-ru.zebr-a.com/latest/config) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Latest versions (prod ru) is back up in fca8eba.

repo: Zebrainy/upptime


text:
🛑 Game Server Proxy (prod) is down

In b4061ce, Game Server Proxy (prod) (https://proxy.zebr-a.com/api/Version) was down:

HTTP code: 502
Response time: 336 ms

Resolved: Game Server Proxy (prod) is back up in a218fac.


text:
Added Responsive Landing Page with Dark and light toggle

🛠 Fixes Issue #464

👨💻 Changes proposed

✅ Check List (Check all the applicable boxes)

[x] My code doesn't break any part of the project (Zero Octave-Javascript-Projects).
[x] This PR does not contain plagiarized content.
[x] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

Hey, project admin as you assign me this issue to work on I have completed the project and created the pr regarding that I hope that you will go through my pull request and merge it.
📷 Screenshots

delete the json file and add your project in the index and cardsdata file too

Hey Abhishek I have changed the code and added my project to project's
index.html file so please go through it and review it thanks 🙂
On Mon, Apr 11, 2022, 7:15 PM Abhishek Kumar @.***>
wrote:

delete the json file and add your project in the index and cardsdata file
too
—
Reply to this email directly, view it on GitHub
https://github.com/ZeroOctave/ZeroOctave-Javascript-Projects/pull/476#issuecomment-1095072515,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWWDINXFQWSNPUTXT2IGODTVEQUHVANCNFSM5TA24RHA
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

@NOiR-07 Please review the PR I have done the changes

you haven't added in the index file of website
for ref: check others code how they did

you haven't added in the index file of website for ref: check others code how they did
@NOiR-07 look at this


text:
Food effect procs cause incorrect state

Effect procs like for On Kill Food cause additional buffs with "Nourishment" name to be applied, which results in incorrect buff states.
This is likely the same for Res Utilities.

Procs for the Condi variants like Saffron Mushroom do not cause this issue since their buff seems to be named "Malice" instead.

Fixed for Dragon's Breath Bun.
Other procs using the "Nourishment" or "Enhancement" names will need to have their ids added to the data in order to be ignored.


text:
V0.2.1

更新目录结构

初始化结束，开始更新版本

完成大部分更新

更改版本号为v0.5.1

Merge pull request #13


text:
Support for MacOS BigSur

Since release of BigSur Beta 2, I'm curious about Clover configuration contained in this repository, when this configuration was released for Mojave I've tested it on Catalina and worked fine, BigSur doesn't introduce serious API changes in hardware layer so I think it should work without problems. I'm going to test it in near time and provide relations over this issue.

[ ] Installation of BigSur Beta 2 on ASUS GL553VD
[ ] Implementation of Clover Configuration
[ ] Fill of test summary

Summary of tests

Device
Name
Working?

Graphic
INTEL HD 630 - 2GB VRAM
???

Graphic
NVIDIA GeForce GTX 1050
NO

Audio
ALC233(235)
???

Optical Drive
Super-Multi DVD
???

Keyboard
---
???

WebCam
USB2.0 HD UVC
???

Networking
Realtek RTL8168H/8111H PCI Express Gigabit Ethernet
???

Networking
Intel AC7260
NO

Bluetooth
Intel AC7260
???

USB
USB 3.0 Bus
???

HDMI
INTEL HDMI HD 630
???

Touchpad
ELAN 1200
???

Flashing image to USB and attaching Clover configuration doesn't work very well, on my side I've experienced some kernel crashes.
Actually aim trying to run installation on my Catalina without flashing image to USB - in this method instalator at least turned on, seems to be stucked at 3m reaming but progress bar slowly going.


text:
compare: too many failed files?

Needs investigation

BLTEDecoderException: not enough data: 8

8

Sample fail files:

0000000023D4.004
000000040A0C.03F

It is calling  CASCExplorer.CASCHandler.OpenFileOnline?

Real not bugged fail:
CASCExplorer.BLTEDecoderException: frame header mismatch (bad BLTE file)
   at CASCExplorer.BLTEStream.Parse(MD5Hash md5)
   at CASCExplorer.BLTEStream..ctor(Stream src, MD5Hash md5)
   at CASCExplorer.CASCHandlerBase.OpenFile(MD5Hash key)
   at CASCExplorer.CASCHandler.OpenFile(UInt64 hash)
   at PyOWLib.Utils.<>c__DisplayClass3_0.<compareFiles>b__0(Int64 x)
files\Win_SPWin_RDEV_LenUS_EExt\004\00000000DB9E.004 failed

Bug is due to Paralell.For

repo: ZingBallyhoo/OverwatchDataManager


text:
🛑 blog.zinglix.xyz is down

In 3146d75, blog.zinglix.xyz (https://blog.zinglix.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: blog.zinglix.xyz is back up in 7773faf after 7 minutes.

repo: ZingLix/blog-mirror-uptime


text:
🛑 zinglix.vercel.app is down

In 33fb20c, zinglix.vercel.app (https://zinglix.vercel.app) was down:

HTTP code: 0
Response time: 0 ms

Resolved: zinglix.vercel.app is back up in 77419ee.


text:
🛑 blog.zinglix.xyz is down

In d10c6bd, blog.zinglix.xyz (https://blog.zinglix.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: blog.zinglix.xyz is back up in 6d4ca44.


text:
删除标签功能无法正常使用

包含图片数量较少的标签可以正常删除，数量较多的标签显示删除成功但是并没有删除

了解，可能是一次性需要删除的标签数量超过了接口限制，将会尽快修复

超过了10个，大概有一个标签下有几百个，不知道是不是有可能是因为标签中有被删除的作品

我确认下“删除标签”是指删除一个标签下所有的作品，还是清除一个作品下收藏的标签
我好像理解反了

已修复


text:
Draft info

I have been trying to figure out how to display the picks for specific draft years but can't figure it out. If anyone figures it out please advise!!

This query returns draft details for the draft in {draft_year):
https://records.nhl.com/site/api/draft?cayenneExp=draftYear={draft_year}
e.g.
https://records.nhl.com/site/api/draft?cayenneExp=draftYear=2016

@alanryder you are amazing thank you!

One question thought. I believe that this resource is being blocked by cors from being used in a locally developed website. Do you know of any way to get around this by chance?

Sorry, but no.

Have you taken a look at https://corsproxy.io/?
Example URL:
https://corsproxy.io/?<URL>

repo: Zmalski/NHL-API-Reference


text:
🛑 Arch Dental Academy is down

In 4885fa8, Arch Dental Academy (https://archdentalacademy.com/) was down:

HTTP code: 403
Response time: 65 ms

Resolved: Arch Dental Academy is back up in 7a59325.

repo: Zollege/status


text:
How to have custom item on Jobs with bonus ?

I have a big bug, this item don't made bonus on jobs & essentials plugin.
Jobs config:
items:
helmet:
id: 306
name: '&e&lCasque de Bucheron'
lore:
- '&r'
- '&7Casque du métier Bucheron.'
- '&7Donne +5% pour tout !'
enchants:
- PROTECTION_ENVIRONMENTAL=4
- DURABILITY=3
moneyBoost: 1.05
expBoost: 1.05

Essentials config:
bucheron:
delay: 604800
items:
- IRON_HELMET 1 name:&e&lCasque_de_Bucheron lore:&r|&7Casque_du_métier_Bucheron.|&7Donne_+5%_pour_tout_! protection_environmental:4 durability:3

I have found a solution, jobs have a command to give they custom item :)

repo: Zrips/Jobs


text:
Sapog doesn't save configuration parameters automatically

Valenok DOesn't save configuration parameters automatically  under cfg command

I shall test this today

authors: silverv suzonch

repo: Zubax/sapog


text:
Update Sphincs Example.ipynb

The signature and the message values were swapped on sphincs.verify()

Thanks for you report, I have indeed swapped the signature and the message during the class merging. But the function sphincs.verify() is defined as: verify(self, sig, m, pk) and works with m the message and sig the signature. You might have mistaken this function with sphincs.spx_verify() defined as spx_verify(self, m, sig, public_key) which is not supposed to be used by the user. For more clarity I might then change the former function with the same order.

authors: a-carlier henriquejosefaria

repo: a-carlier/sphincs-python


text:
Datastar docs outdated

Templ Datastar docs is outdated.
I'm posting the issue, for someone who can do a PR or to do it myself in the future.

How are they outdated? Got any specifics?

I do confirm that DataStar Backend example is obsolete.
current module in above example is:
github.com/delaneyj/datastar
While it should be:
import datastar "github.com/starfederation/datastar/sdk/go"
But this breaks below functions:
datastar.RenderFragmentTempl(...)
datastar.PatchStore(...)
I'm still learning Templ ecosystem, and datastar example seems out of my cup at the moment.

authors: a-h aminerwx malofu

repo: a-h/templ


text:
feat(tracing): Switch from logs to tracing

Closes #181 Adds drop in tracing. Leaves adding tracing subscribers for future discussion.

LGTM! Can you just run cargo fmt so that we can pass CI?

Done!

authors: PatStiles ncitron


text:
refactor configuration

the way it is now is pretty shitty. I would like to make it something like config file which would be sourced from config.py class and then imported in db and connection.

sourcing PORT from environment variables now, this issue is no longer needed.


text:
add sum on array

This should looks like:
controller
$scope.users = [   { user: { score: 988790 } },   { user: { score: 123414 } },   { user: { score: 987621 } } ];
view

 {{ users | sum: 'user.score' }}

result

2099825

Similar to min filter
Thanks

I think this might work:
{{users | map: 'user.score' | sum}}

Thanks! Works like charm ;)

I have another question.. My data is array of arrays like this:
$scope.data = [[1460232000000,2],[1460235600000,5],[1460239200000,7]];
My final goal is to sum the second number of each array, for this data 14.
I know that I need to do sum on map but I can figure how.
I started with the map on ng-repeat but it's show the full array.

{{aa}}

Here is my poor result in a bin:
http://jsbin.com/laheho/edit?html,js
Thanks!

Hi @moshfeu.  Here's a solution:
// in controller
$scope.secondElement = function(item) {
  return item[1];
};

// in HTML

{{aa}}

If there's a way to make an angular expression that access the second element of the array, this would be a bit simpler.  But I can't figure out if that's possible.

Thanks! I got this from the docs but I hoped that this is can be done by expression. Pretty annoying. Thank you any way. I really appreciate it!

authors: moshfeu toddbranch


text:
Only work once  on firefox using Angular

It only works once, I open the modal the inputs appear correctly (date), then I close the modal and open again the inputs do not work as they should, no error appears in the javascript just a css error but i think is not this.
I using C# MVC asp.net
$(document).ready(function () {
webshim.activeLang(navigator.language);
webshims.setOptions('waitReady', false);
webshims.setOptions('forms-ext', { types: 'date' });
webshims.polyfill('forms forms-ext');
    $('input:invalid').each(function () {
        $(this).after($.prop(this, 'validationMessage'));
    });
});

My application is SPA

You will need to update fields after you load it.
run this on the bottom of the page that content the date field.
$("input[type=date]").updatePolyfill();

We have the exact same issue. Using the trick mentioned by Weksley breaks the page alignment.

authors: Weksley luizluan supratim3

repo: aFarkas/webshim


text:
建议增加高宽比以及缩放模式设置

问题描述
一些古老的视频存在高宽比错误的问题，可通过调整高宽比以及缩放模式得到纠正。
描述解决方案
缩放模式和高宽比都可以在AspectRatioFrameLayout中调整：

com.google.android.exoplayer2.ui.AspectRatioFrameLayout#setResizeMode
com.google.android.exoplayer2.ui.AspectRatioFrameLayout#setAspectRatio

描述备选方案
自定义布局
附加信息
可能包名不同

调整画面比例的时候就需要更改缩放模式设置，因此我觉得没有必要把缩放模式单独做出来，会与画面比例调节冲突

确实缩放模式对于电视是没必要的，基本上不存在那种1:1显示的需求


text:
Failure populating nested, private fields (java.lang.IllegalAccessException)

In my project setup Sql2o fails to set nested, private fields via PojoMetadata#getValueOfProperty:
org.sql2o.Sql2oException: could not read value of field triggers on class class test.A
	at org.sql2o.reflection.PojoMetadata.getValueOfProperty(PojoMetadata.java:163)
	at org.sql2o.reflection.Pojo.setProperty(Pojo.java:43)
        ...
	Caused by: java.lang.IllegalAccessException: Class org.sql2o.reflection.PojoMetadata can not access a member of class test.A with modifiers "private"
	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
	at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)
	at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)
	at java.lang.reflect.Field.get(Field.java:390)
	at org.sql2o.reflection.PojoMetadata.getValueOfProperty(PojoMetadata.java:161)
	... 42 more

Do not know what is exactly going on wrong here because my setup is exactly identical to the one you have put up in this test case. Maybe it is a cross-jar security policy in Java 8 or the like?
Data Object:
public class A {
  private String name;

  private Nested nested = new Nested();
}

Query:
c.createQuery("SELECT a.name, a.foo as \"nested.foo\" FROM a").executeAndFetch(A.class);

Do you have an idea what may be wrong?
While I am not sure about the actual problem, I know there is an easy fix. We could simply make the field accessible programatically before access:
if (!field.isAccessible()) {
  field.setAccessible(true);
}

I could provide a PR for that.

Ahhhh, sorry for the noise. That seems to be already fixed with the upcoming release.


text:
Tailwind Gradient not respected

"via-green-200/25 to-yellow-300/10 h-6 flex flex-row px-1.5 -space-x-2 bg-slate-100/80 bg-gradient-to-r from-blue-300/10 backdrop-blur" should be formatted as "h-6 flex flex-row px-1.5 -space-x-2 bg-slate-100/80 bg-gradient-to-r from-blue-300/10 via-green-200/25 to-yellow-300/10 backdrop-blur"

Closed in #10


text:
🛑 KIOSKOS - HOME is down

In d645b65, KIOSKOS - HOME (https://recaudacion.yucatan.gob.mx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KIOSKOS - HOME is back up in 09a41f2.

repo: aafyyuc/upptime


text:
🛑 KIOSKOS - HOME is down

In 05de6bd, KIOSKOS - HOME (https://recaudacion.yucatan.gob.mx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KIOSKOS - HOME is back up in ee7abf8 after 7 minutes.


text:
🛑 SERVICOS VUE is down

In e750d84, SERVICOS VUE (https://wsaafyvue.yucatan.gob.mx/vue/services/consultar/recibos) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SERVICOS VUE is back up in ce5c340.


text:
Logout Procedure cleanup

Logging out from an account and logging with another will redirect to the homepage without reloading the content, and showing still the data of the previous account.
We need to test and understand where the cleanup/refresh is needed.

The problem is caused by useGetRefreshToken cache never being invalidated
https://github.com/aalto-grades/base-repository/blob/11cdd0c1ceeefb9df6fcc416625639904ea3ab66/client/src/components/auth/PrivateRoute.tsx#L24-L31
The same lines also cause the bug that requires the user to login twice, due to useGetRefreshToken().data being null. Might be due to some bad timings.
One way to fix the wrong account data issue would be to add this line to the logout function.
queryClient.invalidateQueries({queryKey: ['refresh-token']});

https://github.com/aalto-grades/base-repository/blob/11cdd0c1ceeefb9df6fcc416625639904ea3ab66/client/src/components/auth/UserButton.tsx#L23-L28

repo: aalto-grades/base-repository


text:
Hi, i am not able to download the imagenet pkl file

Is this an issue on my end, or some issue with the download?

yes, the connection in the university is unstable recently. Please try again a few days later, really sorry for that

authors: aaron-xichen tumble-weed

repo: aaron-xichen/pytorch-playground


text:
Error when no general list ID is set

We used the plugin for a long time without setting a general list ID in the grav config. Instead we added a key to the form. After an update the plugin started throwing errors that the default list ID was given the value 'null'. So the list ID given via the form gets ignored and the list ID in the grav config isn't there, hence throwing an error.

Thanks for filing @JvanderCeelen. Closing this as fixed by #22.

authors: JvanderCeelen aaronhipple

repo: aaronhipple/grav-plugin-mailchimp


text:
Choosing "Select None", then trying to generate crashes JS

Need to add feature that breaks out before gen() if options are empty

Fixed.

repo: aarqon/lewdgen


text:
Binary Search Problems

Hey I  can add binary search question to the series . Please assign me so that I can work on this .

hi i previously solved questions in gfg.I am intrested to take part in this issue.I am gssoc 23 contributor

I have made this issue so I want to work on this .

its ok


text:
Follow semver

Latest release, 8.1, is not semver. 8.0.2 is.

A normal version number MUST take the form X.Y.Z (SemVer)

If you don't follow semantic versioning, that's okay, just close the issue. It obviously does not affect tools like pip, only self-made build tools that relies on YML which parses 8.1 as a float instead of a string.

SemVer is overkill for websockets. I apply a simplified version of SemVer with only major and minor versions; no patch versions.
If a tool cannot parse 8.1, it cannot parse 3.9, which is a version of Python, or3.2 which is a version of Django. I feel like I'm in good company.

Another way to look at this is -- I don't feel the urge to add a .0 after every version of websockets. Keep things simple!

Finally -- YAML 😱

authors: aaugustin jondequinor

repo: aaugustin/websockets


text:
getAavegotchiListings( _category, 'purchased', _length) works only with small datasets

Not sure if this is intentional or not, but right now getAavegotchiListings(3, 'purchased', 800) throws 'cannot estimate gas' error, while getERC721Listings(3, 'purchased', 800) returns an array with 800 elements.
getAavegotchiListings works, but only up to around ~100 elements

Hm not really intentional, but more a limitation given the amount of data that getAavegotchiListings returns. Our smart contract is close to being deployed and once it's ready it'll be much easier to query the listings (won't need to use the SC directly).

authors: Juglipaff cinnabarhorse

repo: aavegotchi/aavegotchi-contracts


text:
Installation Question

Hello

I went to my blank website root and ran the composer command and installed the files

composer require abantecart/ups-php

I created a new file in my root, upstest.php and added this content.

<?php
require __DIR__ . '/vendor/autoload.php';

$accNumber = '';
$clientId = '';
$password = '';

$config = \UPS\OAuthClientCredentials\Configuration::getDefaultConfiguration()
    ->setUsername($clientId)
    ->setPassword($password);

$apiInstance = new \UPS\OAuthClientCredentials\Request\DefaultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
    new \GuzzleHttp\Client(),
    $config
);
$grant_type = "client_credentials"; // string |
$x_merchant_id = $accNumber; // string | Client merchant ID

try {
    $result = $apiInstance->createToken($grant_type, $x_merchant_id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->generateToken: ', $e->getMessage(), PHP_EOL;
}

I keep getting the error:
Fatal error: Uncaught Error: Class "UPS\OAuthClientCredentials\Configuration" not found in /home/pelp/public_html/dadev/upstest.php:17 Stack trace: #0 {main} thrown in /home/pelp/public_html/dadev/upstest.php on line 7

Do you know what I am doing wrong?

this did not work for me

what this mean? any details?

for example:
<?php

require_once(__DIR__.'/../../../vendor/vendor/autoload.php');

$config = \UPS\OAuthClientCredentials\Configuration::getDefaultConfiguration()
    ->setUsername('test')
    ->setPassword('test');

Fatal error: Uncaught Error: Class 'UPS\OAuthClientCredentials\Configuration' not found in C:\xampp\htdocs\test\index.php:5 Stack trace: #0 {main} thrown in C:\xampp\htdocs\test\index.php on line 5
composer.json:
{
    "require-dev": {
        "phpstan/phpstan": "0.12.100",
        "vimeo/psalm": "3.18.2",
        "phpmd/phpmd" : "2.14.1",
        "cloudstek/php-laff" : "1.1.1"
    },
    "require": {
        "google/apiclient": "2.14.0",
        "nicolab/php-ftp-client": "1.6.1",
        "phpclassic/php-shopify": "1.2.9",
        "php-amqplib/php-amqplib": "3.6.0",
        "hollodotme/fast-cgi-client": "3.1.7",
        "sentry/sdk": "3.5",
        "guzzlehttp/guzzle": "7.3.0 as 6.5",
        "mpdf/mpdf": "8.0.10",
        "picqer/bol-retailer-php-client": "8.1.0",
        "satun14/redmine-api": "v2.0",
        "dragonmantank/cron-expression": "3.3.3",
        "elasticsearch/elasticsearch": "8.10.0",
        "phpoffice/phpspreadsheet": "1.29.0",
        "php-ai/php-ml": "0.9.0",
        "jlevers/selling-partner-api": "5.10.1",
        "symfony/var-dumper": "^5.4",
        "abantecart/ups-php": "^1.0"
    },
    "config": {
        "allow-plugins": {
            "wikimedia/composer-merge-plugin": true,
            "php-http/discovery": true
        }
    }
}

any other vendor library works just fine

This package is a API set with it's own composer.json files inside of each subdirectory.
Unfortunately i don't know a solution how to install all UPS APIs as one monolith package via "composer require" command.
I added wikimedia-merge-plugin  into composer.json and it works when i run "composer install" inside directory of the project(see vendor/composer/autoload_static.php file, you should look on UPS classes inside)
If you run composer require command these UPS classes ignores without any causes.
Asking of help on wikimwedia github-repo does not help.

@abolabo can't this be fixed by creating separate repositories for each API and referencing those repo's in the global ups-php package ? Installing only ups-locator, it's now just not possible.

@abolabo can't this be fixed by creating separate repositories for each API and referencing those repo's in the global ups-php package ? Installing only ups-locator, it's now just not possible.

this package based on official UPS api-spec repository (see readme). They changing their API quantities permanentaly. Since summer 2023 i had seen at least 4 renaming of apis. I think to create of separate repo for each their API is a mistake.

Maybe this will stabilize in the coming year.

Ran into this problem too. To fix this problem you need change the autoload configuration of your composer.json:
{
    "autoload": {
        "psr-4": {
            "UPS\\AddressValidation\\": "vendor/abantecart/ups-php/AddressValidation/src/",
            "UPS\\DangerousGoods\\": "vendor/abantecart/ups-php/DangerousGoods/src/",
            "UPS\\LandedCost\\": "vendor/abantecart/ups-php/LandedCost/src/",
            "UPS\\Locator\\": "vendor/abantecart/ups-php/Locator/src/",
            "UPS\\OAuthAuthCode\\": "vendor/abantecart/ups-php/OAuthAuthCode/src/",
            "UPS\\OAuthClientCredentials\\": "vendor/abantecart/ups-php/OAuthClientCredentials/src/",
            "UPS\\Paperless\\": "vendor/abantecart/ups-php/Paperless/src/",
            "UPS\\Pickup\\": "vendor/abantecart/ups-php/Pickup/src/",
            "UPS\\PreNotification\\": "vendor/abantecart/ups-php/PreNotification/src/",
            "UPS\\QuantumView\\": "vendor/abantecart/ups-php/QuantumView/src/",
            "UPS\\Rating\\": "vendor/abantecart/ups-php/Rating/src/",
            "UPS\\Shipping\\": "vendor/abantecart/ups-php/Shipping/src/",
            "UPS\\TForceFreightPickup\\": "vendor/abantecart/ups-php/TForceFreightPickup/src/",
            "UPS\\TForceFreightPickupCancel\\": "vendor/abantecart/ups-php/TForceFreightPickupCancel/src/",
            "UPS\\TForceFreightRating\\": "vendor/abantecart/ups-php/TForceFreightRating/src/",
            "UPS\\TForceFreightShipping\\": "vendor/abantecart/ups-php/TForceFreightShipping/src/",
            "UPS\\TimeInTransit\\": "vendor/abantecart/ups-php/TimeInTransit/src/",
            "UPS\\Tracking\\": "vendor/abantecart/ups-php/Tracking/src/",
            "UPS\\UPSTrackAlert\\": "vendor/abantecart/ups-php/UPSTrackAlert/src/"
        }
    }
}

This fixed it for me. Easiest solution might be to add this to the README.md.

authors: MichalOrm abolabo evs-xsarus graffxdesign icweb

repo: abantecart/ups-php


text:
Stickyness II - Rollback Works

1| The idea behind these two rollbacks is to make sure that everyone gets a his own LUW:
https://github.com/abap2UI5/abap2UI5/blob/1fba55457c6af0a7f38e425dad9d0bc72ebb1453/src/01/02/z2ui5_cl_core_http_post.clas.abap#L137-L139
abap2UI5 needs to save the actual context and does a commit here:
https://github.com/abap2UI5/abap2UI5/blob/main/src/01/01/z2ui5_cl_core_draft_srv.clas.abap#L79
if someone would do a create/modify etc. without doing a commit the abap2UI5 framework would accidentally save it to the database if i don't do the rollback work in L139.
So basically i just try to avoid side effects between abap2UI5 and the app implementation with these rollbacks.
Is my understanding here right / does this make sense from the perspective of an app implementation?
2| As far as i remember OData Handlers always do a commit in the end automatically, not exact sure how a pure HTTP handler behaves, but maybe the commit in L79 is not needed because the handler will do a commit in the end anyway?
3| Sticky Situation:
what is the use case exactly @christianguenter2 @mzinnoecker? Do you want to have one LUW between multiple roundtrips? Then i think i need to create some extra logic for the commit of the context in L79 (which is not needed in a sticky situation, we can just keep it until the next reqeuest).
As always, open for changes, i am sure i did not take every use case into account.

Use case would be pessimistic locking. Keeping LUW/locks between multiple roundtrips.

abap2UI5 needs to save the actual context and does a commit here:
this could also be solved with secondary db connection R/3*SAP_2TH_CONNECT_APPL_LOG, similar to BAL.

yes good idea, i created an extra issue for this and we can focus here on the rollbacks https://github.com/abap2UI5/abap2UI5/issues/1438
added now some logic with https://github.com/abap2UI5/abap2UI5/pull/1437
in sticky mode the rollbacks and commits are not used anymore. Means as far as i see it, it should theoretically keeping locks & LUW. You can give it a try and If possible just share a small sample with your use case similar to sample 137.

I created a sample to test locking and rollback. AFAIS it works as expected.
https://github.com/abap2UI5/abap2UI5-samples/pull/373

thank you for the PR! merged https://github.com/abap2UI5/abap2UI5-samples/pull/374
works on my side! i will use this sample in the future when i refactor to make sure that the lock functionality still works as expected. and you can just extend the sample if you need further functionality or reproduce problems there if you run into errors.
no cloud ready is no problem, as long as it runs on ABAP Dev 2022, just need it for functional tests.
maybe interesting for you, i steampunkifikated your snippet by copying the metainfo from eclipse and gave it to chat gpt:

then:

et voila:
https://github.com/abap2UI5/abap2UI5-samples/blob/main/src/z2ui5_cl_demo_app_135.clas.locals_imp.abap#L4
no need for manual work ;) and now the samples can still be imported to abap cloud (although your sample does not work)

Nice, yeah AI is taking our jobs ;-)
It's seems that both sticky samples point the same app? I assume accidentally?
https://github.com/abap2UI5/abap2UI5-samples/blob/83ec66100c4f54b185cea193095f8a8e42e5f784/src/z2ui5_cl_demo_app_000.clas.abap#L256-L270
Btw. what happened to this sample? I assume the tile can be removed?
https://github.com/abap2UI5/abap2UI5-samples/blob/83ec66100c4f54b185cea193095f8a8e42e5f784/src/z2ui5_cl_demo_app_000.clas.abap#L1961-L1967

ah yes fixed with https://github.com/abap2UI5/abap2UI5-samples/pull/375
and the messaging is now here:
https://github.com/abap2UI5-addons/custom-controls
commented the samples out, they are also part of the custom control repo now.

close this, everything else continue here https://github.com/abap2UI5/abap2UI5/issues/1327


text:
need help, AJSON deep structures

We want to convert JSON to ABAP types, see https://github.com/abapGit/abapGit/blob/a6685f03ca57f85cf88774acb567ee7c5d3a0ac0/src/objects/zcl_abapgit_ajson_cnt_handler.clas.abap#L57
Is it possible to handle deep structures with AJSON? We found tables and other types on the ajson Readme page, but what about the deep structures?
Thanks,
Albert

suggest making a small example, eg a REPORT that can be copy pasta'ed to reproduce the issue

AJSON does deep structures. // closing

authors: albertmink larshp

repo: abapGit/abapGit


text:
DEPRECATE and move this code to abaplint-abap-backend

see comments in https://github.com/abapGit/dependencies/issues/11#issuecomment-646428126
https://github.com/abaplint/abaplint-abap-backend

deprecated

repo: abapGit/dependencies


text:
List events by barrio per day

Current default is listing all by day.

I wasn't clear. Atm we have Day -> Barrios -> Events
I would like to have something like

Day -> Activity (Track) -> Events
and
Day -> Barrios -> Events

I was thinking more of a way to replace the Speakers listing with the barrio listing ...
I think this involves a bit of work on the xml file. I'll try to take care of this ...

I fixed this. now
Activities : Day -> Category -> Event
Host : Barrios -> Events

repo: abate/fosdem-companion-android


text:
Lack of server-render dependencies in packages.js

Hi.
You need server-render in dependencies list for server (api.use).

Sorry about that, fixed in 3.0.2

authors: abecks y-ich

repo: abecks/meteor-fast-render


text:
🛑 Tuwexinc API is down

In 5b8f3b8, Tuwexinc API (https://api.tuwexinc.com/health) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tuwexinc API is back up in f61eb37 after 8 minutes.

repo: abelfleitas/status


text:
Integration in HomeGenie software.

Just to let you know I integrated your library in https://github.com/genielabs/HomeGenie .
As I don't have any knx hardware can't tell if it's working like it should. Hope you like it.
Kind regards,
Gene.

sure, I'm glad it is useful for you
If you want, you might try to use eibd to do some tests
https://www.auto.tuwien.ac.at/~mkoegler/index.php/eibd
It allows you to emulate a KNX IP Router (Routing connection) or KNX IP Interface (Tunneling connection)
cheers
abel

authors: abelsilva genielabs


text:
Update Llama.cpp Submodule to #9fb13f

This pull request is small and simple: update the Llama.cpp submodule to #9fb13f. The submodule has been updated enough to include support for MoE models (such as the new Mixtral-8x7B-v0.1 that came out yesterday). I have tested this on WSL and it works with the quantized version of that model from TheBloke.

Hi @AuLaSW . I went through and tested your PR and it seems to work fine. I used mixtral-8x7b-Q5_K_M.gguf. Output is below. I also tested llama2 and mistral and they worked fine.
llama_model_loader: loaded meta data with 24 key-value pairs and 995 tensors from mixtral-8x7b-Q5_K_M.gguf (version GGUF V3 (latest))
llama_model_loader: - tensor    0:                token_embd.weight q5_K     [  4096, 32000,     1,     1 ]
llama_model_loader: - tensor    1:          blk.0.ffn_gate.0.weight q5_K     [  4096, 14336,     1,     1 ]
llama_model_loader: - tensor    2:          blk.0.ffn_down.0.weight q5_K     [ 14336,  4096,     1,     1 ]
llama_model_loader: - tensor    3:            blk.0.ffn_up.0.weight q5_K     [  4096, 14336,     1,     1 ]

llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output.
llama_model_loader: - kv   0:                       general.architecture str              = llama
llama_model_loader: - kv   1:                               [general.name](http://general.name/) str              = .
llama_model_loader: - kv   2:                       llama.context_length u32              = 32768
llama_model_loader: - kv   3:                     llama.embedding_length u32              = 4096
llama_model_loader: - kv   4:                          llama.block_count u32              = 32
llama_model_loader: - kv   5:                  llama.feed_forward_length u32              = 14336
llama_model_loader: - kv   6:                 llama.rope.dimension_count u32              = 128
llama_model_loader: - kv   7:                 llama.attention.head_count u32              = 32
llama_model_loader: - kv   8:              llama.attention.head_count_kv u32              = 8
llama_model_loader: - kv   9:                         [llama.expert](http://llama.expert/)_count u32              = 8
llama_model_loader: - kv  10:                    [llama.expert](http://llama.expert/)_used_count u32              = 2
llama_model_loader: - kv  11:     llama.attention.layer_norm_rms_epsilon f32              = 0.000010
llama_model_loader: - kv  12:                       llama.rope.freq_base f32              = 1000000.000000
llama_model_loader: - kv  13:                          general.file_type u32              = 17
llama_model_loader: - kv  14:                       tokenizer.ggml.model str              = llama
llama_model_loader: - kv  15:                      tokenizer.ggml.tokens arr[str,32000]   = ["<unk>", "<s>", "</s>", "<0x00>", "<...
llama_model_loader: - kv  16:                      tokenizer.ggml.scores arr[f32,32000]   = [0.000000, 0.000000, 0.000000, 0.0000...
llama_model_loader: - kv  17:                  tokenizer.ggml.token_type arr[i32,32000]   = [2, 3, 3, 6, 6, 6, 6, 6, 6, 6, 6, 6, ...
llama_model_loader: - kv  18:                tokenizer.ggml.bos_token_id u32              = 1
llama_model_loader: - kv  19:                tokenizer.ggml.eos_token_id u32              = 2
llama_model_loader: - kv  20:            tokenizer.ggml.unknown_token_id u32              = 0
llama_model_loader: - kv  21:               tokenizer.ggml.add_bos_token bool             = true
llama_model_loader: - kv  22:               tokenizer.ggml.add_eos_token bool             = false
llama_model_loader: - kv  23:               general.quantization_version u32              = 2
llama_model_loader: - type  f32:   65 tensors
llama_model_loader: - type q5_K:  913 tensors
llama_model_loader: - type q6_K:   17 tensors
llm_load_vocab: special tokens definition check successful ( 259/32000 ).
llm_load_print_meta: format           = GGUF V3 (latest)
llm_load_print_meta: arch             = llama
llm_load_print_meta: vocab type       = SPM
llm_load_print_meta: n_vocab          = 32000
llm_load_print_meta: n_merges         = 0
llm_load_print_meta: n_ctx_train      = 32768
llm_load_print_meta: n_embd           = 4096
llm_load_print_meta: n_head           = 32
llm_load_print_meta: n_head_kv        = 8
llm_load_print_meta: n_layer          = 32
llm_load_print_meta: n_rot            = 128
llm_load_print_meta: n_gqa            = 4
llm_load_print_meta: f_norm_eps       = 0.0e+00
llm_load_print_meta: f_norm_rms_eps   = 1.0e-05
llm_load_print_meta: f_clamp_kqv      = 0.0e+00
llm_load_print_meta: f_max_alibi_bias = 0.0e+00
llm_load_print_meta: n_ff             = 14336
llm_load_print_meta: n_expert         = 8
llm_load_print_meta: n_expert_used    = 2
llm_load_print_meta: rope scaling     = linear
llm_load_print_meta: freq_base_train  = 1000000.0
llm_load_print_meta: freq_scale_train = 1
llm_load_print_meta: n_yarn_orig_ctx  = 32768
llm_load_print_meta: rope_finetuned   = unknown
llm_load_print_meta: model type       = 7B
llm_load_print_meta: model ftype      = mostly Q5_K - Medium
llm_load_print_meta: model params     = 46.70 B
llm_load_print_meta: model size       = 29.93 GiB (5.50 BPW)
llm_load_print_meta: [general.name](http://general.name/)     = .
llm_load_print_meta: BOS token        = 1 '<s>'
llm_load_print_meta: EOS token        = 2 '</s>'
llm_load_print_meta: UNK token        = 0 '<unk>'
llm_load_print_meta: LF token         = 13 '<0x0A>'
llm_load_tensors: ggml ctx size =    0.39 MiB
llm_load_tensors: using CUDA for GPU acceleration
llm_load_tensors: mem required  = 21128.36 MiB
llm_load_tensors: offloading 10 repeating layers to GPU
llm_load_tensors: offloaded 10/33 layers to GPU
llm_load_tensors: VRAM used: 9518.71 MiB
....................................................................................................
llama_new_context_with_model: n_ctx      = 512
llama_new_context_with_model: freq_base  = 1000000.0
llama_new_context_with_model: freq_scale = 1
llama_new_context_with_model: KV self size  =   64.00 MiB, K (f16):   32.00 MiB, V (f16):   32.00 MiB
llama_build_graph: non-view tensors processed: 1124/1124
llama_new_context_with_model: compute buffer total size = 117.85 MiB
llama_new_context_with_model: VRAM scratch buffer: 114.54 MiB
llama_new_context_with_model: total VRAM used: 9633.25 MiB (model: 9518.71 MiB, context: 114.54 MiB)
AVX = 1 | AVX2 = 1 | AVX512 = 0 | AVX512_VBMI = 0 | AVX512_VNNI = 0 | FMA = 1 | NEON = 0 | ARM_FMA = 0 | F16C = 1 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 1 | SSE3 = 1 | SSSE3 = 1 | VSX = 0 |

llama_print_timings:        load time =    3605.30 ms
llama_print_timings:      sample time =      31.00 ms /   139 runs   (    0.22 ms per token,  4484.45 tokens per second)
llama_print_timings: prompt eval time =    3605.24 ms /    22 tokens (  163.87 ms per token,     6.10 tokens per second)
llama_print_timings:        eval time =   26828.24 ms /   138 runs   (  194.41 ms per token,     5.14 tokens per second)
llama_print_timings:       total time =   30731.81 ms

I'm looking at getting one of these soon and I have two questions that need to be answered. First how much power does the stock turbo make on the supra, is it true it has less boost then my 90 celica gt (12psi). Secondly what are some good bolt-on mods for this car. What kind of power can I get from a full exhaust and maybe a chip? How about an intercooler?

Thanks in advance.

------------------
Glenn
90 Celica gt, 15psi, HKS cams, B&M FPR, Full Exhaust

Does this also cover #1000? I read through it and it seems like it would.

I believe it does

I love it!

Please merge it! 🙏

@AuLaSW thank you for this! I've merged the latest llama.cpp release into main and published a new release (v0.2.23) to pypi.

Tested new release, seems good.

authors: AuLaSW abetlen mclassen pabl-o-ce shell-skrimp

repo: abetlen/llama-cpp-python


text:
Adding a Registration and Login System using Java

Prerequisites

[X] I am a GSSoC-22 Participant
[X] I checked to make sure that this issue has not already been filed

Description
A Simple registration and login system. The user's credentials will be stored in a file and if login details are not found then the user is told to register. The entered credentials will then get stored in a file.
Tech Stack
Java

@LiQuiD-404 Go for it. Good Luck 👍

closed with #484


text:
Add SDM 2021

Hi, I think that SDM is also a leading conference in the field of data mining (https://www.siam.org/conferences/cm/conference/sdm21). Below is its information on the conferenceranks.com.

Thanks!

repo: abhshkdz/ai-deadlines


text:
🛑 Kab. Kayong Utara is down

In adaf73c, Kab. Kayong Utara (https://kayongutarakab.go.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kab. Kayong Utara is back up in f09125a after 38 minutes.

repo: abimanyu/Kalbarnetworks


text:
🛑 DISKOMINFO is down

In b3767e0, DISKOMINFO (https://diskominfo.kalbarprov.go.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DISKOMINFO is back up in 5e77629 after 2 days, 22 hours, 8 minutes.


text:
Raw Lidar Data

Is it possible to get raw Lidar data using Webrtc? The same as in "/utlidar/cloud" in CycloneDDS connection. By default /point_cloud2 has processed data and points are structured. My goal is to get access to unprocessed raw point cloud.

I am not sure if it's technically possible, but it would be nice for Edu version with Jetson to somehow configure CycloneDDS to forward all ROS2 topics from LAN connection (main GO2 board) to Wi-Fi connection (via external module). I am new to CycloneDDS, but I suppose such bridge is possible to configure. It would allow us to have access to all ROS2 topic on workstation connected to same Wi-Fi. If you have any ideas how to do it or have hits, I will try it.

It is possible to do this if you have access to the internal Ubuntu system. Currently, Unitree prevents logging in to the Linux system.


text:
Crare albo POP di Pompei

Il punto di partenza sarà questa tabella http://blog.spaziogis.it/static/ods/data/albopop/pompei/tabella.html
La pagina ufficiale dell'albo è questa , ma è di quelle pagine sorgenti poco usabili.
Ho creato quindo una pagina con la sola tabella con la "ciccia", che si aggiornerà ogni 15 minuti. I link di "Visione Pubblicazione" non funzionano, ma contengono dentro i dati per creare l'URL univoco al post singolo che ha questa struttura:
http://asp.urbi.it/urbi/progs/urp/ur1ME001.sto?StwEvent=102&DB_NAME=n200386&IdMePubblica=3687&Archivio=
L'occasione è buona per il benvenuto a @gdemartino, che si occuperà di questo albo.

@gdemartino hanno aggiornato il motore dell'albo per il 2016. Adesso è http://hosting.soluzionipa.it/pompei/albo/albo_dettagli.php?id=511
Su questo le nostre tecniche classiche vanno più che bene. Ti scrivo presto, ma ti volevo documentare la cosa. Non serve più la mia tabella ponte.

repo: aborruso/albo-pop


text:
HUP-01 Como paciente Eu quero marcar consultas online Para que eu não precise sair de casa e ir a locais físicos me consultar.

Critérios de aceitação:

Deve ser disponibilizado um calendário para o paciente selecionar o dia da consulta.
Deve ser disponibilizado ao paciente apenas horários disponíveis.
Deve ser disponibilizado ao paciente um campo onde ele deve escrever o motivo prévio da consulta.
Deve ser fornecido ao usuário uma tela com todos os dados informados por ele, para que ele possa confirmar todas as informações.
O paciente deve ser cadastrado e verificado na plataforma.

Regras de Negócio:

Todas as consultas online devem ser asseguradas através da Lei da Telemedicina (Lei nº 14.510) que estabelece os critérios para atendimento médico a distância.

#Erros encontrados

Não informa se o paciente pode editar as informações caso estejam erradas antes de confirmar o agendamento de uma consulta
O primeiro critério não especifica como será disponibilizado o calendário.
Conforme o quinto critério, não é informado como vai ser realizado o cadastro e a verificação. Especificar como serão realizados seria útil.
A história em questão apresentou no critério 2 apenas a possibilidade de horários disponíveis, sendo que é necessário também verificar os dias disponíveis para consulta no calendário.

Critério 1  - Alterado para "Deve ser disponibilizado um calendário para o paciente selecionar o dia da consulta a partir do botão de marcar consultas aparecendo outro botão de calendário com dias disponíveis. "
Critério 2 - Alterado para " Deve ser disponibilizado ao paciente apenas horários e datas disponíveis."
Adicionado mais um Critério - "O paciente deve poder editar as informações caso estejam erradas antes de confirmar o agendamento da consulta."

repo: abreulucass/APP-WebDoctors