Compare the running speed of th_op and cpp version gpt

By aligning the running parameters, I compared the running speed of build/bin/multi_gpu_gpt_example (compiled by examples/cpp/multi_gpu_gpt/multi_gpu_gpt_example.cc) with examples/pytorch/gpt/multi_gpu_gpt_example.py.
I'm confused why the th_op version is running faster, please some advice. Using gpt2 medium
Here are running logs for multi_gpu_gpt_example
[WARNING] gemm_config.in is not found; using default GEMM algo
after allocation    : free: 19.02 GB, total: 23.65 GB, used:  4.63 GB
Writing 17920 elements
   12     9    36    90    11    93    78    27    14    49
zeroCount = 0
[INFO] request_batch_size 32 beam_width 4 head_num 16 size_per_head 64 total_output_len 140 decoder_layers 24 vocab_size 50257 FT-CPP-decoding-beamsearch-time 492.30 ms

Running logs for multi_gpu_gpt_example.py.
=================== Arguments ===================
layer_num.....................: 24
input_len.....................: 60
output_len....................: 80
head_num......................: 16
size_per_head.................: 64
vocab_size....................: 50257
beam_width....................: 4
top_k.........................: 1
top_p.........................: 0.5
temperature...................: 1.0
len_penalty...................: 0.0
beam_search_diversity_rate....: 0.0
tensor_para_size..............: 1
pipeline_para_size............: 1
ckpt_path.....................: ../models/fasttransformer-gpt2-medium/1-gpu/
lib_path......................: ./lib/libth_transformer.so
vocab_file....................: ../models/gpt2-medium/vocab.json
merges_file...................: ../models/gpt2-medium/merges.txt
start_id......................: 50256
end_id........................: 50256
max_batch_size................: 32
repetition_penalty............: 1.0
presence_penalty..............: 0.0
min_length....................: 0
max_seq_len...................: 1024
inference_data_type...........: fp16
time..........................: True
sample_input_file.............: None
sample_output_file............: None
enable_random_seed............: False
skip_end_tokens...............: False
detokenize....................: True
use_jieba_tokenizer...........: False
int8_mode.....................: 0
weights_data_type.............: fp32
return_cum_log_probs..........: 0
shared_contexts_ratio.........: 1.0
banned_words..................:
use_gpt_decoder_ops...........: False
=================================================
......
[INFO] GPT time costs: 366.62 ms

Please provide reproduced steps.

py command as blew
python ../examples/pytorch/gpt/multi_gpu_gpt_example.py \
        --max_seq_len 512 \
        --beam_width 4 \
        --head_num 16 \
        --size_per_head 64 \
        --layer_num 24 \
        --vocab_size 50257 \
        --inference_data_type fp16 \
        --top_k 1 \
        --top_p 0.5 \
        --tensor_para_size 1 \
        --pipeline_para_size 1 \
        --max_batch_size 32 \
        --input_len 60 \
        --output_len 80 \
        --ckpt_path ../models/fasttransformer-gpt2-medium/1-gpu/ \
        --vocab_file ../models/gpt2-medium/vocab.json \
        --merges_file ../models/gpt2-medium/merges.txt \
        --time

config.ini for multi_gpu_gpt_example
[ft_instance_hyperparameter]
max_batch_size = 8
max_seq_len = 512
beam_width = 4
top_k = 1
top_p = 0.5
temperature = 1.0
tensor_para_size = 1
pipeline_para_size = 1
data_type = fp16
sparse = 0
int8_mode = 0
enable_custom_all_reduce = 0
model_name = tmp_model
model_dir = ../models/fasttransformer-gpt2-medium/1-gpu/
repetition_penalty = 1.0
len_penalty = 0.0
beam_search_diversity_rate = 0.0

[request]
request_batch_size = 32
request_output_len = 80
return_log_probs = false
context_log_probs = false
remove_padding = true
context_embeddings = true

[tmp_model]
head_num = 16
size_per_head = 64
inter_size = 4096
vocab_size = 50257
decoder_layers = 24
start_id = 50256
end_id = 50256

Please provide the "end to end steps" to reproduce your issues, including the env settings, the input preparing, and so on.

I do the above work in the docker containe, built from docker/Dockerfile.torch.
Run the compiled program directly without changing the contents of container.

I don't know which branch do you use, how do you generate the input ids, where do you get the model and why your config
max_batch_size = 8
max_seq_len = 512
beam_width = 4
top_k = 1
top_p = 0.5
temperature = 1.0
tensor_para_size = 1
pipeline_para_size = 1
data_type = fp16
sparse = 0
int8_mode = 0
enable_custom_all_reduce = 0
model_name = tmp_model
model_dir = ../models/fasttransformer-gpt2-medium/1-gpu/
repetition_penalty = 1.0
len_penalty = 0.0
beam_search_diversity_rate = 0.0

don't have some parameters like shared_contexts_ratio in https://github.com/NVIDIA/FasterTransformer/blob/main/examples/cpp/multi_gpu_gpt/gpt_config.ini#L31. So, please provide the end to end steps to reproduce your question.

I'm struggling to figure out my environment and the differences in code versions.
Can you provide the running speed of these two programs with the same parameters in your environment ?

Assume we have build the project and in build folder:

prepare the models

wget https://s3.amazonaws.com/models.huggingface.co/bert/gpt2-vocab.json -P ../models
wget https://s3.amazonaws.com/models.huggingface.co/bert/gpt2-merges.txt -P ../models
wget --content-disposition https://api.ngc.nvidia.com/v2/models/nvidia/megatron_lm_345m/versions/v0.0/zip -O megatron_lm_345m_v0.0.zip
mkdir -p ../models/megatron-models/345m
unzip megatron_lm_345m_v0.0.zip -d ../models/megatron-models/345m

