Not able to install locally

System Info
2024-04-22T09:19:51.209245Z  INFO text_generation_launcher: Runtime environment:
Target: x86_64-unknown-linux-gnu
Cargo version: 1.75.0
Commit sha: N/A
Docker label: N/A
nvidia-smi:
Mon Apr 22 09:19:50 2024
   +-----------------------------------------------------------------------------+
   | NVIDIA-SMI 525.105.17   Driver Version: 525.105.17   CUDA Version: 12.0     |
   |-------------------------------+----------------------+----------------------+
   | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
   | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
   |                               |                      |               MIG M. |
   |===============================+======================+======================|
   |   0  NVIDIA A100-SXM...  Off  | 00000000:00:04.0 Off |                    0 |
   | N/A   29C    P0    42W / 400W |      0MiB / 40960MiB |      0%      Default |
   |                               |                      |             Disabled |
   +-------------------------------+----------------------+----------------------+

   +-----------------------------------------------------------------------------+
   | Processes:                                                                  |
   |  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
   |        ID   ID                                                   Usage      |
   |=============================================================================|
   |  No running processes found                                                 |
   +-----------------------------------------------------------------------------+
2024-04-22T09:19:51.209446Z  INFO text_generation_launcher: Args { model_id: "bigscience/bloom-560m", revision: None, validation_workers: 2, sharded: None, num_shard: None, quantize: None, speculate: None, dtype: None, trust_remote_code: false, max_concurrent_requests: 128, max_best_of: 2, max_stop_sequences: 4, max_top_n_tokens: 5, max_input_tokens: None, max_input_length: None, max_total_tokens: None, waiting_served_ratio: 1.2, max_batch_prefill_tokens: None, max_batch_total_tokens: None, max_waiting_tokens: 20, max_batch_size: None, cuda_graphs: None, hostname: "<IP_ADDRESS>", port: 3000, shard_uds_path: "/tmp/text-generation-server", master_addr: "localhost", master_port: 29500, huggingface_hub_cache: None, weights_cache_override: None, disable_custom_kernels: false, cuda_memory_fraction: 1.0, rope_scaling: None, rope_factor: None, json_output: false, otlp_endpoint: None, cors_allow_origin: [], watermark_gamma: None, watermark_delta: None, ngrok: false, ngrok_authtoken: None, ngrok_edge: None, tokenizer_config_path: None, disable_grammar_support: false, env: true, max_client_batch_size: 4 }
2024-04-22T09:19:51.209835Z  INFO text_generation_launcher: Default `max_input_tokens` to 4095
2024-04-22T09:19:51.209844Z  INFO text_generation_launcher: Default `max_total_tokens` to 4096
2024-04-22T09:19:51.209847Z  INFO text_generation_launcher: Default `max_batch_prefill_tokens` to 4145
2024-04-22T09:19:51.209850Z  INFO text_generation_launcher: Using default cuda graphs [1, 2, 4, 8, 16, 32]
2024-04-22T09:19:51.210103Z  INFO download: text_generation_launcher: Starting download process.
2024-04-22T09:19:55.920267Z  INFO text_generation_launcher: Files are already present on the host. Skipping download.

2024-04-22T09:19:56.615746Z  INFO download: text_generation_launcher: Successfully downloaded weights.
2024-04-22T09:19:56.616115Z  INFO shard-manager: text_generation_launcher: Starting shard rank=0
2024-04-22T09:20:01.251224Z ERROR text_generation_launcher: exllamav2_kernels not installed.

2024-04-22T09:20:01.286558Z  WARN text_generation_launcher: We're not using custom kernels.

2024-04-22T09:20:01.329486Z  WARN text_generation_launcher: Could not import Flash Attention enabled models: cannot import name 'FastLayerNorm' from 'text_generation_server.utils.layers' (/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/utils/layers.py)

2024-04-22T09:20:01.355485Z  WARN text_generation_launcher: Could not import Mamba: cannot import name 'FastRMSNorm' from 'text_generation_server.utils.layers' (/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/utils/layers.py)

2024-04-22T09:20:02.122101Z ERROR shard-manager: text_generation_launcher: Shard complete standard error output:

