Test multi-round consensus

We should write some tests where the nodes are deliberately rejecting nominations for several rounds until one is accepted at a round R, where R could be arbitrary high. In this PR, I check the consensus round will reach above 1 with nodes unable to respond for a while.
Relates #1080

This needs a rebase.


Remove graphviz_transitions dependency

This was added in 2c7c7df4ed, but I suspect nobody knows it's there or how to use it.
The answer is:
rake transitions:draw CLASS=Edition

Which used to produce a nice PNG image like this:

Unfortunately, this has been broken since rails 5 because of a breaking change to the .parameterize() method - https://github.com/itkin/graphviz_transitions/pull/1
Less dependencies is better dependencies, so let's bin it.

This diagram is also already in the codebase in plant UML form - https://github.com/alphagov/whitehall/blob/main/docs/diagrams/edition_state_transitions.png


python -m unittest fails with large number of processes

Running mpiexec -n 4 python -m unittest on master fails with:
===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 17975 RUNNING AT antsatel03
=   EXIT CODE: 139
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================

We need to investigate this

Guilty test is
hpat.tests.test_hiframes.TestHiFrames.test_crosstab_parallel1

In many cases, parallel crashes are caused by some parallel routine called with small chunks of data on some processor, which triggers some corner cases.


Can't use the example - error on execution

I get this error after implementing the example shown:
main ERROR Console contains an invalid element or attribute "ExtendedJsonLayout"
What is missing?

Hi @ChuckBell
Which version of Log4j and which version of the extended-jsonlayout plugins are you using?

Hi. I have Log4J v2.11.2 and extended-jsonlayout v2.8.0.
Maven reports Java v1.8.0_212.
On 7/4/19 5:19 PM, Jeremy wrote:

Hi @ChuckBell https://github.com/ChuckBell
Which version of Log4j and which version of the extended-jsonlayout
plugins are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/savantly-net/log4j2-extended-jsonlayout/issues/3?email_source=notifications&email_token=AB6SHYAXYFMIMBSZK57SBKLP5ZSM7A5CNFSM4H46RS32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZIEUKY#issuecomment-508578347,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB6SHYEJVD3SP3KKBQ63GBLP5ZSM7ANCNFSM4H46RS3Q.


npm ERR! missing script: start

Hi, I'm very newly to React Native and try to test your project, but it give me error like this
npm ERR! missing script: start
I hope you find the solution, thank you!

It's problem with start script of package.json.
I don't find the good option, please can you help us and say us more about your developement environement?

Hi @hamzahalvanaa  and @polargeex , sorry I missed this issue un-noticed.
Now I have added the start script:
npm start and npm run build are available now.

it's a shame, I stayed all night and it works for me with my fix. It was a bit hard to discovery react and node js ;-)
I will test your last version as soon as possible.
Thank you very much!


[GSSoC23] Brain Tumor Detection

💥 Proposal
Making a brain tumour detection model using deep learning models. It will be deployed using Django as a web app where users can submit the MRI picture of their report and using deep learning models and MRI reports, they would be provided with the output.
Tech Stacks: Deep Learning and Image Processing