PYTHONPATH=$PWD/../ python ../examples/pytorch/gpt/utils/megatron_ckpt_convert.py \
        -head_num 16 \
        -i ../models/megatron-models/345m/release/ \
        -o ../models/megatron-models/c-model/345m/ \
        -t_g 1 \
        -i_g 1 \
        --vocab-path ../models/gpt2-vocab.json \
        --merges-path ../models/gpt2-merges.txt

run c results:

bhsueh@342094f67f67:/home/scratch.bhsueh_sw/FasterTransformer_new/h100_build$ ./bin/multi_gpu_gpt_example .tmp.config.ini ./tmp.csv

Total ranks: 1.
P0 is running with 0 GPU.
Device NVIDIA H100 PCIe
[FT][WARNING] Skip NCCL initialization since requested tensor/pipeline parallel sizes are equals to 1.
[WARNING] gemm_config.in is not found; using default GEMM algo
after allocation    : free: 77.77 GB, total: 79.18 GB, used:  1.41 GB
Writing 17920 elements
    2    37    87    97    57    66    21    57    15    48
zeroCount = 0
[INFO] request_batch_size 32 beam_width 4 head_num 16 size_per_head 64 total_output_len 140 decoder_layers 24 vocab_size 50257 FT-CPP-decoding-beamsearch-time 233.69 ms

run pytorch results:

final latency:
[INFO] GPT time costs: 218.58 ms

  full logs of pytorch
python ../examples/pytorch/gpt/multi_gpu_gpt_example.py \
        --max_seq_len 512 \
        --beam_width 4 \
        --head_num 16 \
        --size_per_head 64 \
        --layer_num 24 \
        --vocab_size 50304 \
        --inference_data_type fp16 \
        --top_k 1 \
        --top_p 0.5 \
        --tensor_para_size 1 \
        --pipeline_para_size 1 \
        --max_batch_size 32 \
        --input_len 60 \
        --output_len 80 \
        --ckpt_path ../models/megatron-models/c-model/345m/1-gpu/ \
        --vocab_file ../models/gpt2-vocab.json \
        --merges_file ../models/gpt2-merges.txt \
        --time

bhsueh@342094f67f67:/home/scratch.bhsueh_sw/FasterTransformer_new/h100_build$ python ../examples/pytorch/gpt/multi_gpu_gpt_example.py \
>         --max_seq_len 512 \
>         --beam_width 4 \
>         --head_num 16 \
>         --size_per_head 64 \
>         --layer_num 24 \
>         --vocab_size 50304 \
>         --inference_data_type fp16 \
>         --top_k 1 \
>         --top_p 0.5 \
>         --tensor_para_size 1 \
>         --pipeline_para_size 1 \
>         --max_batch_size 32 \
>         --input_len 60 \
>         --output_len 80 \
>         --ckpt_path ../models/megatron-models/c-model/345m/1-gpu/ \
>         --vocab_file ../models/gpt2-vocab.json \
>         --merges_file ../models/gpt2-merges.txt \
>         --time
Loading layer_num from config.ini,    previous: 24,    current: 24
Loading max_seq_len from config.ini,    previous: 512,    current: 1024
Loading weights_data_type from config.ini,    previous: fp32,    current: fp32
Loading head_num from config.ini,    previous: 16,    current: 16
Loading size_per_head from config.ini,    previous: 64,    current: 64
Loading tensor_para_size from config.ini,    previous: 1,    current: 1

=================== Arguments ===================
layer_num.....................: 24
input_len.....................: 60
output_len....................: 80
head_num......................: 16
size_per_head.................: 64
vocab_size....................: 50304
beam_width....................: 4
top_k.........................: 1
top_p.........................: 0.5
temperature...................: 1.0
len_penalty...................: 0.0
beam_search_diversity_rate....: 0.0
tensor_para_size..............: 1
pipeline_para_size............: 1
ckpt_path.....................: ../models/megatron-models/c-model/345m/1-gpu/
lib_path......................: ./lib/libth_transformer.so
vocab_file....................: ../models/gpt2-vocab.json
merges_file...................: ../models/gpt2-merges.txt
start_id......................: 50256
end_id........................: 50256
max_batch_size................: 32
repetition_penalty............: 1.0
presence_penalty..............: 0.0
min_length....................: 0
max_seq_len...................: 1024
inference_data_type...........: fp16
time..........................: True
sample_input_file.............: None
sample_output_file............: None
enable_random_seed............: False
skip_end_tokens...............: False
detokenize....................: True
use_jieba_tokenizer...........: False
int8_mode.....................: 0
multi_block_mode..............: 0
rotary_embedding..............: 0
neox_rotary_style.............: False
weights_data_type.............: fp32
return_cum_log_probs..........: 0
shared_contexts_ratio.........: 1.0
banned_words..................:
use_gpt_decoder_ops...........: False
=================================================

[WARNING] gemm_config.in is not found; using default GEMM algo
[FT][WARNING] Skip NCCL initialization since requested tensor/pipeline parallel sizes are equals to 1.
[FT][INFO] Device NVIDIA H100 PCIe
[INFO] batch 0, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 0, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 0, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 0, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 1, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 1, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 1, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 1, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 2, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 2, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 2, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 2, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 3, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 3, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 3, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 3, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 4, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 4, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 4, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 4, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 5, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 5, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 5, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 5, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 6, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 6, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 6, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 6, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 7, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 7, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 7, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 7, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 8, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 8, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 8, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 8, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 9, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 9, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 9, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 9, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 10, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 10, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 10, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 10, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 11, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 11, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 11, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 11, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 12, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 12, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 12, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 12, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 13, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 13, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 13, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 13, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 14, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 14, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 14, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 14, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 15, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 15, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 15, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 15, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 16, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 16, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 16, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 16, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 17, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 17, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 17, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 17, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 18, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 18, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 18, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 18, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 19, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 19, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 19, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 19, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 20, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 20, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 20, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 20, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 21, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 21, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 21, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 21, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 22, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 22, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 22, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 22, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 23, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 23, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 23, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 23, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.