Traceback (most recent call last):

  File "/home/shwu/labs/TGI/venv/bin/text-generation-server", line 8, in <module>
    sys.exit(app())

  File "/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/cli.py", line 71, in serve
    from text_generation_server import server

  File "/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/server.py", line 16, in <module>
    from text_generation_server.models.vlm_causal_lm import VlmCausalLMBatch

  File "/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/models/vlm_causal_lm.py", line 14, in <module>
    from text_generation_server.models.flash_mistral import (

  File "/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/models/flash_mistral.py", line 18, in <module>
    from text_generation_server.models.custom_modeling.flash_mistral_modeling import (

  File "/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/models/custom_modeling/flash_mistral_modeling.py", line 30, in <module>
    from text_generation_server.utils.layers import (

ImportError: cannot import name 'PositionRotaryEmbedding' from 'text_generation_server.utils.layers' (/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/utils/layers.py)
 rank=0
2024-04-22T09:20:02.220814Z ERROR text_generation_launcher: Shard 0 failed to start
2024-04-22T09:20:02.220836Z  INFO text_generation_launcher: Shutting down shards
Error: ShardCannotStart

Information

[ ] Docker
[x] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
I have a local model quantised with autoawq; even tried with bloke awq for llama 2 7b from hf directly
use the command:
# ================= with local install =================
method="awq"
model="/home/shwu/labs/TGI/models/meta-llama/Llama-2-7b-hf-$method"
# model=""

text-generation-launcher --model-id "$model" --quantize $method --huggingface-hub-cache $HUGGINGFACE_CACHE 2>&1 | tee "tgi-$method.log"

Expected behavior
The server should start;
I have all the packages installed using the commands mentioned to install using make
(venv) shwu@a100-spot-altzone-1:~/labs/TGI$ python -c "import pip._internal.operations.freeze; print('\n'.join([p for p in pip._internal.operations.freeze.freeze() if 'exllama' in p or 'vllm' in p or 'flash' in p]))" && bash generate.sh
exllamav2_kernels==0.0.0
flash_attn==2.5.6
vllm==0.4.0.post1+cu122
2024-04-22T09:22:26.077582Z  INFO text_generation_launcher: Args { model_id: "/home/shwu/labs/TGI/models/meta-llama/Llama-2-7b-hf-awq", revision: None, validation_workers: 2, sharded: None, num_shard: None, quantize: Some(Awq), speculate: None, dtype: None, trust_remote_code: false, max_concurrent_requests: 128, max_best_of: 2, max_stop_sequences: 4, max_top_n_tokens: 5, max_input_tokens: None, max_input_length: None, max_total_tokens: None, waiting_served_ratio: 1.2, max_batch_prefill_tokens: None, max_batch_total_tokens: None, max_waiting_tokens: 20, max_batch_size: None, cuda_graphs: None, hostname: "<IP_ADDRESS>", port: 3000, shard_uds_path: "/tmp/text-generation-server", master_addr: "localhost", master_port: 29500, huggingface_hub_cache: Some(".cache/"), weights_cache_override: None, disable_custom_kernels: false, cuda_memory_fraction: 1.0, rope_scaling: None, rope_factor: None, json_output: false, otlp_endpoint: None, cors_allow_origin: [], watermark_gamma: None, watermark_delta: None, ngrok: false, ngrok_authtoken: None, ngrok_edge: None, tokenizer_config_path: None, disable_grammar_support: false, env: false, max_client_batch_size: 4 }
2024-04-22T09:22:26.077989Z  INFO text_generation_launcher: Default `max_input_tokens` to 4095
2024-04-22T09:22:26.077998Z  INFO text_generation_launcher: Default `max_total_tokens` to 4096
2024-04-22T09:22:26.078001Z  INFO text_generation_launcher: Default `max_batch_prefill_tokens` to 4145
2024-04-22T09:22:26.078003Z  INFO text_generation_launcher: Using default cuda graphs [1, 2, 4, 8, 16, 32]
2024-04-22T09:22:26.078233Z  INFO download: text_generation_launcher: Starting download process.
2024-04-22T09:22:30.659168Z  INFO text_generation_launcher: Files are already present on the host. Skipping download.

2024-04-22T09:22:31.283684Z  INFO download: text_generation_launcher: Successfully downloaded weights.
2024-04-22T09:22:31.284013Z  INFO shard-manager: text_generation_launcher: Starting shard rank=0
2024-04-22T09:22:36.095219Z ERROR text_generation_launcher: exllamav2_kernels not installed.

2024-04-22T09:22:36.131032Z  WARN text_generation_launcher: We're not using custom kernels.

2024-04-22T09:22:36.174655Z  WARN text_generation_launcher: Could not import Flash Attention enabled models: cannot import name 'FastLayerNorm' from 'text_generation_server.utils.layers' (/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/utils/layers.py)

2024-04-22T09:22:36.201589Z  WARN text_generation_launcher: Could not import Mamba: cannot import name 'FastRMSNorm' from 'text_generation_server.utils.layers' (/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/utils/layers.py)

2024-04-22T09:22:36.890726Z ERROR shard-manager: text_generation_launcher: Shard complete standard error output:

Traceback (most recent call last):

  File "/home/shwu/labs/TGI/venv/bin/text-generation-server", line 8, in <module>
    sys.exit(app())

  File "/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/cli.py", line 71, in serve
    from text_generation_server import server

  File "/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/server.py", line 16, in <module>
    from text_generation_server.models.vlm_causal_lm import VlmCausalLMBatch

  File "/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/models/vlm_causal_lm.py", line 14, in <module>
    from text_generation_server.models.flash_mistral import (

  File "/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/models/flash_mistral.py", line 18, in <module>
    from text_generation_server.models.custom_modeling.flash_mistral_modeling import (

  File "/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/models/custom_modeling/flash_mistral_modeling.py", line 30, in <module>
    from text_generation_server.utils.layers import (

ImportError: cannot import name 'PositionRotaryEmbedding' from 'text_generation_server.utils.layers' (/home/shwu/labs/TGI/text-generation-inference-2.0.1/server/text_generation_server/utils/layers.py)
 rank=0
2024-04-22T09:22:36.989104Z ERROR text_generation_launcher: Shard 0 failed to start
2024-04-22T09:22:36.989127Z  INFO text_generation_launcher: Shutting down shards
Error: ShardCannotStart```

I have been installing all of the extensions via those commands for 2 days now;
I also tried using the release v2.0.1 code zip
let me try this once more with a clean installation

I have been installing all of the extensions via those commands for 2 days now; I also tried using the release v2.0.1 code zip let me try this once more with a clean installation

I feel you, did exactly the same. install/delete about 4 times

I have been installing all of the extensions via those commands for 2 days now; I also tried using the release v2.0.1 code zip let me try this once more with a clean installation

You can follow the steps in the Dockerfile, after compile flash-attn with cmd  'make install-flash..‘, the script moves the compiled file to python's site-package folder, just like
cp -r /text-generation-inference/server/flash-attention-v2/build/lib.linux-x86_64-cpython-39/* /usr/local/lib/python3.10/site-packages/

have resolved the issues using the following set of install-scripts; https://github.com/nyunAI/Faster-LLM-Survey/tree/A100TGIv2.0.1/scripts
Usually, if u have required version of cmake, libkineto, protobuff & rust installed you can directly run
1. [scripts/install-tgi.sh](https://github.com/nyunAI/Faster-LLM-Survey/blob/A100TGIv2.0.1/scripts/install-tgi.sh) , then

2. [scripts/parallel-install-extensions.sh](https://github.com/nyunAI/Faster-LLM-Survey/blob/A100TGIv2.0.1/scripts/parallel-install-extensions.sh) (this parallely installs all extensions - flash-attn, flash-attn-v2-cuda, vllm-cuda, exllamav2_kernels, etc.)

use other scripts in the directory as required.
for other system and driver details see - https://github.com/nyunAI/Faster-LLM-Survey/blob/A100TGIv2.0.1/experiment_details.txt
ps. maintainer can close this. leaving open for anyone facing a similar issue.

When install vllm for TGI-2.0.1, I came across :
error: triton 2.3.0 is installed but triton==2.1.0 is required by {'torch'}
make: *** [Makefile-vllm:12: install-vllm-cuda] Error 1

Is this because I use wrong vllm version. I don't modify anything in the Makefile-* scriot

Build and install rotary and layer_norm from https://github.com/Dao-AILab/flash-attention/tree/main/csrc.
This work for me


Improve method of finding next poll

Currently we just find the next one with the highest priority after the previous-most-recently-answered poll, but this doesn't let us insert polls in the middle or change priorities.

i didn't look in details but...
it's a sql dbms, right? you could add a trigger/proc for inserting values in the middle with re-index table.

or maybe add some view that will selects with sorting by priority (as separate field) AND uid (PK)

I made it so that it actually finds the next unanswered poll, taking into account which have been answered.


Karma, Chrome, Travis setup

Fixes #79.

Reverts changes made in #104 until we can figure out how to get chai-enzyme to work as a Karma plugin.

Replaces rewire.js with babel-plugin-rewire. (As it stands, rewire is incompatible with webpack). This means you can now reach into all ES modules with __get__  without having to require specially with rewire. This is only available when NODE_ENV=test.

Adds a new webpack.test.js:

It doesn't inherit from the base config.
Lots of tweaks needed for individual libraries (e.g. enzyme) and to accommodate the fact we're running our testing libraries in the browser.
Uses the null-loader for CSS (which is the whole reason you wanted off mocha/jsdom :wink:). Not sure if you'd ever want to actually run PostCSS for tests, but I can't see why you'd need it ATM.
json-loader is needed to deal with many devDependencies that require JSON (since it's expecting a node environment).

Modifies .travis.yml:

to only test on Node 5. It doesn't make sense (IMO) to repeat the tests on different Node versions since we're just launching a separate Chrome environment anyway. (Though the final webpack build that you do may differ...)

to add xvfb configuration so we can run a Chrome/Chromium browser,

to use a current Chrome instead of the ancient Chromium that Ubuntu 12.04 still uses.

Thank you so much for your work, this is amazing. I'm pinging @vesln here again, he might have an idea how to make chai-enzyme work with Karma. (I really like chai-enzyme)
I don't quite understand why you'd not want to transform your CSS with PostCSS - we want to test our components exactly how they are, right?

@mxstbr @jbinto thanks for bringing me in on this. Let's unify the discussion here https://github.com/producthunt/chai-enzyme/issues/16 as there might be other folks that would like to contribute to a final solution

Amazing work @jbinto, I've merged for now. I really hope we can add chai-enzyme back to our roster of libraries again, I miss the assertions already!


allow Algorithm.run(np.inf)

Urgently required for https://github.com/SyneRBI/PETRIC/pull/20
To infinity and beyond for those who boldly go with StopIteration Callbacks.

@casperdcl - Did you manage to put in the warning for the user and the error if they run np.inf without passing a callback? We discussed this at the standup on Friday

I don't think it's a good idea.

I've added an issue so we remember to have a discussion at some point!


[blog] Add post to introduce the Connect plugin (@danilo-leal)

Cherry-pick of https://github.com/mui/material-ui/pull/41763 and ancestor commits:

https://github.com/mui/material-ui/commit/3152481591f8ebfdcc8bd61902c65f4be7dc052f
https://github.com/mui/material-ui/commit/47b624d5f689e7756aa2e37fce717d98114ded43
https://github.com/mui/material-ui/commit/06fbeea213c94644782d6898b108eee1fa64f757
https://github.com/mui/material-ui/commit/e1d7fdacca7b6c6950c80a325630d48204326825
https://github.com/mui/material-ui/commit/6e36046549076ca70b28d8c80579fbd6e34bdd19
https://github.com/mui/material-ui/commit/2827bacf567fc95ef147d543316ffe688896db90

Taken from: https://github.com/mui/material-ui/commits/next/packages/mui-docs/src/branding?since=2024-02-01&until=2024-04-16

@danilo-leal @mnajdova this PR picks 6 PRs to next. Please review it carefully to ensure the files' state is precisely what we want in master. I'll wait for both of your reviews before merging.
cc: @Janpot as the author of https://github.com/mui/material-ui/pull/41206, also cherry-picked here.

Thanks @DiegoAndai for taking care of this 🙏


Filling a tank with a bucket also places the fluid as a block

Describe the Bug
Filling a tank with a bucket also places the fluid as a block.
Reproduction Steps

Right click on a tank with a filled bucket in creative mode

Expected Result
The fluid should not be placed in-world.
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Windows 10
Mod Version
0.4.0a
Minecraft Version
1.18.1
Other Mods
No response
Additional Context
No response

only happens on non-controllers


CV

Add a CV for applying for jobs. That page should be printable.

Fixed in https://github.com/heinrichreimer/portfolio/commit/d4450afa4ca572968fc08bb29d2669db41cc0938


[Feature/Enhancement] Make an optional "Download by member_id" sketch choice in config.ini

Prerequisites

[X] Did you read FAQ section in readme.md?
[X] Did you test with the latest releases or commit ?
[X] Did you search for existing issues in Issues?

Description
Having now just discovered that the default of downloading a member's sketches as "No" since #1037 was implemented, there should be a config which, if set, can replace this dialog. For casual users, they don't really need the option. For archivists, I would very much like the option. Something like alwaysDownloadSketches = True or something in config.ini.
Additionally, unlike the filenames of the Pixiv Illustration/Manga IDs, the actual URL of the filename of the sketch is rather useless.
For example, sketch's URL can be https://sketch.pixiv.net/items/7281939573486935017 while it's hosted URL would be https://img-sketch.pixiv.net/uploads/medium/file/1810455/3367949766029345023.png. Currently PixivUtil2 defaults to save<PHONE_NUMBER>029345023 of the filename, which is completely useless. If the id of the item,<PHONE_NUMBER>486935017, is saved, the url of the original work can be easily accessed.
EDIT: Found out %image_id% acts as the "Post ID" for sketches.
Steps to Reproduce

Download by Member Id (option 1)
The prompt is always asked and there is no config option to skip this step.
3. Sketches are downloaded with IDs that do not relate to accessible web URLs

Expected behavior:
The prompt for downloading sketches is skipped because it's configured in the config.ini file to automatically mark the desired option~~, and sketch works download with a parse-able ID to reverse navigate to the original URL the work was obtained from~~.
Actual behavior:
The prompt to download sketches is always displayed and defaults to no, and sketch files are downloaded with an ID that is impossible to reverse navigate to.
Log file:
None necessary
Versions
PixivDownloader2 version 20211104

It looks like PixivUtil2 already grabs the "Post ID"? Can that be used in the filename?

I am finally looking at how PixivUtil2 handles sketches and this is an absolute mess.
https://github.com/Nandaka/PixivUtil2/blob/e0be95345ee39b13a317cf2c9e3b2927ce8c8fbe/PixivDBManager.py#L1034
There is no way for PixivUtil2 to check if the image still exists, even if it's already recorded in the database?! There is no save_name field?! This means the database cleanup can not validate sketches, just like in the manga table.
I have to ask why there is absolutely zero consistency in the database management? I very much regret blindly relying on the database, making many assumptions along the way, while it becomes useless due to missing fields or checks...

Implemented in ea6871b0306b51a580305b4ade98fc23b9f186fc


[E2E] Torchbench opacus_cifar10 training accuracy failed

🐛 Describe the bug
torchbench_amp_bf16_training
xpu  train opacus_cifar10
Traceback (most recent call last):
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/common.py", line 2512, in validate_model
self.model_iter_fn(model, example_inputs)
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/torchbench.py", line 450, in forward_and_backward_pass
self.grad_scaler.scale(loss).backward()
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/torch/_tensor.py", line 522, in backward
torch.autograd.backward(
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/torch/autograd/init.py", line 346, in backward
_engine_run_backward(
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/torch/autograd/graph.py", line 812, in _engine_run_backward
return Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/torch/nn/modules/module.py", line 98, in call
return self.hook(module, *args, **kwargs)
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/opacus/grad_sample/grad_sample_module.py", line 328, in capture_backprops_hook
activations, backprops = self.rearrange_grad_samples(
File "/home/sdp/miniforge3/envs/e2e_ci/lib/python3.10/site-packages/opacus/grad_sample/grad_sample_module.py", line 384, in rearrange_grad_samples
raise ValueError(
ValueError: No activations detected for <class 'torch.nn.modules.linear.Linear'>, run forward after add_hooks(model)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/common.py", line 4626, in run
) = runner.load_model(
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/torchbench.py", line 362, in load_model
self.validate_model(model, example_inputs)
File "/home/sdp/actions-runner/_work/torch-xpu-ops/pytorch/benchmarks/dynamo/common.py", line 2514, in validate_model
raise RuntimeError("Eager run failed") from e
RuntimeError: Eager run failed
eager_fail_to_run
loading model: 0it [00:00, ?it/s]
loading model: 0it [00:06, ?it/s]
Versions
torch-xpu-ops: https://github.com/intel/torch-xpu-ops/commit/1d70431c072db889d9a47ea4956049fe340a426d
pytorch: d224857b3af5c9d5a3c7a48401475c09d90db296
device: pvc 1100, bundle: 0.5.3, driver: 803.61

low priority for not included in Meta PyTorch dashboard

A100 is also failed

close the issue, due to a100 also failed.


CloudFormation Stacks do not support lists as parameters.

Describe the bug
I'm trying to deploy a CF template using the customizations-config. My template expects a list as parameter, but the stack synthesis fails:
2024-03-12 13:07:28.249 | error | accelerator | Resolution error: Supplied properties not correct for "CfnStackSetProps"
  stackInstancesGroup: element 0: supplied properties not correct for "StackInstancesProperty"
    deploymentTargets: supplied properties not correct for "DeploymentTargetsProperty"
      organizationalUnitIds: "r-gqx8," should be a list.
/codebuild/output/src564/src/s3/00/source/packages/@aws-accelerator/accelerator/lib/accelerator.ts:58
    throw new Error('Synthesis failed');
    ^

To Reproduce

Add a CloudFormation template to customizations-config.yaml as below:

homeRegion: &HOME_REGION eu-central-1
customizations:
  cloudFormationStackSets: []
  cloudFormationStacks: []
    - name: example
      description: example
      regions:
        - *HOME_REGION
      deploymentTargets:
        accounts:
          - Management
      runOrder: 1
      template: ./cfn-templates/example.yml
      terminationProtection: true
      parameters:
        - name: ListParam
          value:
            - r-gqx8

Note: for value i tried:

value: [ value ]
value: "value"
value: value,
value: "value,"

All give either the same error, or error at build validation.
Parameter in CFN template:
Parameters:
  ListParam:
    Type: CommaDelimitedList

Expected behavior
Stack is deployed without errors
Please complete the following information about the solution:

[x] Version: 1.6.1
[x] Region: eu-central-1
[x] Was the solution modified from the version published on this repository? no
[x] If the answer to the previous question was yes, are the changes available on GitHub?
[x] Have you checked your service quotas for the services this solution uses? n/a
[x] Were there any errors in the CloudWatch Logs? Yes, see bug description

Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context

I seem to be having this exact issue - I pass a value of "1111111111" to a TrustedAccounts CommaDelimitedList in a cdk bootstrap in the customizations config of lza and it fails validation with (CDKToolkit) failed: Error [ValidationError]: Template error: every Fn::Join object requires two parameters, (1) a string delimiter and (2) a list of strings to be joined or a function that returns a list of strings (such as Fn::GetAZs) to be joined.
Seems like it's not injecting the value correctly - have also many variations on the value but have yet to find a way to get it to work


Update from Code For America

Pulls in https://github.com/codeforamerica/ohana-api/pull/412 for an updated Docker setup and https://github.com/codeforamerica/ohana-api/pull/414 for gem updates.

Coverage remained the same at 99.368% when pulling b2faeeaea265601952bb0738e8d03c70e4b76948 on cfa-update-20170408 into 06444de310a6469d8bcc21d1d7e68ebdb51150c4 on master.


bump the grove version from 0.1 to 0.2

Due to build script changes that now add the commit hash to the rpm name,
bump the grove version from 0.1 to 0.2 so that yum correctly installs the latest
version with the commit hash in the name.
What does this PR do?
Bumps the grove version up from 0.1 to 0.2
Fixes #(issue_number)
fixes yum grove install issues.
Which TC components are affected by this PR?

[ ] Documentation
[x] Grove
[ ] Traffic Analytics
[ ] Traffic Monitor
[ ] Traffic Ops
[ ] Traffic Ops ORT
[ ] Traffic Portal
[ ] Traffic Router
[ ] Traffic Stats
[ ] Traffic Vault
[ ] Other _________

What is the best way to verify this PR?
run grove -version, should show version 0.2
Check all that apply

[ ] This PR includes tests
[ ] This PR includes documentation updates
[ ] This PR includes an update to CHANGELOG.md
[ ] This PR includes all required license headers
[ ] This PR includes a database migration (ensure that migration sequence is correct)
[ ] This PR fixes a serious security flaw. Read more: www.apache.org/security

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2597/
Test PASSed.


Relief Camp Strength is not available in ‘Relief Camp’ Screen.

Subject of the issue
Relief Camp Strength is not available in  ‘Relief Camp’ Screen.
Actual Registration count display in the ‘camp screen’ will help local people to  make effective contribution of  resources to ‘Relief Camp’.
Resource quality (food/materials etc..) needed for a 50 member camp is different from 500 member camp.So Relief Camp Strength will help the people to make effective contribution based on necessity.
Your environment

version of your python:Python 3.7.0
which browser and its version : Chrome 68.0.3440.106
OS Type (iOS/Android/Linux/Windows): WINDOWS 10

Steps to reproduce

Enter following URL  Browser : https://keralarescue.in/

Navigate to ‘Relief Camp’ Screen

Display in contents with Necessary info of Registered Requests
https://keralarescue.in/relief_camps/?district=koz

Expected behaviour
Now Camp details  shows ‘District’,’ Camp Name’,’ Address’,’ Contact Numbers’& ‘Registrations’
Registrations value should show at least approximate count .
Actual behaviour
Now Camp row shows ‘District’,’ Camp Name’,’ Address’,’ Contact Numbers’& ‘Registrations’
But Registrations value is zero for all entries

I think its a data issue, that the foreign key issue between the RescueCamp and Person tables. I checked by adding data manually in my local DB and the count is displayed correctly.
Is there a way I can get the production dump so that I can the issue locally too?

https://github.com/IEEEKeralaSection/rescuekerala/wiki/Create-Dummy-data

Hi @AkkoliPottammal ,
I am also getting the value as expected.

I'm also getting the expected output after creating the dummy data.
I think this issue can be closed.


[dv] Various functional coverage point additions

PMP related coverage points are not included in this PR.

Thanks Rupert for the review! I updated the parts you pointed out.


providers/gcp: scrape new endpoint for ssh keys

The old sshKeys endpoint for project and instance keys has been
deprecated for more than a year. The new name of the attribute is
ssh-keys.
For reference: https://github.com/gc3-uzh-ch/elasticluster/issues/391
https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys does not mention the new key (ssh-keys) but it mentions that the old one is deprecated.

@andor44 looking at IRC backlog, I think this is coming after an hard coreos-metadata-sshkeys failure. Can you please share error logs and instance cloud settings for your setup?

@sdemos @andor44 answering both of your questions.
Docs says:

If instance-level metadata is set to block project-wide SSH keys or has a deprecated instance-only sshKeys value, the instance will ignore all project-wide SSH keys. To apply project-wide keys to an instance, make sure the instance allows project-wide public SSH keys and, if present, remove the deprecated instance-only sshKeys value from instance metadata.
If you want your instance to use both project-wide and instance-level public SSH keys, set the instance metadata to allow project-wide SSH keys.

So I think the logic should be:

fetch instance sshKeys
if not empty, return it
fetch and merge instance ssh-keys
fetch project sshKeys, if not empty merge with all of the above and return
fetch project ssh-keys, merge with all of the above and return

Updated to reflect that behavior. The latest version is pretty similar to the original and reads reasonably well IMO.

LGTM :+1:
@andor44 thanks a lot for reporting this, tracking down the doc reference and iterating through the PR!


MODELIX-911 Efficient lazy loading (JVM)

This is an attempt to support lazy loading of model data in the ModelClientV2. Something similar exists in the old client implementation. This new feature should help migrating away from the old client.
Compared to the lazy loading implementation in the V1 client, this new implementation tries to reduce the number of requests (and by that the relative overhead) by predicting what data is needed next and prefetching it. The algorithm for this prefetching might need some fine tuning in the future to further improve the performance, but the tests show that it's already way better than without prefetching.
The new feature is only available on the JVM because requests are executed blocking, which is not allowed in a single threaded JS environment. For JS, solutions similar to the one I prototyped in #396 are required.
To be verified by reviewers

[ ] Relevant public API members have been documented
[ ] Documentation related to this PR is complete

[ ] Boundary conditions are documented
[ ] Exceptions are documented
[ ] Nullability is documented if used

[ ] Touched existing code has been extended with documentation if missing
[ ] Code is readable
[ ] New features and fixed bugs are covered by tests

:tada: This PR is included in version 8.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Docker image upgrade

What is expected
DPS can be upgraded to debian 10 and start to use the slim image using a lightweight image

Hello,
Why not a static compile and use FROM scratch?
Sizes:
scratch - 11MB
debian:stable-slim - 80MB
debian:8 - 167MB
Take a look at CoreDNS...
Regards.

thanks for the suggestion @ricardoper
I never heard about scratch image, I will take a look then make some tests

scratch is a special image because this is a empty image. No files inside...
I don't know all the parts of this project, but I think that you can compile statically with some extra flags. So no system dependencies, no dependencies at all, no system required on your container. The binary it's a bit larger but you reduce the container size a lot.
Less than 20MB for this container project will be a extreme plus.
You are welcome.

The app needs access to SSL certificates?
In the next hours/days I will create a pull request for lighter containers.
I already have a functional example. Less than 11MB for AMD64 containers without SSL certificates.

The app needs access to SSL certificates?

Actually not

As said, DPS is dependent on some linux commands, I will keep this issue focused on upgrade and migrate the images to debian:10-slim as migrate to scratch image will requires a additional effort

I read all messages and understood... Sorry for that.
If you need my help, please don't hesitate to tell me.


[App]: x axis in reports have some fractional smoothing even when all runs line up

Current Behavior

I have several runs which are all logging at the same rate, but at different rates of completion. E.g. some runs may have logged at steps 1000, 2000, 3000, while some have logged at steps 1000, 2000, 3000, 4000, 5000.
When this happens, and they are plotted in a report, the x axis is never displayed consistently and appears to do some sort of smoothing or interpolating (e.g. hovering over the plot near "1000" will instead show a random value like "1234.5"). However, when all runs finish (e.g. they have all logged at the same set of steps 1000, 2000, 3000, 4000, 5000) then the x axes will all line up exactly and hovering over the plot will show the actual logged metrics at each step 1000, 2000, ...
Expected Behavior
I understand that it may be undefined how to display the right thing when multiple runs are plotted whose x axes do not match up (e.g. if one is 500, 1500, 2500 and one is 1000, 2000, 3000). Smoothing/interpolating could make sense in that case. However, when all runs have logged at the same steps (and some runs have merely logged at subsets of others), I would expect that hovering over the plot consistently gives actual logged values at the actual steps, instead of showing interpolated metrics at fractional steps.
Steps To Reproduce
This happens consistently in every plot in my reports.
Screenshots
No response
Environment
OS: macOS
Browsers: Chrome
Version: 114
Additional Context
No response

Hi @albertfgu, thanks for reporting this! Would you mind sharing a link to a report example so I can check this?

Here's one example:
https://wandb.ai/hippo-ai/hippo/reports/Induction-Heads--Vmlldzo0OTY0MzU3
Tab "Copying 4096"
If you go to any individual run they are logging at the same steps, but on the report it always displays fractional steps

Hi @albertfgu, thanks for sharing this! I took a look at this, it seems this happens in every chart involving several runs (also at a project level) so I'll report this to our engineering team, thanks for flagging this!

WandB Internal User commented:
albertfgu commented:
Here's one example:
https://wandb.ai/hippo-ai/hippo/reports/Induction-Heads--Vmlldzo0OTY0MzU3
Tab "Copying 4096"
If you go to any individual run they are logging at the same steps, but on the report it always displays fractional steps


[azservicebus] Fixing panic() when the links haven't been initialized (early cancellation)

Fixing use of links when they haven't been initialized.
Partial fix for #16923

/azp run go - azservicebus

/azp run go - azservicebus


Your tokenize function is bad vegetable

while (match = this.tokenElements.split.exec(str)) {
            result.push(match[1]);
            console.log(match);
        }

match[1] is a hardcode, because my split regex does not have any group.

That's feature :)
you can submit a PR


auro-badge: single CLI support

Is your feature request related to a problem? Please describe.
The current configuration requires two individual CLI terminals to run the app locally
Describe the solution you'd like
Update the npm support to use a single CLI for development
Exit criteria
This issue will be considered closed once a developer can start a development localhost with a single CLI terminal.

/duplicate


Support local helm charts, i.e. tgz package or OCI-based registries

Hey @macmiranda,
Can you clarify the need here?  We have 2 possible approaches depending on the need.
One approach is to make the aws auth credentials optional, so that the github runner’s AWS credentials (if you’re using a self-hosted runner, for example) are used to pull images.  (similar to the desired approach for this issue)
It’s not clear how that approach would be helpful for the images that are specified by helm to be pulled from a kubernetes cluster.
Typically, with kubernetes, you would use ImagePullSecrets (most helm charts specify this) or you’d specify it in your pod spec for your own helm charts.  Here’s some more info on how that works:
https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
In the latter case, you could instead provide EKS worker nodes with a role that has access to the ECR registry rather than specifying imagepullsecrets.
Which use-case did you have in mind (github runner credentials, or EKS cluster credentials)?

Hi @LeoDiazL,
We publish our Helm charts as OCI images to ECR and use our deploy action to pull the chart before installing it. I guess what I'm really trying to say is that we would welcome support for local Helm charts. Given that the image was already fetched in a different step, then we could use it as an input here.
I don't know exactly I why I thought that the action should download the image too, but that could be easily done outside of this action.
I'll change the title to be more precise

There is a $DEPLOY_CHART_PATH environment variable used to determine where helm finds the chart:
https://github.com/bitovi/github-actions-deploy-eks-helm/blob/main/deploy.sh#L99
It is provided by action via chart-path:
https://github.com/bitovi/github-actions-deploy-eks-helm/blob/main/action.yaml#L81
So if your action runner is set up with access to your ECR registry (i.e. rbac via IAM, for example),  for OCI, as per helm docs, you should be able to do something like:
    - name: Deploy Helm
      uses<EMAIL_ADDRESS>      with:
        chart-path: oci://localhost:5000/helm-charts/mychart

which would result in something like the following command:
helm upgrade oci://localhost:5000/helm-charts/mychart

Similarly, to install from a file instead (i.e. if you've downloaded the chart in a previous step), you should be able to provide a relative path to the local chart like:
    - name: Deploy Helm
      uses<EMAIL_ADDRESS>      with:
        chart-path: relative/path/to/mychart

This doesn't support helm login. As previously discussed, if the github action runner is a custom runner that is set up with access to your internal ECR registry, this step would not be necessary.
If you're looking to skip the download step as part of your workflow and have this action do it instead, then this issue would turn into a need to support helm login.
@macmiranda Does that help?  Do you think this github action should support helm login to support your use-case?

no problem!
I'll close this ticket.  Please re-open if you feel it's incomplete.
Also, we now have another issue to track support of helm login (though I'm not sure when Bitovi will be able to get to it).  PRs welcome! ;)


supportedOrientations warning on lastest version (v6.3.0)

After upgrade from version 6.1.0 to 6.3.0, this warning appears:

My modal doesn't even have supportedOrientations prop:
      <Modal
        style={styles.modal}
        isVisible={isVisible}
        backdropOpacity={0.3}
        onBackdropPress={onPressOutside}
      >
        <View style={styles.container}>
          <FlatList
            data={categories}
            keyExtractor={this.keyExtractor}
            renderItem={({ item }) => this.renderItem(item, () => onItemSelected(item))}
          />
        </View>
      </Modal>

I tried to add supportedOrientations={["portrait"]} but the warning still persists.

Hi! The warning was fixed in the other pull request I made, just waiting for @mmazzarolo to make a new release with it and it should be all good! Sorry for the inconvenience!

The warning is gone with v6.4.0. Thanks for the quick fix!


Is this project alive

Is this project alive?

I hadn’t had time to continue development, since the new work


bug fix oidc errors

Fix OIDC errors

on statup when OIDC dependency is added

Caused by: java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'oidcAuthorizeController' method
public org.springframework.web.servlet.ModelAndView org.apereo.cas.support.oauth.web.endpoints.OAuth20AuthorizeEndpointController.handleRequestPost(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception
to {[/oauth2.0/authorize],methods=[POST]}: There is already 'authorizeController' bean method
public org.springframework.web.servlet.ModelAndView org.apereo.cas.support.oauth.web.endpoints.OAuth20AuthorizeEndpointController.handleRequestPost(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception mapped.

Commit Allow POST for oauth seems to be the cause of this issue.
The new POST mapping in OAuth20AuthorizeEndpointController requires to do the same in the child class OidcAuthorizeEndpointController to resolve the duplicate Spring MVC mapping.

when response_type parameter contains blank (ex : .response_type=id_token token)

java.net.URISyntaxException: Illegal character in query at index 151: https://localhost:8443/cas/oauth2.0/callbackAuthorize?client_name=CasOAuthClient&client_id=client&redirect_uri=http://<IP_ADDRESS>/&response_type=id_token token] with root cause>
java.net.URISyntaxException: Illegal character in query at index 151: https://localhost:8443/cas/oauth2.0/callbackAuthorize?client_name=CasOAuthClient&client_id=client&redirect_uri=http://<IP_ADDRESS>/&response_type=id_token token
        at java.net.URI$Parser.fail(Unknown Source) ~[?:1.8.0_151]
        at java.net.URI$Parser.checkChars(Unknown Source) ~[?:1.8.0_151]
        at java.net.URI$Parser.parseHierarchical(Unknown Source) ~[?:1.8.0_151]
        at java.net.URI$Parser.parse(Unknown Source) ~[?:1.8.0_151]
        at java.net.URI.<init>(Unknown Source) ~[?:1.8.0_151]
        at org.jasig.cas.client.util.URIBuilder.build(URIBuilder.java:137) ~[cas-client-core-3.4.1.jar!/:3.4.1]
        at org.apereo.cas.support.oauth.web.OAuth20CasCallbackUrlResolver.compute(OAuth20CasCallbackUrlResolver.java:54) ~[cas-server-support-oauth-5.2.0-SNAPSHOT.jar!/:5.2.0-SNAPSHOT]

OAuth20CasCallbackUrlResolver should escape query parameters when it builds callback URL

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Coverage decreased (-0.001%) to 45.692% when pulling 5689fdc3c254487d9a30175f305d60b03d9491fe on antoine777:oidc_fix into 9ee564283ba5ca3fb0b8862576988f46d3e8e9af on apereo:master.

Coverage increased (+0.08%) to 45.771% when pulling b576e9df2cf883dd0ff8db53ac7dc9996d4ab432 on antoine777:oidc_fix into 9ee564283ba5ca3fb0b8862576988f46d3e8e9af on apereo:master.

Coverage increased (+0.005%) to 45.699% when pulling 2a2a96cb24ac44339ba99506090a7d0f0d6fb0de on antoine777:oidc_fix into 276472caca4c282e2633c7722bc7d2da2c421aaf on apereo:master.


Random Device.

Is it possible to use random devices only from ios? No need ubuntu, windows , android.

use ios to run bot?

https://github.com/vanhbakaa/Cexio-Tap-bot/blob/main/bot%2Fcore%2Fagents.py
To use as userAgent only iOS or Android devices. You specified windows and Ubuntu too. There's no need in the last too.

import random

def generate_random_user_agent(device_type='ios', browser_type='chrome'):
    chrome_versions = list(range(110, 127))
    firefox_versions = list(range(90, 100))

    if browser_type == 'chrome':
        major_version = random.choice(chrome_versions)
        minor_version = random.randint(0, 9)
        build_version = random.randint(1000, 9999)
        patch_version = random.randint(0, 99)
        browser_version = f"{major_version}.{minor_version}.{build_version}.{patch_version}"
    elif browser_type == 'firefox':
        browser_version = random.choice(firefox_versions)

    elif device_type == 'ios':
        ios_versions = ['13.0', '14.0', '15.0', '16.0']
        ios_version = random.choice(ios_versions)
        if browser_type == 'chrome':
            return (f"Mozilla/5.0 (iPhone; CPU iPhone OS {ios_version.replace('.', '_')} like Mac OS X) "
                    f"AppleWebKit/537.36 (KHTML, like Gecko) CriOS/{browser_version} Mobile/15E148 Safari/604.1")
        elif browser_type == 'firefox':
            return (f"Mozilla/5.0 (iPhone; CPU iPhone OS {ios_version.replace('.', '_')} like Mac OS X) "
                    f"AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/{browser_version}.0 Mobile/15E148 Safari/605.1.15")

    return None
    ```
    put it in your agent.py file

God bless you 🙏🙏🙏

File "/opt/cex/bot/core/tapper.py", line 470, in run
await self.get_user_info(http_client, authToken)
File "/opt/cex/bot/core/tapper.py", line 139, in get_user_info
response = await http_client.post(api_profile, json=data)
File "/opt/cex/venv/lib/python3.10/site-packages/aiocfscrape/init.py", line 79, in _request
resp = await super()._request(method, url, *args, **kwargs)
File "/opt/cex/venv/lib/python3.10/site-packages/aiohttp/client.py", line 603, in _request
resp = await req.send(conn)
File "/opt/cex/venv/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 713, in send
await writer.write_headers(status_line, self.headers)
File "/opt/cex/venv/lib/python3.10/site-packages/aiohttp/http_writer.py", line 129, in write_headers
buf = _serialize_headers(status_line, headers)
File "aiohttp/_http_writer.pyx", line 132, in aiohttp._http_writer._serialize_headers
File "aiohttp/_http_writer.pyx", line 109, in aiohttp._http_writer.to_str
TypeError: Cannot serialize non-str key None
2024-08-27 20:49:14 | ERROR    | 536 - sess1 | Unknown error: Cannot serialize non-str key None

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble check this fix, i see it in another issue,
https://github.com/Jostino/RimWorld-it/releases/tag/fix
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


Status read in Op Enable mode greatly increases CPU usage per motion module running

Would be nice to not have the overhead of doing a status read on the drive every iteration. Could we use one of the reserved bits to flag if we want to do the read or not?

Good idea.
I've added the request to the SDD. The Op Enable methods will check if bit 11 is enabled - if so, they will skip reading the position. This can be useful if the system is overloaded and running late.
Because of this, there will be a new mode - the first Reserved Mode I am using as a Single Axis Read which will return the info for, well, a single axis read.
Notice that swapping modes should have no effect on the latching mechanism. Namely, that going from low to high on bit 4 does not need to be within the same mode (you can be doing a Position Profile move and have the read bit high, go to the Read method with a low Start bit, and change to Position Profile Move and toggle the start bit simultaneously).

Thinking about things a little bit differently - if we have a Read Single Axis method, then we can have that specific method read the motion I/o. Then I can modify the Read method to give only Coordinate System information during the "normal" operation. This should be a large performance improvement - the main drawback being that to get "all" the info, we would need to have a separate call.

I went further and now there is a Read Fast and a Read Full method. The Read Fast will return simply the system velocity and an array (or a single value) for the Results. The Read Full will return data very similar to the previous Read.
This also means that there are now 2 Result Utilities - one for the Read Fast and one for the Read slow.
Currently the Read Full does not have an axis index input, but that can be added in the future.


fix apt-get install errors on ubuntu when run via vagrant on OSX

Running packages install via packages.sh seem to fail due to apt-get errors.
I am running peloton via vagrant setup provided on the installation page.
Os version: Mac OS X 10.12.5.
This PR fixes it and I am able to build and install peloton successfully after this.
Thanks,
Arun

Coverage increased (+0.02%) to 71.482% when pulling c1279971464bc0f3e284f135581885a639502716 on bitmybytes:fix-package-installation-ubuntu-vm into 134a645844621121be19f8c6a2f18a7486c929bc on cmu-db:master.


extend-to-zoom

extend-to-zoom

This issue was imported from Google Moderator
Moderator votes: +4
Issue added by garpur on 2014-05-23
To vote this issue up or down, simply include +1 or -1 in your comment.

This would fall under http://caniuse.com/#feat=css-deviceadaptation , although it's not currently specifically mentioned.

Added in description of https://caniuse.com/css-deviceadaptation


Upgrad oneflow version

Because the oneflow v0.7.0 interface change will cause the oneflow front-end test to fail, so comment out the tests in this pr to upgrade the onheflow version. The bug caused by the interface change has been fixed in https://github.com/apache/tvm/pull/11036, and the front-end tests will continue to be opened in pr 11036. This pr needs to be merged first.
@masahi thanks!

Please keep pushing jobs until the build succeeds. Unfortunately there is a very frequent error unknown parent image ID
https://github.com/apache/tvm/issues/10832

Please keep pushing jobs until the build succeeds. Unfortunately there is a very frequent error unknown parent image ID #10832

ok.

@masahi  the ci has passed, please merge it, thanks!

@BBuf CI is failing pylint check after this PR: https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/3089/pipeline
Can you run black on oneflow/test_forward.py and send a PR?

ok I send the PR https://github.com/apache/tvm/pull/11056


Add files via upload

@sfzhu @ngkavin @Chkoda

1.C, You need to discuss this in relation to both B) and the central limit theorem.
1.D, the result is around -4.9 not -Inf.
2.A, y0 needs to be normalized, your x range is wrong. check the code below.
x = np.linspace(0, 10, 101)
y = stats.rayleigh.pdf(x)
y = y/np.sum(y)
y1 = y
y2 = np.convolve(y1, y)
y3 = np.convolve(y2, y)
x1 = x
x2 = np.linspace(0, 2x[-1], len(y2))
x3 = np.linspace(0, 3x[-1], len(y3))
2.B, how many intervals?
3.C missing.


People should be able to click on a picture and expand it in the mobile app.

Might be hard in a mobile app, but users feel it's important.

What do you mean expand?

@dimakrsna I think this would work on mobile. Can we try it?
https://www.npmjs.com/package/react-pinch-and-zoom


transcription_locus_cluster [sf#144]

Reported by bowesj on 2009-02-12 22:48 UTC
Hi,
We would like to propose the creation of a trasncription_locus_cluster and a subtype unigene_cluster.
transcription_locus_cluster
|
|
-- is a -- unigene_cluster
with the following definitions:
transcription_locus_cluster: a set of sequences that appear to come from the same transcription locus.
unigene_cluster: NCBI unigene cluster.
Our need for this is to represent unigene and other similar sequence clusters in a Chado database.  The definition I put for trascription_locus_cluster came pretty much from the unigene main page.
http://www.ncbi.nlm.nih.gov/unigene
For more information I posted a note about this to song-devel about a year ago but never got any comments. At the time, I did not put in a term request.
https://sourceforge.net/mailarchive/message.php?msg\_name=478FE7AA.4060307%40ucalgary.ca
Thanks,
Jeff Bowes
Xenbase

Commented by eilbeck on 2009-03-03 19:21 UTC
Hi Jeff,
Sorry for not getting to this last week.
Also, I am sorry that no one got back to you last year. I guess you are breaking new ground here.
I am struggling to get my head around what kind of a thing a TLC is.
Do you see it as a kind of assembly?
If so we would ned to define it like "A TLC is a kind of assembly composed of XXXXX" Does that make sense?
let em know if this is on the right tracks or not.
--K

Commented by eilbeck on 2009-03-13 21:00 UTC
Hi Jeff,
I have added transcribed_cluster as a kind of experimental feature with the definition:
A region defined by a set of transcribed sequences from the same gene or expressed pseudogene.
I made unigene_cluster a related synonym.
It has_part reagent. This is still a bit loose, but will allow the parts to be ESTs, CDNA clones etc. Waht I really need is to have EST and cDNA have the same parent.
I also added the relation exemplar_of. I have not used it in the ontology yet, but its there should you need it.
I am including the off list conversation here just incase we need to come back to this...
--K
Yes,  I think your view is correct that a transcribed_cluster would be a
region of ESTs and/or full length cDNA sequences over varying lengths
and degree of overlap.   I can't think of a reason for the occurrence of
a mismatched cluster of ESTs (if by mismatched you mean
non-overlapping).  However, the statement that a transcribed_cluster is
a continuous sequence ( Transcribed_cluster is_a sequence_assembly) may
not be true. I think it would always be possible to produce an assembly
from the cluster.  However, whether that assembled sequence truly
represents the a real entity is questionable.  A cluster may just as
well be common for several alternative spliceforms as opposed to one
contiguous sequence.   Other errors are possible in putatively creating
such assemblies.
The case in point would be the most widely used cluster: the Unigene
cluster.  As a matter of philosophy they do not produce any sort of
consensus/assembly sequence as it would be putatitive and potentially
inaccurate as opposed to having been actually measured or at least
produced by human annotation.  Instead, the cluster is represented by
its best representative member- the  member with the "longest region of
high quality sequence data" (see
http://www.ncbi.nlm.nih.gov/UniGene/FAQ.shtml\)
For this,  it would seem that the existing term Exemplar_mrna
(SO:0000734). would make sense for a best representative sequence.
However, practically, it does not work well in a Chado database because
a feature can only have one type.  The same  feature cannot be both an
EST and an Exemplar_mrna.  So, it would be necessary to have the
exemplar_mrna feature that duplicated the EST feature.
Ideally I would want to represent a hypothetical cluster of two ESTs
where the second EST (Id = 3) would be  the best representative sequence
as follows:
Feature:  Id: 1      SO-type transcribed_cluster
Feature:  Id: 2      SO-type EST
Feature:  Id: 3      SO-type EST
Feature_relationship:     2 is a member_of 1
Feature_relationship:     3 is a member_of 1
Feature_relationship:     3 is an exemplar_of 1.
or
feature_relationshi
For implementation in a Chado database, creating a relationship
exemplar_of works better then as a feature type exemplar_mrna  No
duplication of records is required.  If the examplar of the cluster
changes this can be handled simply by changing (or deleting and
recreating) the exemplar_of  feature_relationship record.  I hope that
made some sense.  I don't know how familiar you are with Chado.
There may be other uses for exemplar_mrna .  (We actually may be
proposing an exemplar_protein type for another issue soon).  For our
purposes, exemplar_mRNA does not help.
All we would need is the transcribed_cluster and preferably unigene_cluster
+ transcribed_cluster
++ is_a unigene_cluster
along with the relations
EST/cDNA is member_of transcribed_cluster
Also, I think member_of works better than part_of because if there is
not assembly then I think an EST/cDNA would more accurately be described
as a member_of then a part_of a transcribed_cluster.  However, I am not
sure how you use your nomenclature to distinguish the two relationships.
I gather that where exactly transcribed_cluster fits into the ontology
is a bit of an outstanding question as the assertion Transcribed_cluster
is_a sequence_assembly does not always hold true.
Thanks very much,
Jeff Bowes
Karen Eilbeck wrote:
> Hi Jeff,
> I hope you don't mind me emailing you directly.
> I am working on your term request.
> I'm kinda struggling...
>
> So let me try to hash out a couple of things.
>
> 1. If transcribed_cluster is a continuous sequence then we could do this:
>
> Transcribed_cluster is_a sequence_assembly
> (def of seq_assembly is A sequence of nucleotides that has been
> algorithmically derived from an alignment of two or more different
> sequences.)
>
> Transcribed_cluster has_part EST/cDNA_clone
>
> The way I am thinking about this is that the transcribed_cluster is a single
> region, composed of many EST/ or cDNA clones. So the EST's would be various
> lengths with different degrees of overlap.
>
> Do you still want to represent the exemplar_mRNA? This would be the longest
> EST/cDNA but not necessarily cover the entire cluster - is that right?
>
>
> 2. But what if the cluster is made of mis-matched ESTs, I am not sure how to
> do that. It would have to be a kind of sequence_collection to start with.
> It would have members.
>
> Let me know which way you were thinking about this.
>
> Thanks,
> Karen

Updated by eilbeck on 2009-03-13 21:00 UTC

status: open --> open-accepted

Commented by bowesj on 2009-03-13 22:42 UTC
Hi Karen,
Thanks.
One note: I don't think "unigene cluster" works as a synonym of transcribed_cluster. The Unigene is a type of transcribed cluster that is produced by a specific algorithm. There are other algorithms that can be used to cluster sequences.  Some of these produce concensus sequences or assemblies and some don't.  So, there are transcribed_clusters that are definitely not unigene clusters.
Unigene cluster is the most common type of transcribed_cluster.  So, I still think
unigene_cluster is_a transcribed_cluster makes more sense.
Thanks,
Jeff

Commented by eilbeck on 2009-03-16 18:08 UTC
SO:0001458 - unigene_cluster
I think this covers it now.
--K

Updated by eilbeck on 2009-03-16 18:08 UTC

status: open-accepted --> closed-accepted


Rename long running test to run earlier

This means we won't be waiting on it at the end, as it likely finished
already given the multi-threaded nature of S-V.

Needing rebase


Overview page design

Testing: https://github.com/Microsoft/vscode/issues/55396
See screenshot below.  The actual description of the PR (first comment) is important but is actually the smallest visual element on the screen. It's overpowered by the commit below and by the large commenting box.
The description should be what's drawing my attention when opening the Description page of an open PR.

Here is a more drastic example of "overpowering":

All of these issues have been addressed via PR https://github.com/Microsoft/vscode-pull-request-github/pull/154


PHOENIX-4892 Unable to start load balancer with queryserver

Added phoenix_loadbalancer_jar path to phoenix_utils.py,
added phoenix_loadbalancer_jar to classpath in queryserver.py,
added service for registry in meta-inf

@joshelser can you review, please?

Ok, this looks good to go. Thanks for the quick changes @MrSandmanRUS.
Want to file another Jira issue to make sure the load balance jars make it into the normal phoenix-assembly tarball (and then, re-add the check inside of lib/)?

@joshelser yeah, I can do it, but can you help me, where I can find file with specification of libs inside phoenix-assembly tarball? Is it /phoenix/pom.xml? (main pom)

You need to add the phoenix-loadbalancer module as a dependency to phoenix-assembly/pom.xml. I think phoenix-assembly/src/build/components/all-common-dependencies.xml already has the necessary configuration in place to land the dependencies into lib/ for you.

Can I do it in current branch?

or is it better to create a new issue?

or is it better to create a new issue?

Create a new issue in a little bit please. I'm already working through applying this change :)

ok, thank you!


More explaination on Resource Provider & Manager Model

[Enter feedback here]It will be more nice if we can add more details about what is Resource Provider Model and Resource Manager Model, It is very difficult to get the concept y looking at this page
https://docs.microsoft.com/en-us/azure/governance/policy/concepts/definition-structure#resource-manager-modes

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9762f1b7-0e3a-d58f-fd99-a27ad948907b
Version Independent ID: 89e28332-184e-ba84-df1f-e7698c5e0f7c
Content: Details of the policy definition structure - Azure Policy
Content Source: articles/governance/policy/concepts/definition-structure.md
Service: azure-policy
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

@lalitkumarms Thanks for the comment.
Assigning @DCtheGeek for visibility, review and document enhancement consideration if appropriate.

@lalitkumarms Thanks for the feedback.  Since you are internal, I'll reach out to you internally to discuss.  Thanks.
@MicrosoftDocs/azure-cxp-triage #in-progress

@lalitkumarms Thanks for the feedback.  Since you are internal, I'll reach out to you internally to discuss.  Thanks.
@MicrosoftDocs/azure-cxp-triage #in-progress


Added font copy creation with variations

Is required for Servo's Webrender to up Core Graphics's version there and port Webrender to iOS.
@larsbergstrom

This change is

:pushpin: Commit 5c4334c has been approved by jdm

@bors-servo: r+

:hourglass: Testing commit 5c4334c120dc69da5f30edfdf225816000172b43 with merge 8b4364a4448ddd4a9c2cb14bc67c4b7271138cc4...

:sunny: Test successful - status-travis
Approved by: jdm
Pushing 8b4364a4448ddd4a9c2cb14bc67c4b7271138cc4 to master...


Need for accurate speed

This PR revisits the runtime implementation to do four things:

Decrease time to first page draw
Run Cmds in parallel
Evaluate tasks in the order sent
Split update from render

(cc @chuwy)

I have no way to demonstrate this, but the rendering is so much smoother in this version.


[CodeCompletion] Add tests for fixed cases

Just adding a test case since it's already fixed.
Until d78bf22413d71e3069b8ab0a14346e423213cc91, if there are multiple brace statements in an ASTNode, only the first brace statement is considered to be type checked.
rdar://problem/71001317

@swift-ci Please smoke test

@swift-ci Please smoke test macOS


Add configuration for autentication

I would like to configure different clients with authentication.
httplug:
  clients:
    guzzle5:
      factory: 'httplug.factory.guzzle5'
      plugins: ['httplug.plugin.logger']
    trans_logger:
      factory: 'httplug.factory.guzzle5'
      authentication:
        type: 'basic'
        username: 'foo'
        password: 'bar'
    microservice2:
      factory: 'httplug.factory.guzzle5'
      plugins: ['httplug.plugin.logger', 'my_cache_plugin']
      authentication:
        type: 'wsse'
        username: 'baz'
        password: 'biz'

What do you think? Is this something we should support? Do you like the config example?

I like this idea. Especially because I think authentication providers are easy to configure (in most cases).

Should authentication be on the plugin level (as it is itself a plugin) ?

I think so, since plugin client is already used.

@joelwurtz
I guess you could also do something like this:
httpug:
    plugins:
        authentication:
            name: 'my_auth'
            type: 'basic'
            username: 'foo'
            password: 'bar'
    clients:
        acme:
            factory: 'httplug.factory.guzzle6'
            plugins: ['httplug.plugin.authentication.my_auth']

Hm. What about "positioning" the plugin? We should check if log plugin is added and add authentication after?

Yeah. I agree with the "positioning".

i like the plugin proposal. is this not how we already do things? order
should follow the declaration order in the config. i would not worry about
debug mode

Using the "plugin proposal" makes more sense. But I have to modify it slightly:
httplug:
    plugins:
        authentication:
            my_auth:
              type: 'basic'
              username: 'foo'
              password: 'bar'
            other_auth:
              type: 'wsse'
              username: 'foo'
              password: 'bar'
    clients:
        acme:
            factory: 'httplug.factory.guzzle6'
            plugins: ['httplug.plugin.authentication.my_auth']


Update zio, zio-test, zio-test-junit, ... to 2.1.5

About this PR
📦 Updates

dev.zio:zio
dev.zio:zio-test
dev.zio:zio-test-junit
dev.zio:zio-test-magnolia
dev.zio:zio-test-sbt

from 2.0.22 to 2.1.5
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #171.


Review behavior for devices without LUN 0

Even though in practice devices without LUN 0 are unlikely, according to the SCSI specification they are not necessarily illegal. The current code appears to have issues handling such a device and thus should be reviewed and potentially updated.
Currently LUN 0 must always be present as long as there is still another LUN. In particular the error handling, REPORT LUNS, INQUIRY and REQUEST SENSE are affected. Looks as if in order to resolve this ticket the concept of a well-known logical unit (see current SCSI specifications) has to be implemented.

The latest SCSI Architecture Model specification (SAM-5) says:
All SCSI target devices shall support LUN 0 (i.e., 00000000 00000000h) or the REPORT LUNS well known logical unit. For SCSI target devices that support complex LUN structures (see 4.7.6) the LUN 0 or the REPORT LUNS well known logical unit shall be the logical unit that an application client addresses to determine information about the SCSI target device and the logical units contained within the SCSI target device.
This means that enforcing LUN 0, as RaSCSI does, is compliant, and no implementation of a well known logical unit is required.


Kicking travis: DO NOT MERGE

Signed-off-by: Manohar Castelino<EMAIL_ADDRESS>

Coverage increased (+0.03%) to 65.111% when pulling 45d8d59d92ce7cad5a56fc270c6e34cfb51b5b47 on mcastelino:topic/travis_dnsmasq into ec57763a867d3583922766033ada783346da6f6f on 01org:master.


add support for CPU and MPS

do not use distributed when not available, instead use CPU or MPS.
This entails a few changes:

--device is now a valid flag to the library since ilab can pass CPU, MPS, or default to cuda when using CPU or MPS,
do not initialize DS, instead put the model on the device and initialize Adafactor optimizer which is more efficient and than Adam based one
inside of train add logic for handling if torch.cuda.is_available and torch.distributed.is_initialized() we dont use distributed torch on consumer systems
the train loop needs some custom step and loss logic for a LlamaForCausalLM model, add that in when using CPU or MPS we are always world_size == 1 and local_rank == 0

Thank you for this PR, we'll just need to test this to make sure it works with all systems.

e2e is broken because ilab doesn't have the changes needed to use this new CPU capable training method.
However, there's no way for me to fix this upstream first bc then ilab CI will break due to not recognizing the training changes since they don't exist yet.
This seems like a pretty circular dep, I will try to find a way around it

This PR is very valuable. It proves that the existing training loop is minor-modification away from being accelerator-agnostic. However, there are some things that make merging it challenging:

The cuda+distributed case are woven together. The vector of acceptable target hardware is:
[CPU, MPS, Habana, ROCm, Cuda, Habana+Distributed, ROCm+Distributed, Cuda+Distributed].
MPS doesn't support quantized training down this route because those layers don't exist in native PyTorch. That means this is a feature regression.
Each of the setup components + the training loop become "braided" because we have to handle the two addressed hardware classes separately.

These are criticisms that shouldn't be taken as being heavier-weight than the praise of success for getting this working. Ultimately, I don't think that we should merge this now. We're going to be working toward support for two new classes of accelerator, using a new distributed training framework. I think that work will be easier to accomplish if we don't have the outlier CPU and MPS hardware to worry about.
That being said, I don't want to discard this work at all. I'd advocate for it to be "frozen" for a bit until we have more control over the training strategy for the "harder" cases before we adopt these simplest cases.

@cdoern since you've merged CPU + MPS training in instructlab/instructlab should this stay open?


Tidy for STO Admin Post GA

Tidy for STO Admin Post GA
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[x] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65b418c7b7d1d8100f756cc7--harness-developer.netlify.app


The new calendar icon for .ics file download needs tooltip / title

What happened?
The new icon on the http://localhost:8000/wg/ipsecme/meetings/ page for downloading .ics file is so "abstract" that it needs tooltip to explain what it is. It looks like monitor with title bar on the top, but I think it is supposed to be some kind of calendar... The old icon was bit more understandable, but we should add a check that you can't use any kind icons without tooltip text that explains what it does.
For example on the page http://localhost:8000/meeting/113/session/ipsecme we do have multiple similar icons, but all of them (including the download calendar file icon) do have tooltips which explain what they do.
I was wondering can we make a test that goes through all the html templates we have and verify that any of them using any of the icons do actually also include tooltip?
What browser(s) are you seeing the problem on?
No response
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

Pick a different one from https://icons.getbootstrap.com/?

Lars Eggert writes:

Pick a different one from https://icons.getbootstrap.com/?

I think better fix is to add tooltip, as almost every other icon
already has. For example this same icon on the agenda page etc do have
tooltip, so why not add one here too. That would solve the problem
properly.
Even if I pick another icon, there are probably going to be someone
who complains that specific icon is not good, so changing the icon
does not really help (now when I know what the icon is supposed to be,
I can understand it, but when I first encountered it it looked more
like screen icon that calendar icon, and as both of them would have
worked in the location (i.e., calendar vs meetecho link) I was
confused until I noticed that link points to the url ending in .ics).
@.***

screenreaders probably do poorly with icons - tooltips are likely to help.
Tooltips are easy to do - is there any reason to avoid them?
(This is also a class of things that we can try to get professional help with)

A tooltip is fine, just add a title attribute on the icon.


Improve bug report templates

To improve investigation
Add address
Transaction best
url of item
Expected behavior
What's actually happened

should be pr

https://github.com/kodadot/nft-gallery/commit/6edab9eb91bff9d9b81e8c2d051243eade7f9989


If no-consecutive-blank-lines is set to false or [true, ] in tslint.json blank lines are always collapsed to one

Having this file (with 4 empty/blank lines):
const x = 'hello';

console.log(x);

and tslint.json:
{
  "rules": {
    "no-consecutive-blank-lines": false
  }
}

Running tsfmt -r replaces the file and removes consecutive blank lines as this:
const x = 'hello';

console.log(x);

Expected behavior
I expect the output file sill has consecutive blank lines (as the original) since no-consecutive-blank-lines is explicitly set to false. If tslint.json contains "no-consecutive-blank-lines": [true, 2] I would expect the output file gets removed some blank lines but keeps two of them. Instead every time no-consecutive-blank-lines is set to something all blank lines are collapsed to one.
If I run npx tsfmt --no-tslint -r then blank lines are not removed. The same if I take off the option of tslint.json at all.
By the way, why that option needs to be addressed here in a postprocessing? Isn't that on the tslint realm? Users can just run tslint --fix and let it take care of this.

I believe this is due to tslintjson.ts ignoring the value of no-consecutive-blank-lines.
    if (rules.has("no-consecutive-blank-lines")) {
        formattedCode = formattedCode.replace(/\n+^$/mg, "\n");
    }

Looking at the block of code, it could probably be a bit more robust, since it fails for Windows newlines (CRLF) and also doesn't account for "whitespace" blank lines.


Create Namespaces Button not visible when using "Flat List" view

Internal Reference: SURE-5787
Some work was done here: https://github.com/rancher/dashboard/issues/5120
.. but as an admin, in the flat view on Projects/Namespaces, there is no button to create a namespace.
If you go to the grouped view, you can add a namespace in the 'Not in a Project' section.
You should be able to create a namespace in the flat view.

@bisht-richa If you're working on this - can you move this to working, please?

Engineering to create automation for this to help with testing in #8784


⚠ Bofrost.at has degraded performance

In 0839172, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2053 ms

Resolved: Bofrost.at performance has improved in 414fd00 after 6 minutes.