@dishamodi0910 - we already have many such similar issues (#114 #36). Hence, we won't be able to assign you this issue.


I have some lua errors when compiling 0.6.3

Describe your problem here.
When I want to compile an 0.6.3 psych engine, it sends me these errors :
source/FunkinLua.hx:491: characters 10-15 : Class<llua.LuaL> has no field error
source/FunkinLua.hx:509: characters 10-15 : Class<llua.LuaL> has no field error
source/FunkinLua.hx:515: characters 10-15 : Class<llua.LuaL> has no field error
source/FunkinLua.hx:567: characters 10-15 : Class<llua.LuaL> has no field error
source/FunkinLua.hx:573: characters 10-15 : Class<llua.LuaL> has no field error
source/FunkinLua.hx:613: lines 613-617 : Int should be Bool
source/FunkinLua.hx:613: lines 613-617 : For function argument 'f'
I replaced the files with another, but it doesn't work, and I re-installed linc_luajit and hxcodec. I'd like to have some help 👍
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.


Release gax-java v1.53.0

This pull request was generated using releasetool.
01-09-2020 10:51 PST
New Features

feat: enhancement for Batcher api to address bulk read (#833)
feat: implemented watchdog as BackgroundResource (#838)
Create a executorService with a separate pool of threads for channelpool (#836)

Bug Fixes

fix: allows retries when setting maxAttempts without setting TotalTimeout (#835)

Implementation Changes

bazel: Replace native maven_jar rule with jvm_maven_import_external (#837)
cleanup(batcher): removing the non-applicable TODOs comments (#834)

Dependencies

Update dependency org.easymock:easymock to v4.1 (#821)
Update dependency com.google.auto.value:auto-value to v1.7 (#806)

Internal / Testing Changes

Bump next snapshot (#840)

Release is at https://github.com/googleapis/gax-java/releases/tag/v1.53.0

The release build has started, the log can be viewed here. :sunflower:

The release build failed! Please investigate!

The release build has started, the log can be viewed here. :sunflower:

The release build failed! Please investigate!

cc @chingor13
> Task :closeRepository
Requested operation wasn't successful in first try. Retrying maximum 20 times with 2 seconds delay between.
Attempt 21/21 failed. WrongNumberOfRepositories was thrown with message 'Wrong number of received repositories in state 'open'. Expected 1, received 6'. Giving up. Configure longer timeout if necessary.

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


Add support for standardized initialization script location within the project structure

There is currently no way for a project to contribute an initialization script through the use of a conventional name or location.  Please add a project-level location (e.g., "${rootProject.projectDir}/init.d/") so that projects can leverage this capability without having to integrate with system-level or user-level locations.
Expected Behavior
Initialization scripts are currently searched for in the following, ordered locations:

The command line --init-script argument(s)
USER_HOME/.gradle/*.init.gradle(.kts)
USER_HOME/.gradle/init.d/*.gradle(.kts)
GRADLE_HOME/init.d/*.gradle(.kts)

This feature request is that a project-specific location is inserted between the command line and first USER_HOME location.
For example, if there was a file named project.init.gradle.kts as a sibling next to the settings.gradle file, this could be detected and automatically included as an initialization script when running Gradle against that particular project.
Current Behavior
Currently, there is no way for a project to specify initialization behavior outside of  the use of the command line.
Context
Some build configuration and/or tuning options are only available for dynamic modification through the use of the command line or initialization scripts.  One example of this is the maximum Gradle worker count, which can me modified by calling:
     gradle.startParameter.maxWorkerCount = tunedWorkerCount

In our scenario, there is a wide variance in the capabilities of various machines performing the build.  Using a static configuration results in some nodes being overwhelmed while others are under-leveraged.  We have developed an algorithm to dynamically tune aspects of the build  that we can control and are limited as to where in the build process we can effect these changes.   The only option we have here is the use of the command line option, but getting users and environments to all specify the correct values is lossy (i.e., some users  and/or calls will forget to add the option) and brittle (changes to the call over time need to be manually propagated).
One aspect of the above is the split between command line invocation of Gradle and that done through the IDE.  In our scenario, AndroidStudio (based upon IntelliJ) allows for configuration of additional Gradle command line arguments but places the configuration in the user-specific workspace.xml, meaning that changes to the file must be made by the user, and are therefore brittle as their environment changes, etc..  If the proposed initialization script approach was leveraged, the project configuration  could be dynamically set and apply to both CLI and IDE invocations automatically.

We did come up with a workaround to the above but it is a bit of a Rube Goldberg machine:

Create a plugin in buildSrc which deploys a bootstrap init script into ${gradle.gradleUserHomeDir}/init.d/repo_init_bootstrap.gradle.kts.
When Gradle is invoked, the bootstrap script looks for the presence of a project.init.gradle.kts script in the project  being built.  If it exists, it does: apply { from(repoInitFile) }}
The project.init.gradle.kts script then does project-specific  logic.

The above:

Works for all but the first invocation of Gradle in a particular environment.  This is the primary weakness.
Works for CLI and IDE calls
Allows for the logic to NOT be leveraged for repos that don't "support" the idea (since they wouldn't likely have an init
script in the location being applied)
Tries to keep the bootstrap as logic-free as possible, immediately redirecting back into the repo for the actual  project-specific logics so that it is under version control / is associated with a particular branch, etc.

It could be great to be able to use this path also:  /gradle/wrapper/init.gradle
It is very painful to publish our custom gradle wrapper only for packaging a /init.d/init.gradle

This approach looks more like a workaround. Init scripts aren't really intended for the project-specific configurations. We'd rather try to expose necessary configuration APIs to the settings script. Please feel free to file issues to request more APIs there.


Able to generate new certs but can't renew one

Generating a new cert works well, but when renewing the cert is the case, it fails.
I'm sure that my server is publicly accessible (generating new cert is working as well). Here's the log for renewing.
Thanks.
[1/27/2020] [10:17:04 AM] [SSL      ] › ℹ  info      Renewing Let'sEncrypt certificates for Cert #1: mydomain.me

[1/27/2020] [10:17:28 AM] [Express  ] › ⚠  warning   Command failed: /usr/bin/certbot renew -n --force-renewal --disable-hook-validation --cert-name "npm-1"

Saving debug log to /var/log/letsencrypt/letsencrypt.log

Plugins selected: Authenticator webroot, Installer None

Renewing an existing certificate

Performing the following challenges:

http-01 challenge for mydomain.me

Using the webroot path /data/letsencrypt-acme-challenge for all unmatched domains.

Waiting for verification...

Cleaning up challenges

Attempting to renew cert (npm-1) from /etc/letsencrypt/renewal/npm-1.conf produced an unexpected error: Failed authorization procedure. mydomain.me (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://mydomain.me/.well-known/acme-challenge/THE_ACME_KEY: Timeout during connect (likely firewall problem). Skipping.

All renewal attempts failed. The following certs could not be renewed:

  /etc/letsencrypt/live/npm-1/fullchain.pem (failure)

1 renew failure(s), 0 parse failure(s)

what worked for me is to change the npm-x.conf where x is your certificate to
[webroot_map] yourdomain.whatever = /var/www/html/
seems that the webroot is originally set to /data/letsencrypt/... but this is not the folder that nginx serves as webroot

I'm able to replicate the issue, looking at fixes.

Can anyone who has problems renewing certs manually, try this new docker image:
jc21/nginx-proxy-manager:github-develop
and let me know how you go.

deployed, but i don't have any cert in renew period
I used --dry-run and failed, seems with the same issue because I checked the .conf file of the cert and remains the same
Do I have to do a clean deploy? or maybe generate a new cert and try to renew that?

I'm sorry that my server is down due to service migration. Will try in 3 days, thanks.


Drop linking Vulkan directly

The vulkan-wrapper helper library's purpose is to eliminate the need to link targets directly to Vulkan, and load it dynamically instead at runtime, using dlopen and LoadLibrary.
Remove the direct linking of the Vulkan library from targets that link to vulkan-wrapper.
Fixes #1999

Merging as discussed in the July 9th teleconference.


Look for any open pull requests in the repository with the title "e2e-tests update" and
see if there are recent e2e-tests updates that will be applicable to your change.

/ok-to-test


Curseforge Request

Hello!, i think your mod is really cool and would love to use it in my modpack but unfortunately its not on curseforge, any chance you could make a page for it?
(if not no worries just thought it was worth an ask)

Hi!! This mod is MIT licensed. I'm not a lawyer, but I think you can use this mod in your modpack without uploading it to CurseForge.

Additionaly you can upload this mod (fork) to CurseForge

Additionaly you can upload this mod (fork) to CurseForge yourself

Technically, yes, but I'm not exactly sure how comfortable I feel with my mod being reuploaded to CurseForge. I've been meaning to look into this so I can upload it myself, but haven't gotten around to it yet.


FancyZones Editor error: monitor match not found

ℹ Computer information

PowerToys version: 0.27.0
PowerToy Utility: FancyZones
Running PowerToys as Admin: Yes
Windows build number: [run "winver"] 20H2 19042.662
Note: Dual monitor. Problem is with external monitor
Selected Monitor : Dell UltraSharp U3415W @ 3440x1440

📝 Provide detailed reproduction steps (if any)
1.Open PowerToys Settings
2.  Select FancyZones
3. Select Launch layout editor (dialog box, then editor is displayed -- see actual results and images)
4. Select 2 column priority grid
5. Select Custom
6. Add two zones
✔ Expected result
What is the expected result of the above steps?
The zone editor is displayed with zones that can be resized and/or moved. at actual size and area of the monitor
❌ Actual result
What is the actual result of the above steps?

A dialog box is displayed saying "Match not found (5709,2520,2394,1596)
Upon clicking "OK", the zone editor is displayed.
Upon selecting "Custom", the zones are displayed, and they are not correctly sized or spaced to allow them to be edited correctly.

📷 Screenshots
Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

@richsidney
how many monitors do you have?
For each monitor can you please indicate the native resolution and the scaling as they are reposted in the Window 10 Settings -> System -> Display?
Thanks.

Monitor 1: Built-in: Resolution: 2736 x 1824;  Scale @ 200%
Monitor 2: Dell UltraSharp U3415W Resolution: 3440x1440; Scale @ 100%
Note that computer is a Surface Pro 5, if that helps with the hardware determination.

@richsidney
still the same problem with 0.27.1? https://github.com/microsoft/PowerToys/releases/download/v0.27.1/PowerToysSetup-0.27.1-x64.exe

Seems to work much better. I was able to create the zones I wanted (which is basically the Priority Zone, reversed).
Thank you

Closing the issue for now. Please reopen if it will happen again.
Thanks.


Typo in 'Allow image/link previews'

Small typo in the text for 'Allow image/link previews' user doc:

the content will be showed.

Should be 'shown.'

@aklap A pull request would be awesome here, instead of an issue :)


Missing temp and model directories

Describe the bug
It seems like the commit might have excluded 2 important directories. */temp and */model/audio/
To Reproduce
Steps to reproduce the behavior:

Clone the repository
Run it
See error

Expected behavior
A response would be generated with the synthesized TTS.

Hi @FrostXD05,
Thank you for bringing this issue to our attention. I understand that you're encountering issues due to missing directories, specifically */temp and */model/audio/.
At the moment, the models such as so vits, live2d, and others are not open-sourced and hence are not included in the repository. This is the reason you're unable to find these directories.
As a workaround, I would recommend you to explore Hugging Face or similar platforms where you can find various pre-trained models that might serve your purpose. You can download and use those models as per your requirement.
I apologize for the inconvenience caused. I'm planning to open-source these models in the future. Please keep an eye on this repository for updates.

model/audio
there 2 files
audio.json
audio.pth
/mode/live2d
add your live2d model here
/temp

Hi @FrostXD05,
Thank you for your continued interest in our project. Here is the structure and description for the directories/files you asked about:

model/audio: This directory contains two files:

audio.json: This file holds the configuration parameters for the audio model.
audio.pth: This file is the actual trained model.

model/live2d: This is the directory where you should place your live2d model files.

temp: This directory is used for temporary storage during the runtime of the program. You can leave it empty.

api_key.txt: This is the file where you should place your Gemini API key(s). If your project on Vertex AI is billed (not free), one API key should suffice. However, if it's not, you might need more than one key. Here's an example of how it should look:

AIdwqe32rjio3wjdxsadwdqdoqpdqodj
AIdowqpkej3porfjfpow3rfjwpfjwoefjfe
AI2353t09jegifjw94jtopwejgpwjgoep4
(example)

Please replace the keys above with your actual API keys. Each key should be on a new line.
I'd like to provide you with a temporary preview of how the project should look like when it's set up correctly. Please refer to the image attached below:

Please note that this is a temporary layout and may change as the development progresses. Currently, our main focus is on enhancing the functionality of the AI.
I hope this helps. If you have any more questions or encounter any issues, feel free to ask.


Issue #60: addition of SRS background and definitions

## GitHub Issue
Issue #60
Description
title
How I tested
Locally compiled the pdf.

In your business use case diagram and other diagrams make sure to show that the user can also provide digital files as input to generate sheet music, not just analog

add set clef in the score parameters column for the last picture


[modify] inquiry: disable upload_file in post_db

Coverage decreased (-0.001%) to 83.382% when pulling deaade9db27253a76e9012dfe5526bc57694c766 on tany:inquiry-uploadfile into 5e965a46348ad0a75847704a7bd15dab82f61917 on shirasagi:master.


Case labels missing from all views except HLIL

Unlike assembly view the IL views do not show the case labels for resolved jump tables.

The case labels in asm view were broken in 2.4.2900 with commit https://github.com/Vector35/binaryninja/commit/039aee205de3625a3b4c5bc99891fff2c5a932fc


Update Sourcify plugin

Updated chains list
Focus filePanel after fetching contract
Use 'open' fileManager call instead of the deprecated 'switchFile
Fix non-checkSumAddress link after verify

Also the plugin is in another repository than the documentation field. Where would be the best place to link the git repo? https://github.com/sourcifyeth/remix-sourcify


Use importlib.metadata first to avoid deprecation warnings

Overview
Tries first to get the package version using importlib.metadata. This should be enough to avoid the DepracationWarning discussed in the related issue.
Related Github Issue
#862

 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.

I've included another commit to retrieve the package distribution name when a module is provided. Without that, the reported warning can still happen, when the module (attr) is provided instead of the package name (attrs).

Codecov Report

Merging #878 (b8f65fc) into main (238b64d) will decrease coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #878      +/-   ##
==========================================
- Coverage   81.55%   81.40%   -0.16%
==========================================
  Files         184      184
  Lines       18584    18589       +5
  Branches     3255     3255
==========================================
- Hits        15157    15132      -25
- Misses       2514     2543      +29
- Partials      913      914       +1

Files Changed
Coverage Δ

newrelic/common/package_version_utils.py
98.00% <100.00%> (+0.22%)
:arrow_up:

... and 5 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks for the contribution!  I was going to include something like this in our Python 3.12 support work, but there is no reason we can't commit this sooner.  I just reshuffled some tests and added a conditional that will allow for the agent to continue supporting versions of Python below 3.10.

Thank you, @lrafeei!


Latency Tensorflow serving with docker for video analysis

I would like to ask a question regarding the response time of a tensorflow model in docker. I transformed a Yolo model from .h5 into a model API with the function.
I use a Ubuntu machine with an i9 CPU and an RTX 2080 TI graphics card
Model.save(
    filepath,
    overwrite=True,
    include_optimizer=True,
    save_format=None,
    signatures=None,
    options=None,
)

I took a docker image from tensorflow/serving:latest-gpu which I copied my models as follows:
FROM tensorflow/serving:latest-gpu
COPY models /apps/
EXPOSE 8500
EXPOSE 8501

I wrote the following script to analyze a video
img = img.astype('float32')
    img = img / 255.0

    data = json.dumps({"signature_name": "serving_default", "instances": img.tolist()})

        }

    headers = {"content-type": "application/json"}
    start_time = time.time()
    json_response = requests.post('http://<IP_ADDRESS>:8501/v1/models/vetements:predict', data=dat   a, headers=headers)
    print("--- %s seconds ---" % (time.time() - start_time))

    predictions = json.loads(json_response.text)['predictions']

my question is as follows the rest time to analyze a single image is 0.5 seconds, please does it have a way to speed up the execution of analysis
thank you

@userEnsb
Please create this issue in serving repo and move this to closed status a sit is tracked at the serving repo.


Add k double auction simulation

final rough draft of k-Double Auction simulations...

Coverage remained the same at 73.881% when pulling d5ad7088c5dc516eba39801ce186f3b3111db61b on add-k-double-auction-simulation into f6a86a5836b1518aabda1d03c4d20c8177aa6259 on develop.


Screenshots outdated

Screenshots of the portal need review.

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

ID: 76dc173c-0c98-1b94-a2f7-0a34781c985a
Version Independent ID: a1c44ccb-67f3-f98e-6569-f938e88ddc63
Content: Set the phone numbers included on invites - Microsoft Teams
Content Source: Teams/set-the-phone-numbers-included-on-invites-in-teams.md
Service: msteams
GitHub Login: @tonysmit
Microsoft Alias: tonysmit

@joturans Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@joturans thank you for reaching out and helping improve MS Docs. Are you referring to a screenshot in the article that needs updating, or are you recommending a new screenshot to be added to the article?

@joturans  We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

The existing screenshots are outdated. They show the old Blue themed Teams admin portal, it's now purple.


Windows install dir

Hi,
Is there an option to install the windows app NOT on C:\ drive ?
e.g.: E:\Program Files.....

i would like to install this another drive also. dont have enough space on c:
will instructions be added how to install to another drive? or option with the windows installer?

We don't offer support for system service install today.  It always installs in your user home directly. After install, you can change where the models are stored by following the instructions here https://github.com/ollama/ollama/blob/main/docs/faq.md#where-are-models-stored

can you add /silent mode to installer?  and also add install method using powershell with iwr to download the script like you do for linux/mac with curl ?

I have found 2 working methods so far, documenting it in case it helps somebody.

Locate the file directory and move it to your desired location and add the new directory to your system path so that the Ollama executable can be found.
Use winget to install (One time) and update Ollama (Every time you need to update). Make sure you use the location flag for both commands. If not, the update will reset to the default location.

winget install -i -e --id Ollama.Ollama --location D:\Apps\Ollama
winget upgrade -i -e --id Ollama.Ollama --location D:\Apps\Ollama

The second method is my preferred one. Please note that -i flag makes the installation interactive. Remove it for unattended installation.


Aggegate bonded - Failure_Core_Future_Deadline

fixes #1490

@bassemmagdy looks like the number of API calls to the /time endpoint is too big. Please check video:
https://share.getcloudapp.com/BluxeB7B
Maybe wallet should have only time synchronization periodically called like once per minute?

Can we just call the time api on the connected node manually, get the server time and hold the time difference in the state in milliseconds and create the deadline by using that difference when constructing the transaction?

do you mean we create we keep the deadlines objects in store till we need them in transaction building?

update in #1713


dormers, bajri (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


Bias gradient support?

I was wondering if there are any plans to support gradient flow back to biases that are added to the score function. For instance, if I add a scalar to the: score + b where b is coming from a learnable projection, the gradients should flow back to those layers.
Currently, I get the following error when I try this:
AssertionError: Captured buffers that require grad are not yet supported.
This feature would be very useful for the attention mechanisms in AlphaFold for computational biology (a lot of pair biasing in those attention components).

Makes sense, we very much plan to support this however there is some complexity on how you generate the bwd for this because broadcasts in the forward become reductions in the backward. We are discussing the implementation now and I will keep you posted

Sounds great, thank you!

+1 to this request! It would be very useful for T5-style learned relative positional biases
def learned_relative_positional(score, b, h, q_idx, kv_idx):
    r_pos = (q_idx - kv_idx)
    return score + pos_emb[r_pos]

Another update, we recently released a preliminary open source implementation of AlphaFold3 here: https://github.com/Ligo-Biosciences/AlphaFold3.  The model is still not nearly scalable as it could be and attention ops are memory bound for the most part. I can migrate to FlexAttention as soon as there is bias gradient support!

Another +1!
I would be interested to have a support for a function like that:
def wrapped_agraph(distances: Tensor, distance_encoders: Embedding):
    """
    wrapping score modification function for flex

    distances - torch tensor [batch_size, seq_len, seq_len], example: torch.Size([32, 49, 49], int matrix
    distance_encoders - Embedding layer [embeddings_count, heads] (see: from torch.nn import Embedding), example: Embedding(13, 16)
    """
    def agraph(score, b, h, q_idx, kv_idx):
        idx_d = distances[b, q_idx, kv_idx]
        return score + distance_encoders(idx_d)[h]
    return agraph

Another +1

We are actively working on this now, will post back here with further updates

+1 see #69

Will have updates soon :)

Thanks for the update! Will try out when available. Do you have a release timeline? @drisspg

interested as well

We have a working implementation in the nightlies (PR: https://github.com/pytorch/pytorch/pull/137452).
Earlier, we asked for feedback on a particular trade-off we needed to make to implement this: speed vs. extra memory. People said they would sacrifice some speed to avoid having to realize a full (Batch, N_Heads, Seq_len, Seq_len)attention score.
This is what we have implemented in the above PR. It will produce a grad_bias that is the same shape and utilizes atomic writes to accumulate broadcasted gradients from the forward pass. This does, however, incur a non-zero performance penalty. I have seen this range from 2x slower backward pass to ~10x slower (in a pretty adversarial case).
I am currently profiling and categorizing the performance characteristics of the solution and working with some Triton folks to find ways to optimize. Another caveat is that it's non-deterministic.
TLDR: You can kick the tires today if you install nightlies.
I would love for people to provide real-world use cases I can use for testing. Feel free to comment on this issue with real-world examples I can measure performance on.
I'm excited to see what people build 😊!

Thanks for the update! I can share an implementation with graph network:  https://github.com/rainmaker22/SMART/blob/main/smart/layers/attention_layer.py
The project is for predicting multi-agent behaviors in driving scenarios. We need to relative relations between agents and have to involve per-Q-K relations into the attention scores. The above implementation actually perform quite well. But it doesn't use any flash/flex attention to accelerate the scaled dot product.


user can specifies the certificate directory

What type of PR is this?
/kind enhancement
/kind good-first-issue
/kind feature
What this PR does / why we need it:
In order to make the certificates of yurt-tunnel components can be saved in any directory that user wants to save.
Which issue(s) this PR fixes:

Fixes #409
Does this PR introduce a user-facing change?

user can use --cert-dir parameter to specify the directory of certificate about both yurt tunnel server and agent.

/lgtm
/approve

/approve


Add Chronosphere to vendors

😄 💚

@paigerduty Thanks for the contribution! Two things:

Could you sign the CLA?
Is there a link or place in the Chronosphere docs that mentions OTLP support specifically? We're likely to audit this page to make sure each entry links to a docs page demonstrating OTLP support + Distro support if they're listed in the table. The page you linked does include the OTel logo, but doesn't mention anything about sending OTel directly to Chronosphere's endpoint.

Could you sign the CLA?

absolutely! working on finding the right signing manager for my organizatoin

Is there a link or place in the Chronosphere docs that mentions OTLP support specifically?

oh gosh yeah let me see how quickly I can get a website update noting that!

/fix:format (testing a new automated script)

@paigerduty any updates here w.r.t. docs page and signing the CLA?

@paigerduty any updates? If you can not sign the CLA please close the PR, if you need any assistance with signing the CLA please let us know.

Closin' out since it's been a while -- please ping if you'd like this re-opened.


compute a file index

Start computing a static list of JS files

Renamed hasher.js to scanner.js as now it can return both the list of JS files in the subtree as well as the hash-code.
This paves the way to us using the static list of files to validate the break point requests against rather than the dynamic list of files loaded in V8.

@matthewloring PTAL.

LGTM


DOM error when submitting a reply

Whem submitting a reply to a comment, you get a console error if you're not part of STAFF
Error looks like:
Uncaught Error: A DOM element reference is required		app.js:11938
ClassList											app.js:11927
module.exports									app.js:52973
CommentsView.newreply							app.js:975
Emitter.emit										app.js:52035
(anonymous function)								app.js:47521
(anonymous function)								app.js:17782
Request.callback									app.js:17509
(anonymous function)								app.js:975
Emitter.emit										app.js:17854

@gvilarino Couldn't reproduce it, maybe it's fixed now?

I couldn't repro easily. Try mixing admin and non-admin users
Sent from my iGameBoy
On Fri, Feb 20, 2015 at 9:50 AM, Matias Lescano<EMAIL_ADDRESS>wrote:

@gvilarino Couldn't reproduce it, maybe it's fixed now?

Reply to this email directly or view it on GitHub:
https://github.com/DemocracyOS/app/issues/492#issuecomment-75286529

nothing :S  Tried with both users, on Safari, Chrome and Firefox.

:closed_book:


cam subfolder leads to error when running install.sh

Hello,
When I run ./install.sh  the default for cam subfolder is "html"
However when the installation runs, I only get error message saying "no permissions".
What is the use of this subfolder ? Is it necessary for the use of the appli and the camera, or is it use for storage of pictures and videos ?
Is it better to give permissions to html folder ?
I'm lost with this option which is not really documented in installation guide.
Thanks in advance for help !
Pierre

This app runs fine on all Raspberry models from zeroV1 up to Pi4. One of my cameras is on a Pi3B. Bullseye also works OK but because this OS has disabled the legacy MMAL support that this app uses then this has to be renabled. The install script does this automatically. Buster still has the MMAL support ; the script detects this and does not have to do this step.
You should not create a subfolder yourself. If you just name the subfolder then the install script will create it with the right permissions and then copy all the web server files into it.
www-data is the user account used by the web server to restrict its access to files outside as a security measure. User pi can read what's under the web server but can't write there unless its given root permissions with the sudo command. That should be unnecessary for normal operation.
If you are still having problems then I recommend starting from a clean OS install and then let the install.sh do all the work. This has been tested on lots of Raspberry systems.

I've installed a new clean OS. But now, I can't get r
the clone from github. When I run the commaNd I'm prompted to enter user and password...
Is that normal and how to get these infos ?

I've installed a new raspbian version lite (bullseye). I"ve activated the legacy camera.
I still encounter issues with permissions denied on the macro subfolder
sh: 1: /var/www/html/macros/error_hard.sh: Permission denied
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
Also when I connect to the server by RPI ip_addess/html I get the page of the appli, but with error message about P
Raspimjpeg. I tried to launch the commands but always get errors.

I've again created another raspbian vesrion : Buster instead of Bullseye.
with this version and with camera activated in raspi-config the installation worked without any issue and tha appli works fine !`

OK. Good that you got it working under Buster.
It does what work under Bullseye which requires the legacy camera support but you should not try to enable that manually; you should just let the script do the work.

I'll perhap make other tries with Bullseye when I'll have time to do that. I had already tried with enabling Camera legacy manually in raspi-config, and also without enabling it. But in the 4 tries I made, I never succeed to get system working under Bullseye.
Next step for me : configure and use PIR. When all will be Ok, I'll insert everything in an outdoor case dedicated to wildlife watching !
Thanks a lot for your precious help.
Pierre

Hi,
I thought that all was ok. However from this morning I encounter an issue that I expected was no more there.
Ghe appli is installed, but when it tries to open camera I always get an error related to raspimjpeg and instructions are not correct for repair or update.
Hereunder is a copy of the screen showing the error.
What can I do ?

I had a notification email that you were getting raspimjpeg error but the comment is not showing up here for some reason.
First step is to check the ribbon cables to camera as this is a common cause of this fault. Also check and press down the mini ribbon cable on the camera module itself. Second issue can be if power supply is marginal as the extra power drawn by the camera can make the connection unreliable.

Hi Robert,
You're true. I had deleted my message because I had found the source of the issue. I think that it was due to the small micro ribbon near from the lens. The componet was not completely pushed in its socket. I also reajusted the cable on the raspi socket.
I thought that the issue could be due to a corrupted component in the OS and app and hed recreated a clear one, but issue was still there. I made a test with anoter video capture program that I also use (motioneye), but the vue of the camera was not correct too. Then I checked the ribbons ans sockets and after readjust all the issue was left.
Then I deleted the comment in order not to disturb with false error source !
The screenshot was this one 👍


Added Coding Ninjas to coding

Related Issue
Closes #738

Description
Hey, @JasonDsouza212 I have added coding ninjas to coding platforms. Please review my pr and merge it Thank you!
Screenshots

Checklist

[x] My code adheres to the established style guidelines of the project.
[ ] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

There is a tool in the database called CodeStudio, which is Coding Ninjas, so please edit that name as it is already in the database.

There is a tool in the database called CodeStudio, which is Coding Ninjas, so please edit that name as it is already in the database.

So I have to edit the name of code studio to coding ninjas and remove the coding ninjas data from the database and close this pr?

Hello, contributors! This is Jason speaking. Due to some workflow issues, we will be closing all the PRs today. Therefore, I kindly request all of you to create new PRs tomorrow, as the currently open ones will be closed by our team. I apologize for any inconvenience caused. Also, please make sure to check the titles when creating the PRs. You can refer to the README.md for more details. Thank you.


Add global recoveries button

A Pull Request should be associated with an Issue.
Related issue: https://github.com/github/orchestrator/issues/645
Description
Add a button on the interface to show and change the global-recovery status:

[X] contributed code is using same conventions as original code
[X] code is formatted via gofmt (please avoid goimports)
[X] code is built via ./build.sh
[X] code is tested via go test ./go/...

Mateus, I agree with Shlomi on the size of the button/display.
I'd suggest:

remove text "global" from the text as you're looking at a global dashboard. So just "recoveries enabled" or "recoveries disabled"
change the "recoveries disabled" to red as if disabled we want this to be very visible.

Shlomi I'd rather see a smaller icon on the top bar. If recoveries are disabled you really want this to be visible in all views.
My preferred location would be sort of between the orchestrator text and the home button but to have an icon which is small and red (disabled) or green (enabled). The exact type of icon or spare probably doesn't matter that much,I'd favour a single light traffic light icon, and a mouse over would give the full text "Recoveries disabled globally" or "Recoveries enabled globally".

Hello thanks for the feedback!
@sjmudd I'm adding "global" to the name as this button is shown in all contexts, it's not aware if either the page is looking at a cluster or looking at all of them.
@shlomi-noach, I was thinking the directions of the "read-only" icon when someone is using orchestrator without modification privileges.
I could think of using a more clear a icon or maybe use a mouse-over text to explain what it means.
(Mouse over the elements)

:heart:

:broken_heart:

I did a quick example here, see if it's good

The [broken] heart icon is I think confusing but icon size and placement is better.

Heart (full/empty) icon is definitely much better, and consistent with sidebar icons. I'm OK to go with that.

I've pushed the code with the heart icon now, and added a alert when the user clicks the button to add some security, since this can be a very dangerous action.

In the future, and to reduce friction, please submit a PR not from your master but from a branch. It just makes the testing more trivial. Thanks!

#654 resubmits this PR and is merged


Working with Stories and Entities (Rasa Core not giving correct response)

Rasa Core version: 0.9.6
Python version: 3.6.5
Operating system (windows, osx, ...): Windows 10
Issue:
I'm still new to Rasa and I've been trying to get Rasa Core to work properly. I've set up and trained the NLU side of things and it works well. But when it comes to training and using Core, I can't seem to get accurate responses.
I'm training using the default parameters, just specifying my own paths
python -m rasa_core.train -s data/stories.md -d domain.yml -o models/dialogue --verbose
python -m rasa_core.server -d models/dialogue -u models/default/model_20180702-160100/ -o out.log --debug

And I'm using this set of questions to test out the responses given by Rasa Core:

Q: I can't upload file (Correct Answer)
Q: I can't upload a video file (Correct Answer)
Q: I can't upload a music file (Wrong Answer - Gives Video Reply)
Q: I can't upload a mp3 file (Wrong Answer - Gives Video Reply)
Q: I can't upload a mp4 file (Correct Answer)

It seems I'm doing something wrong as once I ask a question on "video", the next few questions will just give the response for video despite them being related to an "audio" file instead. And looking at the parse results, the NLU is able to detect the intent and entities correctly, so I'm not sure what I'm doing wrong.
Result of POST request:

Content of domain file:
slots:
  typeOfFile:
    type: text

intents:
  - greeting
  - uploadProblem

entities:
  - typeOfFile

templates:
  utter_greeting:
    - "Hello, how may I help you today?"
  utter_uploadProblem:
    - "Which file are you trying to upload?"
  utter_uploadProblem-Music:
    - "For audio files, we only allow mp3 and flac"
  utter_uploadProblem-Video:
    - "For video issues, please make sure your file is in mp4 or mkv"

actions:
  - utter_greeting
  - utter_uploadProblem
  - utter_uploadProblem-Music
  - utter_uploadProblem-Video

Content of story file:
## story 1
* greeting
    - utter_greeting

## story 2
* uploadProblem
    - utter_uploadProblem

## story 3
* uploadProblem{"typeOfFile": "music"}
    - utter_uploadProblem-Music

## story 4
* uploadProblem{"typeOfFile": "video"}
    - utter_uploadProblem-Video

Content of data file:
{
  "rasa_nlu_data": {
    "common_examples": [
      {
        "text": "Hi",
        "intent": "greeting",
        "entities": []
      },
      {
        "text": "Hello",
        "intent": "greeting",
        "entities": []
      },
      {
        "text": "Good day",
        "intent": "greeting",
        "entities": []
      },
      {
        "text": "I can't upload my mp3 file today",
        "intent": "uploadProblem",
        "entities": [
          {
            "start": 18,
            "end": 21,
            "value": "music",
            "entity": "typeOfFile"
          }
        ]
      },
      {
        "text": "I am unable to put up my music album on the website",
        "intent": "uploadProblem",
        "entities": [
          {
            "start": 25,
            "end": 30,
            "value": "music",
            "entity": "typeOfFile"
          }
        ]
      },
      {
        "text": "Why can't I submit my video to the app?",
        "intent": "uploadProblem",
        "entities": [
          {
            "start": 22,
            "end": 27,
            "value": "video",
            "entity": "typeOfFile"
          }
        ]
      },
      {
        "text": "Are mp4 supported as an upload format on the website?",
        "intent": "uploadProblem",
        "entities": [
          {
            "start": 4,
            "end": 7,
            "value": "video",
            "entity": "typeOfFile"
          }
        ]
      },
      {
        "text": "I can't upload my file to your website",
        "intent": "uploadProblem",
        "entities": []
      }
    ]
  }
}

It does it because you have one entity of type typeOfFile that can have different values. From the point of view of rasa_core, it sets the feature of typeOfFile to 1 if it is filled with any value and 0 otherwise. So you have two options here:

leave the slots and entities as they are now, make a custom action utter_uploadProblem and perform a logic inside this custom action depending on the value;
create to different slots/ entities: video and music and populate them with some values like in your example above:

{
        "text": "Are mp4 supported as an upload format on the website?",
        "intent": "uploadProblem",
        "entities": [
          {
            "start": 4,
            "end": 7,
            "value": "mp4",
            "entity": "video"
          }
        ]
      },

Thank you for the clear answer on how rasa core works with the entities and their values. I've just tried your second solution and it seems to work well for the words "video" and "audio" assigned to their separate entities, except MITIE gets confused when trying to differentiate between "mp3" and "mp4" - probably needs more training data on my side.
I'll also try to explore a bit more on the custom action as it appears to be a more suitable solution if I were to have many more file types added in the future. Thanks again for the help! 😄

@Ghostvv As per his post request(Shown in the attached image). NLU is correctly identifying typeOfFile with music as value and in story file, the exact story has given (story 3) where the intent is uploadProblem with entity with value music. So technically core should respond with utter_uploadProblem-Music, right?
Please let me know my understanding is wrong. If yes please enlight me.

@kothiyayogesh sorry, I don't understand what you mean. Please post discussion questions in our forum: https://forum.rasa.com


An execution error occurs when certain strings are included.

An execution error occurs when certain strings are included.
For example, when a string such as "<" is unborn.
Error Message in Terminal
$ docker run -it -p 5500:5500 synesthesiam/opentts:ja

Traceback (most recent call last):
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/quart/app.py", line 1490, in full_dispatch_request
    result = await self.dispatch_request(request_context)
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/quart/app.py", line 1536, in dispatch_request
    return await self.ensure_async(handler)(**request_.view_args)
  File "/home/opentts/app/app.py", line 718, in app_say
    wav_bytes = await text_to_wav(
  File "/home/opentts/app/app.py", line 368, in text_to_wav
    wavs = [result async for result in wavs_gen]
  File "/home/opentts/app/app.py", line 368, in <listcomp>
    wavs = [result async for result in wavs_gen]
  File "/home/opentts/app/app.py", line 492, in ssml_to_wavs
    for sent_index, sentence in enumerate(
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/gruut/__init__.py", line 79, in sentences
    graph, root = text_processor(text, lang=lang, ssml=ssml, **process_args)
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/gruut/text_processor.py", line 439, in __call__
    return self.process(*args, **kwargs)
  File "/home/opentts/app/.venv/lib/python3.9/site-packages/gruut/text_processor.py", line 490, in process
    root_element = etree.fromstring(f"<speak>{text}</speak>")
  File "/usr/lib/python3.9/xml/etree/ElementTree.py", line 1347, in XML
    parser.feed(text)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 10

Error Message in Devtools
（インデックス）:190

       GET http://<IP_ADDRESS>:5500/api/tts?voice=coqui-tts%3Aja_kokoro&lang=ja&vocoder=high&denoiserStrength=0.005&text=%3C%E6%A6%82%E8%A6%81&speakerId=&ssml=true&ssmlNumbers=true&ssmlDates=true&ssmlCurrency=true&cache=false 500 (Internal Server Error)

I had the same problem with coqui-ai/TTS, so it is possible that OpenTTS is not the cause, but...🤔
https://github.com/coqui-ai/TTS


Download page must link to KEYS file

The download page [1] MUST link to the KEYS file at
https://www.apache.org/dist/trafficserver/KEYS
It should also describe how to use the sigs or hashes to verify downloads.
MD5 and SHA1 hashes are now deprecated and should not be linked from the download page.

PING - please fix this

Looks like this has been fixed.  Please reopen if there is still an issue.

(I cannot re-open the issue as I did not close it)
Sorry, but the page is still wrong.
The link to the KEYS file must use https://www.apache.org/dist/trafficserver/KEYS.
It is currently using http and the archive server.
Also the link name should be KEYS to make it easy to find on the page.
Furthermore, MD5/SHA1 hashes should not be linked from the download page unless there are no others for a historic release.


UF: Adding the unbalanced penalization paper and solving some issues

I decided to divide draft #181 into two. One for the issues with FromDocplex2IsingModel and the other for the bin packing problem. The problem is that the function does not raise an error when it appears. Additionally, I have included the link for the unbalanced penalization paper (https://arxiv.org/abs/2211.13914).
Description

I modified the file converters where the FromDocplex2IsingModel is. I found some issues and needed to add a link to the paper.

Checklist

[x] I have performed a self-review of my code.
[x] I have commented my code and used numpy-style docstrings
[ ] I have made corresponding updates to the documentation.
[ ] My changes generate no new warnings
[ ] I have added/updated tests to make sure bugfix/feature works.
[ ] New and existing unit tests pass locally with my changes.

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality not to work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Name the new unit-tests that you have added along with this change.

@alejomonbar, the tests are failing because your branch has an older version of .github/workflows/test_dev.yml. You can update your branch by pulling from dev. Then we can try running the tests again

I updated this branch @vishal-ph


Pocketbase pre-release versions

pre-release versions not included in the options

When will pockethost support this versions
or
How can I host them in pockethost

Thanks in advance.

I'm not sure if I want to include pre-release in the dropdowns, but eventually you will have full SSH access to your instance and will be able to upload any PocketBase version you desire, even custom ones :)


Warns in pilot discovery logs

Hi,
I am using istio 0.8.0 and set it up accordingly to https://istio.io/docs/setup/kubernetes/quick-start/#installation-steps point kubectl apply -f install/kubernetes/istio-demo.yaml and now I see in logs

kubectl logs istio-pilot-66f4dd866c-rh95j -n istio-system discovery

2018-06-08T08:39:05.097864Z	warn	requeuing dummy, err services "istio-ingress" not found
2018-06-08T08:39:35.082808Z	info	ads	EDS: no instances outbound|80||default-http-backend.ingress-nginx.svc.cluster.local (host=default-http-backend.ingress-nginx.svc.cluster.local ports=80 labels=[])
2018-06-08T08:39:35.084598Z	info	ads	EDS: no instances outbound|10254||nginx-ingress-controller-metrics.ingress-nginx.svc.cluster.local (host=nginx-ingress-controller-metrics.ingress-nginx.svc.cluster.local ports=10254 labels=[])
2018-06-08T08:39:35.138551Z	warn	requeuing dummy, err services "istio-ingress" not found
2018-06-08T08:39:35.160314Z	info	ads	CDS: PUSH for { router <IP_ADDRESS> istio-ingressgateway-568c7d9cd8-mn8q6.istio-system istio-system.svc.cluster.local map[POD_NAME:istio-ingressgateway-568c7d9cd8-mn8q6 istio:sidecar]} "<IP_ADDRESS>:41250", Response: 34
2018-06-08T08:39:35.160706Z	info	ads	EDS: PUSH for router~<IP_ADDRESS>~istio-ingressgateway-568c7d9cd8-mn8q6.istio-system~istio-system.svc.cluster.local-7 "<IP_ADDRESS>:41250" clusters 32 endpoints 32 empty 0 []
2018-06-08T08:39:35.168805Z	info	ads	CDS: PUSH for { router <IP_ADDRESS> istio-egressgateway-795fc9b47-5vsw7.istio-system istio-system.svc.cluster.local map[POD_NAME:istio-egressgateway-795fc9b47-5vsw7 istio:sidecar]} "<IP_ADDRESS>:59104", Response: 34
2018-06-08T08:39:35.169052Z	info	ads	EDS: PUSH for router~<IP_ADDRESS>~istio-egressgateway-795fc9b47-5vsw7.istio-system~istio-system.svc.cluster.local-4 "<IP_ADDRESS>:59104" clusters 32 endpoints 32 empty 0 []
2018-06-08T08:39:35.169609Z	info	ads	LDS: PUSH for node:{ router <IP_ADDRESS> istio-egressgateway-795fc9b47-5vsw7.istio-system istio-system.svc.cluster.local map[POD_NAME:istio-egressgateway-795fc9b47-5vsw7 istio:sidecar]} addr:"<IP_ADDRESS>:59104" listeners:0
2018-06-08T08:39:35.172369Z	info	ads	CDS: PUSH for { sidecar <IP_ADDRESS> httpbin-77647f7b59-t7qbt.default default.svc.cluster.local map[istio:sidecar INTERCEPTION_MODE:REDIRECT POD_NAME:httpbin-77647f7b59-t7qbt]} "<IP_ADDRESS>:52592", Response: 35
2018-06-08T08:39:35.172619Z	info	ads	EDS: PUSH for sidecar~<IP_ADDRESS>~httpbin-77647f7b59-t7qbt.default~default.svc.cluster.local-6 "<IP_ADDRESS>:52592" clusters 32 endpoints 32 empty 0 []
2018-06-08T08:39:35.174078Z	info	ads	LDS: PUSH for node:{ router <IP_ADDRESS> istio-ingressgateway-568c7d9cd8-mn8q6.istio-system istio-system.svc.cluster.local map[POD_NAME:istio-ingressgateway-568c7d9cd8-mn8q6 istio:sidecar]} addr:"<IP_ADDRESS>:41250" listeners:1
2018-06-08T08:39:35.215752Z	info	ads	LDS: PUSH for node:{ sidecar <IP_ADDRESS> httpbin-77647f7b59-t7qbt.default default.svc.cluster.local map[istio:sidecar INTERCEPTION_MODE:REDIRECT POD_NAME:httpbin-77647f7b59-t7qbt]} addr:"<IP_ADDRESS>:52592" listeners:27
2018-06-08T08:40:05.099527Z	warn	requeuing dummy, err services "istio-ingress" not found

Is it OK?
And btw, this container consumes about 30% of my CPU - it it a normal behavior for this component ?

I see that istio-ingress Service is created when using helm chart, but is absent if you use install/kubernetes/istio-demo-auth.yaml (it creates istio-ingressgateway Service instead)

I think the requeuing dummy messages are related to the CPU usage problem.
Did you install Istio on a clean cluster, or might there some old stuff still there?
Try applying istio-demo.yaml on a clean cluster and see if the problem goes away.
istio-ingress should not be running in this configuration.

Actually file istio-0.8.0/install/kubernetes/istio-demo.yaml contains istio-ingressgateway Deployment definition:
# Source: istio/charts/ingressgateway/templates/deployment.yaml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
 name: istio-ingressgateway
 namespace: istio-system
 labels:
   app: ingressgateway
   chart: ingressgateway-0.8.0
   release: RELEASE-NAME
   heritage: Tiller
   istio: ingressgateway
spec:
 replicas:
 template:
   metadata:
     labels:
       istio: ingressgateway
     annotations:
       sidecar.istio.io/inject: "false"
   spec:
     serviceAccountName: istio-ingressgateway-service-account
     containers:
       - name: ingressgateway
         image: "docker.io/istio/proxyv2:0.8.0"
         imagePullPolicy: IfNotPresent
         ports:
           - containerPort: 80
           - containerPort: 443
           - containerPort: 31400
         args:
         - proxy
         - router
         - -v
         - "2"
         - --discoveryRefreshDelay
         - '1s' #discoveryRefreshDelay
         - --drainDuration
         - '45s' #drainDuration
         - --parentShutdownDuration
         - '1m0s' #parentShutdownDuration
         - --connectTimeout
         - '10s' #connectTimeout
         - --serviceCluster
         - istio-ingressgateway
         - --zipkinAddress
         - zipkin:9411
         - --statsdUdpAddress
         - istio-statsd-prom-bridge:9125
         - --proxyAdminPort
         - "15000"
         - --controlPlaneAuthPolicy
         - NONE
         - --discoveryAddress
         - istio-pilot:8080
         resources:
           {}

         env:
         - name: POD_NAME
           valueFrom:
             fieldRef:
               apiVersion: v1
               fieldPath: metadata.name
         - name: POD_NAMESPACE
           valueFrom:
             fieldRef:
               apiVersion: v1
               fieldPath: metadata.namespace
         - name: INSTANCE_IP
           valueFrom:
             fieldRef:
               apiVersion: v1
               fieldPath: status.podIP
         - name: ISTIO_META_POD_NAME
           valueFrom:
             fieldRef:
               fieldPath: metadata.name
         volumeMounts:
         - name: istio-certs
           mountPath: /etc/certs
           readOnly: true
         - name: ingressgateway-certs
           mountPath: "/etc/istio/ingressgateway-certs"
           readOnly: true
     volumes:
     - name: istio-certs
       secret:
         secretName: "istio.default"
         optional: true
     - name: ingressgateway-certs
       secret:
         secretName: "istio-ingressgateway-certs"
         optional: true
     affinity:
       nodeAffinity:
         requiredDuringSchedulingIgnoredDuringExecution:
           nodeSelectorTerms:
           - matchExpressions:
             - key: beta.kubernetes.io/arch
               operator: In
               values:
               - amd64
               - ppc64le
               - s390x
         preferredDuringSchedulingIgnoredDuringExecution:
         - weight: 2
           preference:
             matchExpressions:
             - key: beta.kubernetes.io/arch
               operator: In
               values:
               - amd64
         - weight: 2
           preference:
             matchExpressions:
             - key: beta.kubernetes.io/arch
               operator: In
               values:
               - ppc64le
         - weight: 2
           preference:
             matchExpressions:
             - key: beta.kubernetes.io/arch
               operator: In
               values:
               - s390x

istio-ingressgateway is different from istio-ingress.

See here the two different deployments:
https://github.com/istio/istio/tree/master/install/kubernetes/helm/istio/charts

Any hints on a quick workaround after installing the istio-demo.yaml?

@frankbu @rshriram I can also see the warning message in my pilot log if I do not have istio-ingress installed, not sure who is still calling istio-ingress, comments for this?
2018-06-19T05:34:15.685535Z	warn	requeuing dummy, err services "istio-ingress" not found
2018-06-19T05:34:45.686809Z	warn	requeuing dummy, err services "istio-ingress" not found

This appears to be configured within the mesh config, specifically the ingressService key.  The snapshot.1 release removed the istio-ingress deployment however the mesh configuration is still present in snapshot.2.
https://github.com/istio/istio/blob/1.0.0-snapshot.2/install/kubernetes/helm/istio/templates/configmap.yaml#L35

From what I can see this had already been disabled in the demo install files but has now recently been disabled in the default helm install files (https://github.com/istio/istio/pull/7048)

@sdake Do you have any comments on the above?

The ingressService key in the configMap is used for the k8s ingress resource:
https://github.com/istio/istio/blob/405f47f54d19e6d998aa3e863ec9e2bc23c157f1/pilot/pkg/config/kube/ingress/status.go#L81
The status code is responsible for assigning an IP address in the status field of the k8s resource. Unless the equivalent code is no longer exercised, you should not remove that field.

@andraxylia +1 but now that there is no ingress gateway by default does it still make sense?  What I was intending to do was log to modify the template so that it only included that line is ingress.enabled was true.

@andraxylia Sorry, that should read 'no istio-ingress by default'

The template would then read
{{- if .Values.ingress.enabled }}
# This is the ingress service name, update if you used a different name
ingressService: istio-ingress
{{- end }}

sgtm

Any chance to fix it in the istio-demo.yaml?
I just installed the 1.0.0-snapshot.2 and this is still happening.

@robertpanzer This PR was submitted after snapshot.2, I was upgrading our installation to that version when I came across it.  It should make the next release since it has already been merged, https://github.com/istio/istio/pull/7353, so I guess this should be closed.

Fixed in https://github.com/istio/istio/pull/7353.


prevent trying to register dependencies when none are defined in cust…

…om comp

fixed in another pr


Charts(BPDM): Updated helm test running workflow

Description
Updated helm test running workflow outdated.
Fixes #645
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

Hi @SujitMBRDI could you please modify your changes against @nicoprow s and my comment on #645

Hello @FaGru3n, i have adapted changes please help to review.

@nicoprow do you maybe have a bit of time where we can talk together with @SujitMBRDI about the workflow strategy?

@FaGru3n we can align on this, you can invite me to a call. I aligned with Sujit on this workflow already. For me it is just important to not test the charts on the built docker images in the workflow but take the referenced charts from Dockerhub as default. The other changes torwards versions and removing testing of child charts I aligned with Sujit. I don't think it is necessary for now to also test the child charts separately if we already test the umbrella chart, as this workflow is long enough already...

little meeting on 10:30 CET / GMT +1


Add an option to delete recently made changes. AI often gets confused and it's hard to revert back to a previous state

Is your feature request related to a problem? Please describe:

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

@staszek-arbuz thanks for the feedback. This has shipped:
https://x.com/stackblitz/status/1844839379270836266


Why can't I find this file?

@Echo334
I'm sorry about the delayed reply.
Could you specify the OP model you have? Is it OP3?
Also, did you change/upgrade any component?
Thank you.

@ROBOTIS-Will
Thank you for your reply. In fact, our robot model is OP2.  We haven't changed or updated its components. There's no doubt in my mind that the problem is the USB camera is not properly connected to the PC. So what should we do to solve this problem?

@Echo334
The error clearly shows that the USB camera is not detected by the system.
Could you try below command and paste the result here?
$ ls /dev/video*

@ROBOTIS-Will
I'm sorry about the delayed reply.In fact,when I connect again, I couldn't connect to Putty and Vnc suggested an  error which is 'Failed to connect to sever'.

@ROBOTIS-Will
I'm sorry about the delayed reply.In fact,when I connect again, I couldn't connect to Putty and Vnc suggested an  error which is 'Failed to connect to sever'.

Are you trying to upload the OP3 software on OP2?
OP2 has its own ROS software and OP3 packages may not compatible with OP2.
Please use OP2 packages as instructed in the eManual below.
https://emanual.robotis.com/docs/en/platform/op2/ros_package/#robotis-op2-ros-packages

Are you trying to upload the OP3 software on OP2?
OP2 has its own ROS software and OP3 packages may not compatible with OP2.
Please use OP2 packages as instructed in the eManual below.
https://emanual.robotis.com/docs/en/platform/op2/ros_package/#robotis-op2-ros-packages

Sorry, I can't do as you said, because I can't connect to the OP2 terminal window at the moment.From the current situation, I think the problem is that the USB camera is not properly detected by the system.Is there any possibility of camera damage?

Sorry, I can't do as you said, because I can't connect to the OP2 terminal window at the moment.From the current situation, I think the problem is that the USB camera is not properly detected by the system.Is there any possibility of camera damage?

You can directly connect the monitor and input devices to OP2 instead of connecting via ssh on terminal.

You can directly connect the monitor and input devices to OP2 instead of connecting via ssh on terminal.


Investigate better protocols than 9p

9p is a dog. It has some fundamental design limits which seem to cause performance problems. One of them is the requirement that all operations on a connection be serialized. Another is that it's always one connection.The statefulness of 9p, which at one point seemed sensible, is now an anchor dragging along behind it.
We need to investigate newer protocols to see if they are better. Now that we can select from multiple mount devices, we could mount those new protocols over a new mount device and see if performance improves.
We can also investigate improvements to 9p but, note, the problem is much, much harder than it first seems.

 The big problem is using the same protocol for hardware (e.g. mouse) and files. I think experience shows that does not work.

I've tried to find an older article, I've read some time ago, stating what went wrong in Plan9 and Inferno.
If I recall correctely the authentication is part of 9p which was one of the big mistakes. Just speaking for the cause of improvement

If you could find a source and excerpt it that would help, but I have never seen that the authentication is a big problem. Once the connection is set up, there is no per-packet authentication as in, e.g., NFS. So I'm not sure what you mean.

I'm trying to find it again but can make no promises.
As far is I recall the problem only occurs if you like to change the authentication itself, the transition will be painful. Also I remember that they were speaking of shared private key which would compromise the whole network.

Ok I put some extended effort in finding that paper.
What I have found so far:
https://swtch.com/~rsc/talks/nauth.pdf
is not the paper I related to but describes the problem as following:
"Auth protocol hard wired into 9P
fixing an auth bug would require redefining 9P"
But I do not know if this is still valid. (See title: Problems
with Plan 9 authentication (now fixed))

But I do not know if this is still valid.

The issues you mention were fixed in the new authentication mechanism,
as part of the the Fourth Edition of Plan 9, released in 2002.
See the paper Security in Plan 9.

I'm working on a protocol called mpbmfp which stands for multiplexing binary markup filesystem protocol which is an asynchronous filesystem protocol based around the Extensible Binary Markup Language. I'm designing it to resolve as many of the issues of 9P i can: 9P is synchronous, mpbmfp is async; 9P can only carry 1 stream at a time, mpbmfp multiplexes streams and can run using multiple connections between two hosts simultaneously; 9P is unencrypted, mpbmfp is both compressed and encrypted etc.

@ILOVEPIE that sounds interesting, do you have any literature we can read?

@sevki the documentation for the EBML format is on the matroska video container website, it's what their video container is based on. Ill write up a full description when i commit the work i've started on for a FUSE driver that supports the protocol.

You do NOT need a fuse driver to test the protocol. You do protocol test with test environments.

@ILOVEPIE @rminnich Any updates on this?

Spring cleaning - closing old issues


Project Not Found issue with separate workflows

Orb version: 1.1.0
What happened:
We have two workflows: one for opened PRs, and one for post-merge. For the PR workflow, the SHAs get set with no issues. However, post-merge and in the main workflow, the Base SHA never gets set, and instead we get this error:
{:message "Project not found"}
We see an issue from August related to private repos (#2), but it seems to be a different issue given it works for one of our jobs/workflows but not the other.
Expected behavior:
The orb is able to set the Base SHA for all of our jobs/workflows.
Additional Information:
For now, both workflows use the exact same steps, as seen below. Note that I've redacted our tokens, but they are the same value in both jobs.
main:
    docker:
      - image: circleci/node:12
        environment:
          CIRCLE_TOKEN: <redacted>
          NX_CLOUD_DISTRIBUTED_EXECUTION: 'true'
    steps:
      - checkout
      - aws-cli/setup:
          profile-name: default
          aws-access-key-id: AWS_ACCESS_KEY_ID
          aws-secret-access-key: AWS_SECRET_ACCESS_KEY
          aws-region: AWS_DEFAULT_REGION
      - run:
          name: token placement
          command: 'echo "//registry.npmjs.org/:_authToken=<redacted> > ~/.npmrc'
      - run: cd 1eq && npm ci
      - nx/set-shas
      - run: cd 1eq && npx nx affected --target=deps --parallel --max-parallel=3
      - run: cd 1eq && npx nx affected --target=build --parallel --max-parallel=3
  pr:
    docker:
      - image: circleci/node:12
        environment:
          CIRCLE_TOKEN:<redacted>
          NX_CLOUD_DISTRIBUTED_EXECUTION: 'true'
    steps:
      - checkout
      - aws-cli/setup:
          profile-name: default
          aws-access-key-id: AWS_ACCESS_KEY_ID
          aws-secret-access-key: AWS_SECRET_ACCESS_KEY
          aws-region: AWS_DEFAULT_REGION
      - run:
          name: token placement
          command: 'echo "//registry.npmjs.org/:_authToken=<redacted>" > ~/.npmrc'
      - run: cd 1eq && npm ci
      - nx/set-shas
      - run: cd 1eq && npx nx affected --target=deps --parallel --max-parallel=3
      - run: cd 1eq && npx nx affected --target=build --parallel --max-parallel=3

Our workflows are defined as:
workflows:
  build:
    jobs:
      - main:
          context: AWS
          filters:
            branches:
              only: main
      - pr:
          context: AWS
          filters:
            branches:
              ignore: main

I've joined the @nrwl/community on Slack, so please feel free to reach out.

Encountered the same issue, missed this in the docs. Perhaps we could make this error message a little bit more specific? There are some existing error messages in the script that prompt the user to set the CIRCLE_API_TOKEN for a private repo, but those messages aren't triggered in this particular failure case, since a valid HTTP response is sent.

It would also be nice if this particular command failed in this case, which it currently doesn't.


Failed to transform Android-Image-Cropper-1.1.1.aar to match attributes {artifactType=android-assets}.

hello there i'm trying to build my app under RN but i'm getting this issue

That version is too old


No default export found in module

No default export found in module
Hi all, ever since we migrated from the original ReactNative library to this one we've been having two issues, one with eslint error (which can be ignored) that complains about no default export being found and more importantly with Jest:
.../node_modules/@react-native-community/netinfo/js/index.js:11
    import {Platform} from 'react-native';
           ^

which seems to be similar.
Judging by google result and the fact that no one else seems to be having this issue I think we're doing something wrong but after a few days of trying I thought it's best to ask here.
correct me if I'm wrong but judging by the source code looks like this library is using es5 style module export which seems to be related to the errors we're getting?
Any help or ideas would be much appreciated :) Thanks!

👋 Can you clarify where you are getting this error? Is it when Metro is building to run the app or is it when you try to run Jest?
If it's jest, can you send over your Jest config and the contents of any setup files you have?

Thanks for your response @matt-oakes . Correct, the main error is when you run jest but I just realized I've left out the actual error in my original question so here's it is with more context:
`Jest encountered an unexpected token
This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript.

By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules".

Here's what you can do:
 • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
 • If you need a custom transformation specify a "transform" option in your config.
 • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

You'll find more details and examples of these config options in the docs:
https://jestjs.io/docs/en/configuration.html

Details:

/*REMOVED*/node_modules/@react-native-community/netinfo/js/index.js:11
import {Platform} from 'react-native';
       ^

SyntaxError: Unexpected token {

  1 | import { Alert, Linking } from 'react-native';
> 2 | import NetInfo from '@react-native-community/netinfo';
    |                                       ^
 ...
 ...

`
Here's what the Jest config looks like:
"jest": {     "preset": "react-native",     "transform": {       "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"     }   },
I've also tried these variations with no luck:
"jest": {     "preset": "react-native",     "transform": {       "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"     },     "transformIgnorePatterns": [       "/node_modules/(?!react-native|react-clone-referenced-element|react-navigation)"     ]   },
"jest": {     "preset": "react-native",     "transform": {       "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"     },     "transformIgnorePatterns": [       "/node_modules/(?!react-native|react-clone-referenced-element|react-navigation|@react-native-community)"     ]   },

I think this is actually something which is fixed in React Native 0.59.4 through this commit. Are you using that version of React Native?
Setting your jest config to this should have also worked (note the lack of / in from of node_modules):
"jest": {
  "preset": "react-native",
  "transform": { "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js" },
  "transformIgnorePatterns": ["node_modules/(?!react-native|@react-native-community)"]
}

Thanks for your response @matt-oakes, I just upgraded to 0.59.4 and now with out without the jest config you provided I get this new error in place of the previous error:
`Test suite failed to run
@react-native-community/netinfo: NativeModule.RNCNetInfo is null. To fix this issue try these steps:

• Run `react-native link @react-native-community/netinfo` in the project root.
• Rebuild and re-run the app.
• If you are using CocoaPods on iOS, run `pod install` in the `ios` directory and then rebuild and re-run the app. You may also need to re-open Xcode to get the new pods.

If none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-community/react-native-netinfo

  1 | import { Alert, Linking } from 'react-native';
> 2 | import NetInfo from '@react-native-community/netinfo';
    |    `

I've tried the suggestion included in the error with no luck and googling the error hasn't been successful yet either.
Let me know if you have any ideas, thanks do much!

This has been reported before and it's always to do with the module not being correctly linked or not having correctly rebuilt the app.
Can you go through and check that react-native link has done the correct thing. The best way to do this is to check again the manual installation instructions in the README (click on the little arrows to see them). Don't worry about the module name being different in your Android .gradle files, that can be anything and we just chose something a bit nicer looking for the manual instructions compared to what the automated tool attempts to use.
I'm going to close this issue now as it seems to be resolved 👍 Please open a new one if you can't get linking working after following all of the instructions.

This might be related to https://github.com/react-native-community/react-native-netinfo/issues/75


[GKD] mismatch in tensors when stacking log probs

System Info
Latest TRL from source, can't run TRL env rn as cluster is shut down but I'm installing everything from source.
If required will restart cluster and run.
Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[X] An officially supported task in the examples folder
[ ] My own task or dataset (give details below)

Reproduction

def qlora_gkd_train():
    import datasets
    import torch
    import transformers

    from trl import (
        GKDConfig,
        GKDTrainer,
        LogCompletionsCallback,
    )
    from peft import LoraConfig, TaskType, prepare_model_for_kbit_training

    import json

    with open('/local_disk0/training_config.json') as f:
        training_config = json.load(f)

    # # testing memory usage for batch size
    training_config['max_steps'] = 10
    # training_config['per_device_train_batch_size'] = 32
    print(json.dumps(training_config, indent=4))

    print("loading tokenizer")
    tokenizer = transformers.AutoTokenizer.from_pretrained(
        training_config['teacher_model_name_or_path'],
        padding_side="left",
        truncation_side="left",
    )
    tokenizer.pad_token = tokenizer.eos_token

    print("loading dataset")
    train_dataset = datasets.load_from_disk('/local_disk0/train')

    # Model
    torch_dtype = torch.bfloat16
    quant_storage_dtype = torch.bfloat16

    quantization_config = transformers.BitsAndBytesConfig(
            load_in_4bit=True,
            bnb_4bit_use_double_quant=True,
            bnb_4bit_quant_type="nf4",
            bnb_4bit_compute_dtype=torch_dtype,
            bnb_4bit_quant_storage=quant_storage_dtype,
        )

    print("loading teacher model")
    teacher_model = transformers.AutoModelForCausalLM.from_pretrained(
        training_config['student_model_name_or_path'],
        quantization_config=quantization_config,
        attn_implementation="flash_attention_2", # use sdpa, alternatively use "flash_attention_2"
        torch_dtype=quant_storage_dtype,
        device_map = "auto"
    )

    teacher_model = prepare_model_for_kbit_training(teacher_model)

    print("create student config")
    student_model_kwargs = dict(
        trust_remote_code=True,
        attn_implementation="flash_attention_2", # use sdpa, alternatively use "flash_attention_2"
        torch_dtype=quant_storage_dtype,
        use_cache=training_config['gradient_checkpointing'],
        device_map="auto",
        # quantization_config=quantization_config,
    )

    print("create student config")
    student_model_kwargs = dict(
        trust_remote_code=True,
        attn_implementation="flash_attention_2", # use sdpa, alternatively use "flash_attention_2"
        torch_dtype=quant_storage_dtype,
        use_cache=training_config['gradient_checkpointing'],
        device_map="auto",
        # quantization_config=quantization_config,
    )

    lora_config = LoraConfig(
        r=training_config['lora_r'],
        # target_modules="all-linear",
        target_modules=["q_proj", "k_proj", "v_proj"],
        task_type=TaskType.CAUSAL_LM,
        lora_alpha=training_config['lora_alpha'],
        lora_dropout=0.05
    )

    training_arguments = GKDConfig(
        model_init_kwargs = student_model_kwargs,
        save_strategy='epoch',
        report_to='mlflow',
        # save_steps=training_config['save_steps'],
        ddp_find_unused_parameters=False,
        gradient_checkpointing=training_config['gradient_checkpointing'],
        per_device_train_batch_size=training_config['per_device_train_batch_size'],
        gradient_accumulation_steps=training_config['gradient_accumulation_steps'],
        num_train_epochs=training_config['num_train_epochs'],
        learning_rate=training_config['learning_rate'],
        warmup_ratio=training_config['warmup_ratio'],
        lr_scheduler_type="cosine",
        bf16=True,
        max_steps=training_config['max_steps'],
        logging_steps=training_config['logging_steps'],
        output_dir=training_config['output_dir'],
        gradient_checkpointing_kwargs={'use_reentrant':False},
        max_seq_length=training_config['max_seq_len'],
        use_liger=training_config['use_liger'],
        # optim="paged_adamw_8bit",
        dataset_text_field='prompt',
        packing=False,
        # # gkd params
        temperature=0.9,
        max_new_tokens=1024,
    )

    print("start training")
    trainer = GKDTrainer(
        model=training_config['student_model_name_or_path'],
        teacher_model=teacher_model,
        args=training_arguments,
        train_dataset=train_dataset,
        processing_class=tokenizer,
        peft_config=lora_config,
    )

    if training_config['resume']:
        trainer.train(resume_from_checkpoint=True)
    else:
        trainer.train()

os.environ['ACCELERATE_BYPASS_DEVICE_MAP'] = "true"

qlora_gkd_train()

For further details. Teacher is Qwen 2.5 72B instruct. Student is Qwen 2.5 3B instruct.
Training Config :
{
    "teacher_model_name_or_path": "/local_disk0/Qwen/Qwen2.5-72B-Instruct",
    "student_model_name_or_path": "/local_disk0/Qwen/Qwen2.5-3B-Instruct",
    "learning_rate": 1e-05,
    "per_device_train_batch_size": 4,
    "gradient_accumulation_steps": 1,
    "logging_steps": 1,
    "num_train_epochs": 15,
    "gradient_checkpointing": true,
    "use_peft": true,
    "lora_r": 64,
    "lora_alpha": 16,
    "max_seq_len": 1382,
    "use_liger": false,
    "warmup_ratio": 0.1,
    "resume": false,
    "max_steps": 10
}

Error Trace:
Traceback (most recent call last):
  File "/local_disk0/train.py", line 162, in <module>
    qlora_gkd_train()
  File "/local_disk0/train.py", line 158, in qlora_gkd_train
    trainer.train()
  File "/local_disk0/.ephemeral_nfs/envs/pythonEnv-7579e674-61e9-403f-8884-27b859a93e4a/lib/python3.11/site-packages/transformers/trainer.py", line 2085, in train
    return inner_training_loop(
           ^^^^^^^^^^^^^^^^^^^^
  File "/local_disk0/.ephemeral_nfs/envs/pythonEnv-7579e674-61e9-403f-8884-27b859a93e4a/lib/python3.11/site-packages/transformers/trainer.py", line 2421, in _inner_training_loop
    tr_loss_step = self.training_step(model, inputs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/local_disk0/.ephemeral_nfs/envs/pythonEnv-7579e674-61e9-403f-8884-27b859a93e4a/lib/python3.11/site-packages/trl/trainer/gkd_trainer.py", line 292, in training_step
    loss = super().training_step(model, inputs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/local_disk0/.ephemeral_nfs/envs/pythonEnv-7579e674-61e9-403f-8884-27b859a93e4a/lib/python3.11/site-packages/transformers/trainer.py", line 3524, in training_step
    loss = self.compute_loss(model, inputs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/local_disk0/.ephemeral_nfs/envs/pythonEnv-7579e674-61e9-403f-8884-27b859a93e4a/lib/python3.11/site-packages/trl/trainer/gkd_trainer.py", line 239, in compute_loss
    loss = self.generalized_jsd_loss(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/local_disk0/.ephemeral_nfs/envs/pythonEnv-7579e674-61e9-403f-8884-27b859a93e4a/lib/python3.11/site-packages/trl/trainer/gkd_trainer.py", line 190, in generalized_jsd_loss
    torch.stack([student_log_probs + torch.log(beta), teacher_log_probs + torch.log(1 - beta)]),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: stack expects each tensor to be equal size, but got [4, 0, 151936] at entry 0 and [4, 0, 152064] at entry 1

I originally thought the difference might be due to the max seq len which is 1382 based on my dataset max. But the difference in dimensions reported 128.
Expected behavior
Both the tokenizer for qwen 72b and 3b have a max length of 131072 not sure where the 151k numbers are coming from
Since it's the same tokenizer I assume it should be possible to distill them right?

 I figured it out while I was typing the issue.
I should be looking at the vocab size not the tokenizer length.
https://huggingface.co/Qwen/Qwen2.5-3B-Instruct/blob/aa8e72537993ba99e69dfaafa59ed015b17504d1/config.json#L26

Is it worth adding a check in the GKD trainer for this param so this error is more readable for others?

Llama 3.1 70b and llama 3.2 1B seem to have the same vocab size I will test with that. It will probably work.


Cookie-cutter templating.

The current state for this uses the generate_template.py script as a one-off. This is requires a few more system calls, nuking the .git folder, and calling this repository separately each time.

Got a budding PR in orcoursetrion to use this template.


Why is it a separate extension?

Hey guys,
we already have an official Camunda Platform 7 extension called camunda-rest-client-spring-boot building a Java client embedded in SpringBoot. In it's core it is creating the client and in addition it wraps into the implementations of the Camunda Java API. So you might choose between a Java API provided by the generated client or Camunda Java API (Runtime Service, Task Service, etc...)
Would it make sense to unify the work on those extension into one project?
Cheers,
Simon

Hi @zambrovski
The main reason I started a separate project is that I wanted to keep it as lean as possible (to be able to easily maintain and support it). So this project is really "just" providing the OpenAPI code - and not trying to hide this behind the embedded-engine classes (like RuntimeService).
I find that it is also easier for newbies to follow along if this is aligned with our REST API for Remote Engine setups.
So from my perspective, I think it is quite OK to have both projects as they simply do different things (expose OpenAPI vs. mimicking the RuntimeService but delegating to REST).
So if you agree I would close this issue - the only thing I would see for now is that we might want to add something to the readme about it?
Best
Bernd

Hmm. To be honest - I don't like it. We are currently implementing the same things... You probably had to deal with incompatibilities of the OpenAPI generator and some request/response patterns used in Camunda Platform 7 REST API, and we had to deal with it too...
My approach would be to create one extension producing several libraries:

Pure Open API Java Client (is currently implemented twice)
A starter of the Open API Java client (is implemented in this extension)
A bridge between the pure Open API Java Client and Camunda Platform Java API (is implemented in our extension)
A starter allowing to inject "remote" version of Camunda Platform Java API (is implemented in our extension)

This would be much more clear for the user and having the same code base, the user can just decide what library to use...
What do you think?
Cheers,
Simon


[NR-146104] Jetpack Compose MVP

MVP instruments calls to state changes in the Navigation Controller, specifically in NavController and NavHostController methods, both located in the androidx.navigation.navigation-runtime dependency.
Changes to navigation are recorded as BreadCrumb events containing as much context from the method call as possible.
Example: user launches app, moves to home, moves to search, moves to profile, then backs out.
[{
		"actionType": "AppLaunch",
		"timeSinceLoad": 0.0010000000474974513,
		"eventType": "MobileUserAction",
		"category": "UserAction",
		"timestamp": "1695920094494"
	}, {
		"timeSinceLoad": 5.690000057220459,
		"route": "home",
		"name": "Compose",
		"eventType": "MobileBreadcrumb",
		"category": "Breadcrumb",
		"span": "navigate",
		"timestamp": "1695920100183"
	}, {
		"timeSinceLoad": 60.005001068115234,
		"name": "Display MainActivity",
		"eventType": "Mobile",
		"category": "Interaction",
		"interactionDuration": 0.07100000232458115,
		"timestamp": "1695920154498"
	}, {
		"timeSinceLoad": 65.56999969482422,
		"route": "search/liang moi",
		"name": "Compose",
		"eventType": "MobileBreadcrumb",
		"category": "Breadcrumb",
		"span": "navigate",
		"timestamp": "1695920160063"
	}, {
		"result": true,
		"timeSinceLoad": 68.06900024414062,
		"name": "Compose",
		"eventType": "MobileBreadcrumb",
		"category": "Breadcrumb",
		"span": "popBackStack",
		"timestamp": "1695920162562"
	}, {
		"timeSinceLoad": 69.91100311279297,
		"route": "profile/7/true",
		"name": "Compose",
		"eventType": "MobileBreadcrumb",
		"category": "Breadcrumb",
		"span": "navigate",
		"timestamp": "1695920164404"
	}, {
		"result": true,
		"timeSinceLoad": 71.24299621582031,
		"name": "Compose",
		"eventType": "MobileBreadcrumb",
		"category": "Breadcrumb",
		"span": "popBackStack",
		"timestamp": "1695920165736"
	}, {
		"result": true,
		"timeSinceLoad": 73.53600311279297,
		"name": "Compose",
		"eventType": "MobileBreadcrumb",
		"category": "Breadcrumb",
		"span": "popBackStack",
		"timestamp": "1695920168029"
	}, {
		"timeSinceLoad": 75.05999755859375,
		"route": "home",
		"name": "Compose",
		"eventType": "MobileBreadcrumb",
		"category": "Breadcrumb",
		"span": "navigate",
		"timestamp": "1695920169553"
	}, {
		"actionType": "AppBackground",
		"timeSinceLoad": 82.46800231933594,
		"eventType": "MobileUserAction",
		"category": "UserAction",
		"timestamp": "1695920176961"
	}, {
		"timeSinceLoad": 82.46900177001953,
		"eventType": "Mobile",
		"category": "Session",
		"timestamp": "1695920176962"
	}]
]

The branch had failing tests. That should be considered before approving a PR.


Optimize Travis setup

Use the new Travis infrastructure
Enable Composer cache
Enable fast finish

:+1: thank you!


Orchest-ctl refactoring PR 3, orchest status

Description
Ports orchest status to k8s, and introduces a --json flag, e.g. orchest status --json:
{"status": "unhealthy", "reason": ["orchest-api"]}

Looks good


Database setting

Django DB setting
This will be handled after feature implementation is done and before deployment.

[ ] Decide which DBMS to use for deployment
[ ] Separate testing and deploy database

we can use PostgreSQL by psycopg2.

Database hit is not that much, and remote database access is not needed, so we can use just sqlite3.
Any ideas?

I saw that sqlite3 does not support concurrent queries, which means only works as singlethread.
This kind of problem can occur if ~5 user attempt to log in simultaneously.
redis might ease the problem, but I'm not sure.

@dnsdhrj Concorrent query problem is not that big issue, because we just handle each individual user login, not intense simultaneous read-and-write.
I faced that OperationalError in production of BOJ Ranking system, but I resolved by increasing timeout to 10 seconds. (and 10 seconds is enough)
And check out this FAQ: Can multiple applications or multiple instances of the same application access a single database file at the same time?.

OK, that will solve issue quite well if users are few.
But keep in mind that course search (see #30) will be a quite heavy operation, since it queries large course db with various filters (year, name, credit, etc.), and maybe we need better DBMS.


feat(tracing): node-postgres (pg) instrumentation

To Do:

[x] More query types: string, config object
[x] Add instrumentation/tests for Promise based queries
[x] Validate queries using both Pool & Client separately
[x] Validate tracing of stored procedure calls
[x] Validate transactional use case
[x] Validate error capture/reporting
[x] Validate query parsing/filtering
[x] Validate vanilla tracing (when not tracing)
[x] Update documentation

This is ready for review/merge and release hopefully tomorrow.

Thanks for the feedback @basti1302 !  Updated without debug output log lines.

To be merged post release: https://github.com/instana/docs/pull/196

This has landed in 1.41.0


Panel doesn't collapse

The pane or folder doesn't collapse when clicked
		const pane = new Pane({title: 'control'})
		const panel = pane.addFolder({title: 'folder'})

The latest version works fine in the official document:
https://tweakpane.github.io/docs/
Please share your environment (Tweakpane version, web browser, other code, screencasts, etc.) to reproduce the issue.

Hi, thanks for looking into this.  The version that got downloaded is "tweakpane": "^4.0.1",
The version present on the doc does work also with my browser (Firefox 117 on Linux Mint) and correctly collapse.
I think this might be related to svelte...
I've made a stackblitz svelte example project  where you can see the issue:

I can only see the welcome screen... is it a correct URL?

BTW the pane in the screencast seems to be duplicated. Could it be that multiple panes are instanciated and are overlapping?

Sorry I guess it got reset now it should work again

Hmm, it looks fine in my environment:

macOS 13.4.1
Firefox latest (117.0.1)
Google Chrome latest (116.0.5845.179)

https://github.com/cocopon/tweakpane/assets/602961/2978ad09-7905-4cd7-9850-65e659ba9d6b

Interestingly, I've checked and in Linux works correctly in Chromium but not in Firefox.

Interesting. I modified the code a bit, and how about the result of running the page below?
https://stackblitz.com/edit/sveltejs-kit-template-default-h7jpdj?file=src%2Froutes%2F%2Bpage.svelte
If you get a message pane created: # multiple times, or see a number greater than 1, it means that the code is executed repeatedly and multiple panes are created. In this case, it's caused by Svelte or StackBlitz, not Tweakpane.

nope, only one time.
(Firefox 117.0.1 (64 bit))

I remind you that I wrote "The version present on the doc does work also with my browser" (Firefox)
I don't know if you introduced some breaking changes in the shipped version.
Generally speaking I tend to exclude Svelte in the equation, especially when code is run inside if (browser) {}  is client-side related only

I remind you that I wrote "The version present on the doc does work also with my browser" (Firefox)

Thank you for pointing that out, I missed it.

I don't know if you introduced some breaking changes in the shipped version.

The code that is used in the document is completely the same as the shipped version.

Generally speaking I tend to exclude Svelte in the equation

I'm not familiar with Svelte, but the screencast shows that multiple panes are stacked in one location. It may be caused by something in your environment e.g. live-reloading...?

If you can reproduce the issue, can you open the browser inspector and check the DOM structure? In my estimation, the multiple pane will be found on the DOM tree.

I checked that without using an inside folder, collapsing work (like in the docs that doesn't use a folder)
With the folder inside I do see repeated elements in the DOM

Could you share a screenshot and the entire DOM when the problem occurs? You can copy the code by right clicking <html> in DevTools and choosing Copy -> Outer HTML.

Dear Hiroki Kokubun, I swaped my branch and run pnpm i again, and the problem is suddenly gone, I think this might depends on the live rebuild / caching I don't know.
I close this for now, If I find again the problem I'll let you know.
Thanks again for developing tweakpane and taking seriously bug reports, it's not an easy job I know


initial commit -- update images and links -- DOC-2287

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[x] Issue
[ ] Feature
[ ] Maintenance/Chore

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

Issue(s)
Migration of SMP documents.

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

[x] Tested Locally
[ ] Optional Screen Shoot.

Merging sources for the SMP docs into Developer Hub

Preview environment: https://ci.pr.harness.io/pr-156

Preview environment: https://ci.pr.harness.io/pr-156


Peer to peer code review

Great Job Champ!

There may be some improvements that could be used to make your project even far better.

You may consider removing the underlines from the nav bar.
Displaying a moving clock changing every second is not good for the user experience try to make it change every minute.
After adding a book it would be better to navigate to the books list.

Great Job so far @MarcoOquendoC
Still, there can be room for improvement to make the project more awesome

[ ] It will be better to make the active menu with a different color to give users a good experience in identifying where they are working at that specific time
[ ] It will be better if the time change is happened  every minute instead of second

Great Job so far @MarcoOquendoC
Still, there can be room for improvement to make the project more awesome

[ ] It will be better to make the active menu with a different color to give users a good experience in identifying where they are working at that specific time
[ ] It will be better if the time change is happened  every minute instead of second

Hahaha thank you guys.


BUG || UI Re-direction ERROR in Response Pending Task for Mandatory Submission

UI Re-direction ERROR in Response Pending Task for Mandatory Submission in DPG-DEV

STEPS TO REPRODUCE

Generate Order for Mandatory Submissions
Submit Application for the same, and check Pending Task for Advocate.

Refer Screeshot

After clicking on Pending Task

Hi @nitish-beehyv, @rajeshcherukumalli
This is Issue is resolved in DPG-DEV
Refer Screenshot