The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 25, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 25, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 25, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 26, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 26, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 26, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 26, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 27, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 27, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 27, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 27, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 28, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 28, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 28, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 28, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 29, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 29, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 29, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 29, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 30, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 30, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 30, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 30, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] batch 31, beam 0:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last decade

[INFO] batch 31, beam 1:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled over the last decade

[INFO] batch 31, beam 2:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the last 10

[INFO] batch 31, beam 3:
[Context]
<|endoftext|>

[Output]
A new study has found that the number of people in the U.S. who have been diagnosed with Alzheimer's disease has more than doubled in the last decade, according to a new study published in the journal Neurology.
The study, published in the journal Neurology, found that the number of people with Alzheimer's disease in the U.S. has more than doubled in the past decade

[INFO] GPT time costs: 218.58 ms

PyTorch would be little faster because we don't have option to let the pytorch example generate different random inputs now.

Thank you for your reply.
According to your reply, the variety of inputs affects the speed of inference. When using the same input, the inference speed of the two programs should be the same, which means that the pytorch wrapper hardly affects the reasoning speed.
If there is no problem with this conclusion, you have solved my doubts, thanks again.
I will close this issue after getting your reply


efConstruction and M

Thanks for great work！
In the paper, to find the neighbors of each node, you need to first find efConstruction candidate neighbors by SEARCH_LAYER function. Then find M neighbors among the candidate neighbors for connection by SELECT_NEIGHBORS_HEURISTIC function. So you need efConstruction to be always greater than M. But why in the experiment, your ef Construction appears to be less than M.

When efContrcution is less than M, how is it finding neighbors

Hi @ljn-aaa. ef_costruction cannot be lower than M. It is enforced in the code https://github.com/nmslib/hnswlib/blob/443d667478fddf1e13f2e06b1da4e1ec3a9fe716/hnswlib/hnswalg.h#L38

Thanks for your reply！


Problems with VSync and display modes

VSync is force enabled in Fullscreen Borderless and Windowed mode. I came to this conclusion since the two modes cannot produce any screen tearing while Exclusive (that is, Fullscreen Exclusive and Windowed Fullscreen Exclusive) can:

This results in much lower FPS in Fullscreen Borderless/Windowed mode. I was able to reproduce the difference by Alt+Tab out of the game window while in those 2 modes (while standing still in the position that you spawns on after teleporting to the Alcor):

My assumption is that that VSync is dropped off after I moved out of the game window, resulting in the FPS increase.

Opening a new program while in-game using Exclusive mode (e.g. Win+1 to open File Explorer), or using Alt+Tab right after clicking the Teleport button, causes the game to freeze.

Problems above persist in both the stable version (22000.856) and the Insider version (22621.575) of Windows 11 that I have moved to.
For additional information, I use a Zephyrus G15 with a RTX 3080 and an AMD Ryzen 9 5900HS. Since Optimus cannot be enabled, rendered frames from the NVIDIA card must first go through the integrated GPU before being displayed on the screen.

I can confirm this. I am having this same issue on my desktop, however, I can also replicate it in fullscreen exclusive mode. The game does not obey vsync off in either the Nvidia control panel, in-game, or in the fps unlocker. Alt-Tabbing is required to force it off and it turns itself back on immediately after teleporting to another area.


Deprecation of {view} in Ember 1.13

Using {{view}} or any path based on it (application/templates/components/liquid-modal.hbs' @ L4:C6) has been deprecated. [deprecation id: view.keyword.view]
See http://emberjs.com/deprecations/v1.x#toc_view-and-controller-template-keywords for more details.

Yes, this is the final deprecation I'm working on before I ship liquid-fire-2.0-beta.0.


wiki local install instructions & test & basic features done

tutorial

[ ] start JSX in ZOS container or in Docker (use our installer with -w option)
[ ] call script which will start required components
[ ] as example checkout the TF Foundation wiki's (grid, ...)
[ ] test the wiki page responds (some http get test to the web page)
[ ] create documentation where wiki's are and how to be reached
[ ] point to docu for macros (see if docu for macro's good enough)
[ ] explain how to use the errors page

wiki features

[x] #195 link features wiki
[x] #196 include features wiki

branch=development_types

child of #166

this is not a child of #166

start JSX in ZOS container or in Docker (use our installer with -w option)
call script which will start required components
as example checkout the TF Foundation wiki's (grid, ...)
test the wiki page responds (some http get test to the web page)

All of this is done and working, for automated testing, the whole publishing platform will have their own tests (QA).
Here are some links to documentations:

Wikis
Macros
Errors document

Developer documentation are still in progress (many new changes are made with a new tool called open_publish).

Closing as other newer issues are tracking the progress instead:

https://github.com/threefoldtech/home/issues/162
https://github.com/threefoldtech/home/issues/166
https://github.com/threefoldtech/digitalmeX/issues/42
https://github.com/threefoldtech/digitalmeX/issues/44


chore(server): close server when exiting

#1076

And this patch does not seem to fix the issue #1076 .


Fix selection of multiple fields in body

Also adds additional tests for field selections with more than one field.

Lgtm


Critical Bug : [Queries Returning Wrong Results]While writing Slice bytes (Queries operating on Varchar/VarBinary/Slice will produce wrong result, If their binary Representation is not UTF-8 compatible)

Reproduce the Bug Steps:
1.Run the following queries
A.presto:default>        select length(from_base64('gw==')) as len;
len
1
(1 row)
B. presto:default>      select length(haha) as len from (select from_base64('gw==') as haha);
len
3
(1 row)
Here Same query giving different result.Critical bug If one is storing UTF-8 Incompatible bytes,For example here from_base64('gw==') = {-125} in byte representation.

If you explain the two queries, they both result in constant plans, so I think this is a bug in the constant folder.


Display the name of the cucumber or allure step directly on top of the screen

There is a proposal to display text over the screen. It would be possible to display the name of the cucumber or allure step directly on top of the screen, so that it would be better to understand which step has now been performed or what condition is expected.

@devmaster-st do you mean on video screen?

Yes. Да
ср, 10 февр. 2021 г., 17:47 Ivan Krutov<EMAIL_ADDRESS>
@devmaster-st https://github.com/devmaster-st do you mean on video
screen?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aerokube/selenoid-ui/issues/411#issuecomment-776757457,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE4GBIWLXYNJACLCWM2I4NTS6KL7TANCNFSM4XMQKRIQ
.

Duplicate of aerokube/selenoid#685.


support local-address for fixed address to listen

Add support for fixed address to have the dhcp server listen on.

   # Add to /etc/dhcp/dhcpd.conf
local-address <IP_ADDRESS>;

You should just be able to define node['dhcp']['parameters']['local-address'] in either a wrapper cookbook, role or as a node attribute directly on the node.


code refactoring for the run button

move the logic for updating the run button UI from the editor code to the playground class
have the regular run button (non-error, non-warning) use a color of #aaa. The green color looked a bit too muted.

@kasperpeulen

Maybe use this color green #5eaf5e?

Maybe use this color green #5eaf5e?

I'd like to stick to the regular button text color for now; it'll be more consistent with the rest of the UI. Once we're more officially following the material design guidelines, the whole button color will likely be our accent color.


Update qemu-enter-token.html to use "tel" input type, instead of "text"

Allows for much more convenient mobile input of the purely numerical code.
On mobile, the "tel" input type instructs the keyboard to default to numerical input.
With the "text" input type the normal keyboard is displayed. More buttons have to be pressed to be able to input numeric values.

As I recall, changing the type to tel breaks the CSS; some minor additional adjustment would be needed on top of this.
(Additionally, on iOS you already get numeric input; it recognises the numeric-only pattern restriction and provides an appropriate keyboard.)

I didn't know it already worked on iOS. Definitely makes sense to adjust the keyboard based on a regex pattern.
I should have probably said "android" instead of "mobile" earlier. Sorry :)
I have made the required minor adjustments in the mobile.css file.

I'd probably be inclined to just add input[type=tel] to the main set; there's no reason I'd ever want tel fields to look different.

Ok, I have made the changes in common.css.

Is there anything else that needs changing?

Sorry, this should be good to go — I've just been too busy to test and verify. :(


Added namespace and 1 extra (optional) argument

I suggest adding a namespace and an option to pass PDO object as an argument instead of $options. That way developers have more freedom.

Some personal suggestions.

$externalPDO coule a key/value pair in $options so the interface of the constructor remains.
Lots of tabs/spaces changes?
Recently, there was a issue to add namespace for Twig but rejected. The reason is, it helps nothing and currently Twig works fine. I do not know how Medoo thinks though.

Namespace is now supported on v1.2.


Support for reading Maps

This one contains the previous PR on StrMap as well. If you want both just merge this one.

I guess this can be closed, I'll try to just read records with uppercase keys via https://github.com/paf31/purescript-foreign-generic/pull/32


Range and stack additional props / Better decimal formatting

Provides label prop for y-axis and the "other" group
Provides better handling of decimals by calculating the increment value (how much the ticks go up by) and then formatting based on that number
Provides min and maximum values for y-axis with victory update

ex: you have<PHONE_NUMBER>.01 and<PHONE_NUMBER>0.02 as the min and max y axis values and 12 ticks, which means the increment would be 0.01/12 = 0.00083333333. This means you would want the decimals likely to show the change at a granularity of 0.0008 or to 4 decimal places.
Images

Nice, this is looking real close regarding the units. Just find that adding a max value and removing it makes all the y-axis ticks 0 again.

Nice, this is looking real close regarding the units. Just find that adding a max value and removing it makes all the y-axis ticks 0 again.

Removed the min / max since the other behavior is more important to get through at this time


Import 3D mesh

Hello,
I have a 3D mesh of a combustion chamber. I want to import it in PeleLMex. Please help me.  Is there any entry I can make in the input file?
Thank you

You can look into AMReX's capabilities with STL files.  You will likely run into issues being able to coarsen the geometry to produce a sufficient number of levels for the multigrain solver to perform well, depending on the complexity of your geometry.  However, we are in the process of adding an AMG-based solver capability to PeleLMeX which may help with that aspect.  Perhaps you can create a fork of the repo and include the geometry information and forward a link?  If so, we can try to include your case in our testing.

A few nots beyond what @drummerdoc said:

Right now you'll probably run into issues with the addFineLevels function not being supported for STL geometries. See the linked AMReX pull request for details on how to deal with hat.
You can see the example STL case that was added in PeleC, the setup in LMeX should be similar: https://github.com/AMReX-Combustion/PeleC/pull/771
Complex geometries using STL files are an ongoing are of development and may not be stable yet. Building up from basic shapes using AMReX EB functions may be easier if possible

@drummerdoc  Thank you sir,  the case is :- I have a Cylindrical shape with with smaller cylinders attached to it, from where the CH4 and pilot flame enters.  If you are in the process of  adding the geometry  capabilities please look into the .3mf format (https://3mf.io/). I have been trying to add this into OpenFOAM. This format does not support non-orthogonal edges by design.  I will add the geometry and create the pull request.
@baperry2  Oh! There are two codes, which one is better for diffusion flames and spray combustion?? I will try to perform my case in PeleC too.

If your geometry is just a combination of different cylinders, you should definitely just use the capability to build your geometry up from simple shapes, see documentation:

https://amrex-combustion.github.io/PeleLMeX/manual/html/LMeXControls.html#embedded-geometry
https://amrex-codes.github.io/amrex/docs_html/EB.html

Both codes can support that use case. As the names imply, LMeX if preferred for low Mach number cases and C is preferred for fully compressible cases, although there are some other subtleties in specific capability differences between the codes.


Actually use the bucket and org from config file

Please see issue #25.

Oh my, that's a bit silly of me, thanks for noticing. Will review later tonight!

I did a slightly more elegant fix in d775d3c56c999417197c4f0f73a3880f5b76ccfa. Most of the options are already recorded in the client, so at the time of write we just need to specify the bucket.


Possible Inverse Behavior

https://github.com/gswly/mavp2p/blob/f1528741c681060fc5999bec73f77651204e53c2/main.go#L94
https://github.com/gswly/mavp2p/blob/f1528741c681060fc5999bec73f77651204e53c2/main.go#L194
When the print-errors flag is set, the pointer will be true and the goroutine won't run and errors won't be printed.

Hello, thanks for the report, effectively the flag is not clear enough. This is the desired behavior:

when mavp2p is launched with the default options, and errors are detected, their quantity is printed every 5 seconds, and that's what that goroutine does, i.e:

20 errors in the last 5 seconds

when mavp2p is launched with --print-errors, and errors are detected, every single error is printed individually:

ERR: wrong magic byte \x45
ERR: wrong magic byte \x48

when mavp2p is launched with --quiet, and errors are detected, errors are not printed.

Please note that parse errors are quite common, since Mavlink is usually routed through radio signals, serial ports and UDP, and none of those has a validation mechanism.
Moreover, the stream is usually already started when we launch mavp2p, so we usually start reading in the middle of a frame, and we must discard every byte up to the magic byte (the byte that signals the start of a frame) of the next frame.
Suggestions are welcome.


On calling setSelectableDays datepicker is showing next day date. is this TimeZone issue?

You're going to need to give some more background.
Preferably also show the snippet of code where you initialize the dialog.


Q: How to load modules from eszip files?

Similar to #15, I'm also looking for more information about actual usage of this library, especially on how to load modules from generated eszip files. My understanding is that the JS code inside lib/ only provides the primitives to a) turn ES modules into the eszip container format and b) parse generated eszip files. What I found a bit confusing is that b) seems to be limited to reading a container's content without being able to access modules themselves.
As far as I know, the only way to actually use/load modules from a eszip file is to write a custom loader using Rust, which is what deno compile does. Please correct me if I'm wrong.
The main reason why I'm asking: Netlify seems to use eszip to bundle code in different stages, which makes me think that they must be using some custom Deno loader code behind the scenes. Without it, there seems to be no way to make use of the generated stage files other than writing my own loader in Rust, right? 🤔

Currently eszip is an internal utility and there's no way to load files from it using Deno - the only way would be to compile a binary yourself and add a custom loader as you've noticed.
What is your use case for eszips?

The main reason why I'm asking: Netlify seems to use eszip to bundle code in different stages, which makes me think that they must be using some custom Deno loader code behind the scenes. Without it, there seems to be no way to make use of the generated stage files other than writing my own loader in Rust, right?

@mlafeldt Netlify uses Deno Deploy Subhosting to execute their Edge Functions. Deno Deploy Subhosting has the ability to load multi layered eszip files.

Deno Deploy Subhosting has the ability to load multi layered eszip files.

That's good to know! Now it makes sense.
In the meantime, I was able to mimic Netlify's stage loaders without using eszip. (I might still write a Rust loader in the future just out of curiosity.)
Ah, and I also found this hidden gem in the repo:
❯ deno run -A --no-check https://raw.githubusercontent.com/denoland/eszip/main/lib/eszip.ts ls playground/stage1.eszip
Loading eszip v2
<EMAIL_ADDRESS>netlify:bootstrap-stage1
...

So I'm good. 😄  Thank you both for your help.


JSON schemas excercises have incorrect imported function

http://localhost:4006/json-schemas/exercises/write-data?--defaults
should be validate instead of validation OR the export should be changed
import { validate } from '../../../lib/validation.js';
import { schema } from './schema.js';
const data = {};
validate(schema, data);

@colevandersWands

@danielhalasz , thanks for pointing this out!  I just renamed the exported function in /lib/validation.js, it was the right path but I forgot to update the function


eglot error checking not working on .vue files

I have installed the vls server and I am using the following snippet in my private config to set it up.
(define-derived-mode vk-vue-mode web-mode "vkVue"
  "A major mode derived from web-mode, for editing .vue files with LSP support.")
(add-to-list 'auto-mode-alist '("\\.vue\\'" . vk-vue-mode))
(add-hook 'vk-vue-mode-hook #'eglot-ensure)
(after! eglot
  (add-to-list 'eglot-server-programs
               '(vk-vue-mode . ("vls" "--stdio")))
  (add-to-list 'eglot-server-programs
               '(typescript-mode . ("typescript-language-server" "--stdio"))))

The server starts up automatically when I open .vue files, code completion etc. is okay.
However syntax/error checking is not working. The modeline status is stuck on the loading clock symbol, errors are not displayed.
flycheck-verify-setup shows that it is enabled and uses eglot. But it doesn't work for some reason.

I get the following warning when opening a .vue file
Warning [flymake App.vue]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
I am not sure if it's related though since flymake is not supposed to be used anyway?

Probably fixed by #4471


Out of Memory Error While training on large dataset

Hi I am training on voc2012 dataset with around 5717 training and 5824 validation examples. After few epochs the system kills the training process. The system logs are attached. The environment details are as below,
OS: Ubuntu 18.04
GPU: 1080 Ti
Cuda: v10.0 with Cudnn v7.3.1
GPU Driver: v410.104

Hi I am training on voc2012 dataset with around 5717 training and 5824 validation examples. After few epochs the system kills the training process. The system logs are attached. The environment details are as below,
OS: Ubuntu 18.04
GPU: 1080 Ti
Cuda: v10.0 with Cudnn v7.3.1
GPU Driver: v410.104

That's strange, are you sure the libraries of cuda, cudnn are loaded successfully and you are in fact using GPU? Other than that, if you are using GPU, just restrict it's usage with the following code:
gpus = tf.config.experimental.list_physical_devices('GPU')
if gpus:
  # Restrict TensorFlow to only allocate 3GB of memory on the first GPU
  try:
    tf.config.experimental.set_virtual_device_configuration(
        gpus[0],
        [tf.config.experimental.VirtualDeviceConfiguration(memory_limit=3000)])
    logical_gpus = tf.config.experimental.list_logical_devices('GPU')
    print(len(gpus), "Physical GPUs,", len(logical_gpus), "Logical GPUs")
  except RuntimeError as e:
    # Virtual devices must be set before GPUs have been initialized
    print(e)

Hi @AnaRhisT94,
My PC's RAM memory is also fully utilized. 15.9 GB or RAM is being utilized out of 16 GB after a few epochs. The bigger the data set is, the quicker it gives the out of memory error. What could have gone wrong? Could it be something with ubuntu 18.04 and cuda 10.0? Would switching back to ubuntu 16.04 can help?
Thanks

Hi @AnaRhisT94,
My PC's RAM memory is also fully utilized. 15.9 GB or RAM is being utilized out of 16 GB after a few epochs. The bigger the data set is, the quicker it gives the out of memory error. What could have gone wrong? Could it be something with ubuntu 18.04 and cuda 10.0? Would switching back to ubuntu 16.04 can help?
Thanks

It's not good. You need to utilize vRAM not RAM.
Ram is used on CPU. VRAM on GPU.
Use the code to restrict ur VRAM usage.
Check if libraries cuda cudnn are loaded successfully in order to utilize your GPU.

Hi @AnaRhisT94,
Just providing more info. Please find attached the screen shots of memory usage, gpu memory usage and terminal output. I noticed that after each epoch the it fills the shuffle buffer, this may be using the system RAM.

lowering the shuffle buffer (from 1024 to 32 works for me)

lowering the shuffle buffer (from 1024 to 32 works for me)

Yes exactly, that makes sense. In my case I'm using 256 as the shuffle_size.

Hi @AnaRhisT94,
I can now successfully train the model and my loss goes to as little as 0.2. And still I can't detect any object. Note below the format of TRRecords in preparing and parsing them is a little different in order and I think it doesn't matter. I also tried lowering the confidence threshold and it didn't work as well. What could have gone wrong? Any idea?

Please see this for transfer learning. https://github.com/zzh8829/yolov3-tf2/blob/master/docs/training_voc.md
Training from scratch without loading darknet is almost impossible

I have the same problem, I tried reducing the shuffle buffer_size to 8 without luck.
When I use CPU it works, but when I use GPU I have this fine, but of course it takes too long so I want to use the GPU.
The exact error I get is:
tensorflow.python.framework.errors_impl.ResourceExhaustedError:  OOM when allocating tensor with shape[1024,512,3,3] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
	 [[node yolov3/yolo_darknet/conv2d_43/Conv2D (defined at train.py:188) ]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
 [Op:__inference_distributed_function_37186]

Finally I made it work, I left buffer_size as it was and set a really small batch size of 2, then it worked.
But I think something is using to much memory, it should allow a bigger batch size. My images are 876x657, not that big and my Graphic card is a GeForce RTX 2060 6GB GDDR6. Should not fill 6GB so fast.


Unable to pass options to serializer when using ActiveModelSerializers

ActiveModelSerializer allows for options to be passed to the serializer from the controller. RocketPants does not seem to support this at this time. If it does, could you please point me to instructions on how to do it?
It seems like the fix for this would be to update this line (https://github.com/Sutto/rocket_pants/blob/bddc27ada67a11ff34fa8065fe2b1b2627bd28ff/lib/rocket_pants/controller/respondable.rb#L10) to pass the options variable to #serializable_hash.
SerializerWrapper = Struct.new(:serializer, :object) do

      def serializable_hash(options = {})
        instance = serializer.new(object, options)
        if instance.respond_to?(:serializable_hash)
          instance.serializable_hash
        else
          instance.as_json options
        end
      end

    end

I would be happy to make this change and submit a PR if that is the proper fix for this issue.

@rbhitchcock I'm looking for this exact functionality myself. Have you tried to monkeypatch this and see if your concept works?

@SirRawlins Yes, I am using the following initializer...
# frozen_string_literal: true
module RocketPants
  module Respondable
    extend ActiveSupport::Concern

    SerializerWrapper.class_eval do
      # We need to pass serialiation options to our serializer, so let's modify the method
      # definition. Issue opened on Github: (https://github.com/Sutto/rocket_pants/issues/141)
      def serializable_hash(options = {})
        instance = serializer.new(object, options)
        if instance.respond_to?(:serializable_hash)
          instance.serializable_hash options
        else
          instance.as_json options
        end
      end
    end
  end
end

Sweet. Thanks Blake - I will drop that in and see how I get on.
On Feb 23, 2016 9:29 PM, "Blake Hitchcock"<EMAIL_ADDRESS>wrote:

@SirRawlins https://github.com/SirRawlins Yes, I am using the following
initializer...
frozen_string_literal: truemodule RocketPants
module Respondable
extend ActiveSupport::Concern
SerializerWrapper.class_eval do
  # We need to pass serialiation options to our serializer, so let's modify the method
  # definition. Issue opened on Github: (https://github.com/Sutto/rocket_pants/issues/141)
  def serializable_hash(options = {})
    instance = serializer.new(object, options)
    if instance.respond_to?(:serializable_hash)
      instance.serializable_hash options
    else
      instance.as_json options
    end
  end
end

endend
—
Reply to this email directly or view it on GitHub
https://github.com/Sutto/rocket_pants/issues/141#issuecomment-187919796.


Cpu used in os column of sys.nodes fixed

did you figure out why it happens, could it be that it is casting exception (short)

Can we have a test for this?

yes we know why this is happening, its an edge case bug I produced: if sigar is loaded and cpu.sys() is 0 it will never adds sys() and user() but will go to the 'sigar-not-loaded-all-values-are-default' branch

as discussed, pls update/add tests

lgtm

forgot: changes entry missing

lgtm


[SPARK-18508][SQL] Fix documentation error for DateDiff

What changes were proposed in this pull request?
The previous documentation and example for DateDiff was wrong.
How was this patch tested?
Doc only change.

Test build #68882 has started for PR 15937 at commit cf938d3.

LGTM
Sorry, I did not catch this.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68882/
Test FAILed.

Hi @rxin, actually, I found another wrong example in ConcatWs before.
in stringExpressions.scala
- > SELECT _FUNC_(' ', Spark', 'SQL');
+ > SELECT _FUNC_(' ', 'Spark', 'SQL');

There were plenty of wrong examples fixed in the last PR but it seems I missed some.

Thanks I will fix that too.
Merging this in master/branch-2.1.


Anti Aliasing is suddenly deactivated

Example before/after:

Last PR I could find is: https://github.com/playcanvas/engine/pull/5679
Is this expected behaviour?

I'm not sure I can confirm. I loaded https://playcanvas.github.io/#/misc/hello-world
Then add this line to render into low resolution and make it visible:

and then toggle antialias this way:

and that seems to work ok with expected difference between true and false. Same in the blend-trees-1d example.


Do not reupload existing blocks to NeoFS block storage

Is your feature request related to a problem? Please describe.
Currently upload-bin finds latest incomplete batch of blocks and starts reuploading from the first block in this batch. Due to https://github.com/nspcc-dev/neo-go/issues/3647#issuecomment-2444172577 objects with the same block index but different OIDs may be created using this way of uploading.
Describe the solution you'd like
Don't upload the same block twice. Instead, search for the latest incomplete batch, then search for the missing block indexes in this batch and upload only missing blocks.
Describe alternatives you've considered
Leave it as is. It works, but a lot of useless duplicating objects are created which makes SEARCH request slower.

By the way, we finally found duplicates at the end. example:
Chain block height: 6689772
Uploading index files...
Searching for blocks within the range 6680000 6690000, found 14742
Duplicate block 6686840 with oid saved 381yPLFRr9PN1wWKDiLmaR7QvjhxvvYNXFNo7KeGDPfb and new one 5sPVCKbNZwS27w1a61qDqPyXxNfEf4PKpgCvdmuwbisa

and objects differ with checksums - which means its different payloads (blocks):
(base) ekaterinapavlova@MacBook-Air-4 neofs-node % ./bin/neofs-cli object get --file ./res2.bin -r apollo7.morphbits.io:8080 -w /Users/ekaterinapavlova/Workplace/neo-go/panelwallet1.json --cid ANMHF1LcEhf4LsFQRCafst5PdHN1YTvhaZYk1EhLKMPH -t 60s --oid 92vfVNYQgF3gZyJyDKJDGhrkVHas2DYR6jdqSWMvumF7

 697 / 697 [=============================================================================================================================================================================] 100.00% 0s
[./res2.bin] Object successfully saved
ID: 92vfVNYQgF3gZyJyDKJDGhrkVHas2DYR6jdqSWMvumF7
CID: ANMHF1LcEhf4LsFQRCafst5PdHN1YTvhaZYk1EhLKMPH
Owner: NSqo6fy6uGRTLQUofh8VkB1r6G7VbMnFmM
CreatedAt: 1
Size: 697
HomoHash: 5bdefd06efbbf0c66003c05dcfaa340441bc09bb06c8d6f1f2ae1291b3fc42ff0dbad5dfa481ebeaa5fcd5f39732379d7cf962a9c33de229abb29ce4462344ae
Checksum: 7ba30f2ba341a7e55cf9d3a1f1334d19e3f75ec1199b39a4225d447c83a27487
Type: REGULAR
Attributes:
  Block=6686383
  Primary=4
  Hash=97d6402f58445fc6cff40c80ea46c52af26e2971d2ba26637b87a551c2565d8f
  PrevHash=0aed6b9903e34194759eee7953f2c471ca20aae46f1e999e9e4431bac2b11316
  Timestamp=1731570803990 (56841-04-17 20:59:50 +0300 MSK)
ID signature:
  public key:<PHONE_NUMBER>70564dae4366aab65fe1da930c41ce12b1908f99f3e7fa3843f3996d
  signature: 9a11fdd7997e0d0b2bfe21f93ca815b683d442c64b90da8c70ced5ac320dfe953fb1f490a52bd9d217628892d9d490738c6832e0306eaae9b28f2cdaf6e2b5a7
(base) ekaterinapavlova@MacBook-Air-4 neofs-node % ./bin/neofs-cli object get --file ./res1.bin -r apollo7.morphbits.io:8080 -w /Users/ekaterinapavlova/Workplace/neo-go/panelwallet1.json --cid ANMHF1LcEhf4LsFQRCafst5PdHN1YTvhaZYk1EhLKMPH -t 60s --oid H5U4i6PxYAwAZHVuEzFKJzs2gJMno6e8zxCqxDiJB2ia

 697 / 697 [=============================================================================================================================================================================] 100.00% 0s
[./res1.bin] Object successfully saved
ID: H5U4i6PxYAwAZHVuEzFKJzs2gJMno6e8zxCqxDiJB2ia
CID: ANMHF1LcEhf4LsFQRCafst5PdHN1YTvhaZYk1EhLKMPH
Owner: NSqo6fy6uGRTLQUofh8VkB1r6G7VbMnFmM
CreatedAt: 1
Size: 697
HomoHash: 48d156668021420a6e1dbe2a30986b701cccb098333b95976887623b7d6706173016f309d3c5b8dc6c8efe6fabda0fde66f6a62872d93a25b93b114fa45d0963
Checksum: 717166bec84eba2f53fde4bf6b6a400527b95996c79aee6f93adb7baf8a677ea
Type: REGULAR
Attributes:
  Block=6686383
  Primary=4
  Hash=97d6402f58445fc6cff40c80ea46c52af26e2971d2ba26637b87a551c2565d8f
  PrevHash=0aed6b9903e34194759eee7953f2c471ca20aae46f1e999e9e4431bac2b11316
  Timestamp=1731570803990 (56841-04-17 20:59:50 +0300 MSK)
ID signature:
  public key:<PHONE_NUMBER>70564dae4366aab65fe1da930c41ce12b1908f99f3e7fa3843f3996d
  signature: c989a391f3d0bb33e7b3ad93e5d41afce92957927190e0d1b001bfc57de13ea6b6792a632027e74b004b06bf9b4ec922a430e323ae85986004cb0f69d7a2c4b4


Add support for checklist-comparator to editable-checklist

Add support for checklist-comparator to editable-checklist
Fix some layout issues of the demo site on phones
Closes #558, #183

@ckosloski how exactly #183 was fixed?

The documentation works fine on my phone.  The only issue I saw was some layout problems.  I fixed most of them.

ok, clear

@eugef can you do a new build?
Also, I just noticed that the change log doesn't reference the text-disable watch fix you merged - https://github.com/vitalets/angular-xeditable/commit/eb502edda10ee9fadb80583785f243790f2451e3

@ckosloski I'll do it today.


addition of event banner with detailed event page

expected
achieved

@AbhinayPatil the design looks very different from the app have to asked the design team for the changes which you have made?


update kubespray commit

What type of PR is this?
/kind enhancement
What this PR does / why we need it:
update kubespray commit to 75fecf15427392677c1a332b4406ba2112813ae2
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/lgtm


Do not print warn log when Tsfile UNENCRYPTED

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 63.63%. Comparing base (1e344e8) to head (a06ad17).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #276      +/-   ##
===========================================
- Coverage    63.64%   63.63%   -0.01%
===========================================
  Files          494      494
  Lines        31709    31710       +1
  Branches      4106     4106
===========================================
- Hits         20180    20179       -1
- Misses       11074    11076       +2
  Partials       455      455

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Enable script execution required when using policy from a JS app

I kept getting the following error when running my SUSI policy changed to use the recommended password reset subjourney. The error was not happing when running the policy from the B2C portal IEF policy list. It only happened when starting the journey from a JS app. Once I added ScriptExecution Allowed the error disappeared.

Refused to run the JavaScript URL because it violates the following Content Security Policy directive: "script-src 'strict-dynamic' 'self' 'nonce-pKRlukkmHPmO5Te3dh2ChQ==' 'report-sample'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.

Does the documentation need to reflect that requirement?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b0576a50-8bfd-ac73-6cfc-5121de4c1ba1
Version Independent ID: df6d7234-db4f-1a15-3010-26bd56d934e8
Content: Set up a password reset flow - Azure AD B2C
Content Source: articles/active-directory-b2c/add-password-reset-policy.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@mrochon
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Dear @mrochon ,
Thank you for your patience.
You addressed the issue in the correct way.
That is also captured in the reference section of the docs, RelyingParty
#please-close
Thanks.


Fix inspection of authorizors.

Preparers are executed in declared order so move the call to
c.WithInspection() to the end of the list so it can inspect any
preceding operations.
Fixed authorizors to call p.Prepare() first so they behave like the
other preparers.
Thank you for your contribution to Go-AutoRest! We will triage and review it as soon as we can.
As part of submitting, please make sure you can make the following assertions:

[ ] I've tested my changes, adding unit tests if applicable.
[ ] I've added Apache 2.0 Headers to the top of any new source files.
[ ] I'm submitting this PR to the dev branch, except in the case of urgent bug fixes warranting their own release.
[ ] If I'm targeting master, I've updated CHANGELOG.md to address the changes I'm making.

Fixes https://github.com/Azure/go-autorest/issues/252.