Potential Fusion Bug

        def test():
            data = relay.var("data", shape=(2, 1, 2, 4), dtype="int8")
            w = relay.var("w", shape=(3, 1, 2, 2), dtype="int8")
            conv1 = relay.nn.conv2d(data, w, out_dtype="int32", kernel_size=(2, 2))
            gt = conv1 >= relay.full(tvm.relay.const(0, "int32"), shape=(2, 3, 1, 3), dtype='int32')
            one = relay.full(tvm.relay.const(1, "int32"), shape=(2, 3, 1, 3),
                    dtype='int32')
            two = relay.full(tvm.relay.const(2, "int32"), shape=(2, 3, 1, 3),
                    dtype='int32')
            where = relay.where(gt, one, two)
            add = relay.add(conv1, where)
            func = add
            func = relay.Function(relay.analysis.free_vars(func),
                    func)
            func = run_infer_type(func)

            with relay.build_config(opt_level=1):
                graph, lib, params = relay.build(func, "llvm", params=None)

TVMError: Check failed: found_attach || stage_attach.size() == 0: Invalid Schedule, cannot find the producer compute(conv, 0x1e0dad0) along the loop nest specified by compute_at of consumer compute(T_greater_equal, 0x1e14130)
During handling of the above exception, another exception occurred:

TVMError: Check failed: found_attach || stage_attach.size() == 0: Invalid Schedule, cannot find the producer compute(conv, 0x1e0dad0) along the loop nest specified by compute_at of consumer compute(T_greater_equal, 0x1e14130)

The error goes away if I make where operator Opaque.
Some followup discussion at - https://discuss.tvm.ai/t/potential-fusion-bug/3270
@zhiics @yzhliu @vinx13 @masahi @tqchen

Let us keep the discussion in the discuss, once we have an actionable item, the open a new issue to resolve it

@tqchen Makes sense.
However, the reason I opened the issue is that people might not know about discuss forum. It is more probable they people visit Issues more frequently than discuss forum, and a tag status: help wanted might motivate somebody take a look.

The line can be blurred, but given that we are already investigating it in the discuss forum, let us keep it there. We do want to fix problems as they occur, and the same stands true regardless of where we post the discussion.(both are forwarded to dev@)


updated routing path

Looks like there’s a couple of tests to update to handle this change.

Closing due to no response or update.

@nitinbhola While I agree with Doug closing these stale PRs, if you have time it would be great to fix up these examples/tests.  This is clearly wrong and tested incorrectly, so it would be great if you could update and re-open at some point :)

I usually don't close and try to fix them up, but honestly I don't understand what the intention of the PR is since there is no description, so I wasn't sure what it was trying to accomplish besides just changing the URL of a route for some reason?

Oh lol.  Since you posted I went back to look and I miss-read the change.  I see now that the get to the edit is different than the put the the edit route.  I had originally read that it was a fix to the route name because I didn't notice the method difference.  FWIW, a get request to an edit route doesn't really make much sense leading to my assumption.


Train a new translate model with lev_transform is wrong.

Hi, I download the original  WMT'14 En-De dataset, and I processed it with scripts:
common_params='--source-lang en --target-lang de'
trainpref='./out/data_wm_raw/train.en-de'
validpref='./out/data_wm_raw/valid.en-de'
python preprocess.py
$common_params
--trainpref $trainpref
--validpref $validpref
--destdir './out/data_wm_be/'
--workers 4 \
--joined-dictionary
--thresholdtgt 5 \
--thresholdsrc 5 \
And then , I trained the model with the scripts:
DATA_BIN=./out/data_wm_be/
CUDA_VISIBLE_DEVICES=$device nohup python train.py $DATA_BIN
--save-dir $MODELS
--max-tokens 8000
--ddp-backend=no_c10d
--noise random_delete
--share-all-embeddings
--task translation_lev
--train-subset train
--valid-subset valid
--criterion nat_loss
--arch levenshtein_transformer
--optimizer adam --adam-betas '(0.9, 0.98)'
--lr 0.0005 --lr-scheduler inverse_sqrt
--min-lr '1e-09' --warmup-updates 10000
--warmup-init-lr '1e-07' --label-smoothing 0.1
--dropout 0.3 --weight-decay 0.01
--decoder-learned-pos
--encoder-learned-pos
--apply-bert-init
--log-format 'simple'
--fixed-validation-seed 7 \
--no-progress-bar
--save-interval-updates 10000
--max-update 300000
--log-interval 1000  > $OUT/log$exp.out 2>&1 &
and the error is :
| model levenshtein_transformer, criterion LabelSmoothedDualImitationCriterion
| num. model params: 65084416 (num. trained: 65084416)
| training on 2 GPUs
| max tokens per GPU = 8000 and max sentences per GPU = None
| no existing checkpoint found out/models20191127wm/checkpoint_last.pt
| loading train data for epoch 0
| loaded 3961179 examples from: ./out/data_wm_be/train.en-de.en
| loaded 3961179 examples from: ./out/data_wm_be/train.en-de.de
| ./out/data_wm_be/ train en-de 3961179 examples
| NOTICE: your device may support faster training with --fp16
Traceback (most recent call last):
File "train.py", line 337, in
cli_main()
File "train.py", line 329, in cli_main
nprocs=args.distributed_world_size,
File "/root/anaconda3/envs/len_transform/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 171, in spawn
while not spawn_context.join():
File "/root/anaconda3/envs/len_transform/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 107, in join
(error_index, name)
Exception: process 0 terminated with signal SIGSEGV
^C
Could you help me find out what makes this situation?

Does it work with 1 GPU? Try CUDA_VISIBLE_DEVICES=0 python train.py (...)

Actually the LightConv LM seems not to be working -- apparently it never had test coverage so it's missing a few parameters :/
I'll submit a fix shortly.

Does it work with 1 GPU? Try CUDA_VISIBLE_DEVICES=0 python train.py (...)

no，I have tried using it with 1 GPU， but It doesn't work.

Actually the LightConv LM seems not to be working -- apparently it never had test coverage so it's missing a few parameters :/
I'll submit a fix shortly.

OK, thank you for your answer.

Actually the LightConv LM seems not to be working -- apparently it never had test coverage so it's missing a few parameters :/
I'll submit a fix shortly.

Sorry to bother you again, may I ask if the bug has been repaired?

Yes should be fixed in 1c565940012c81e3c5f24ef0913002418beb7afa.

Sorry, I misread your original comment and thought this was about LightConv LM, but you're actually asking about Levenshtein Transformer. I'll look into...

I just tried your command using the master version of fairseq and it worked. Can you please try again?

I just tried your command using the master version of fairseq and it worked. Can you please try again?

Is there any impact on using Cuda virtual environment?  I just updated my code environment，the version of faieseq and pytorch is 0.9 and 1.2. But I got the same problem.

Not sure, sorry. Does other PyTorch code work for you?
The fact that you're getting a SIGSEV suggests it's may be a problem with your environment.
In general, when you don't get a nice stack trace, it's useful to test on one GPU, use CUDA_LAUNCH_BLOCKING, and set dataloading to be in the main thread (using the --workers=0 flag).
So please try CUDA_VISIBLE_DEVICES=0 CUDA_LAUNCH_BLOCKING=1 python train.py --workers=0 (...)

Not sure, sorry. Does other PyTorch code work for you?
The fact that you're getting a SIGSEV suggests it's may be a problem with your environment.
In general, when you don't get a nice stack trace, it's useful to test on one GPU, use CUDA_LAUNCH_BLOCKING, and set dataloading to be in the main thread (using the --workers=0 flag).
So please try CUDA_VISIBLE_DEVICES=0 CUDA_LAUNCH_BLOCKING=1 python train.py --workers=0 (...)

Hi, sorry to bother you again. I changed the commands:
--arch levenshtein_transformer
--task translation_lev
to:
--arch transformer
--task translation
And delete the commands:
--apply-bert-init
--criterion nat_loss
--noise random_delete
and the model is trained normally. I tried `CUDA_VISIBLE_DEVICES=0 CUDA_LAUNCH_BLOCKING=1 python train.py', It also doesn't work and get the same problem.

Not sure, sorry. Does other PyTorch code work for you?
The fact that you're getting a SIGSEV suggests it's may be a problem with your environment.
In general, when you don't get a nice stack trace, it's useful to test on one GPU, use CUDA_LAUNCH_BLOCKING, and set dataloading to be in the main thread (using the --workers=0 flag).
So please try CUDA_VISIBLE_DEVICES=0 CUDA_LAUNCH_BLOCKING=1 python train.py --workers=0 (...)

Hi, sorry to bother you and thank you very much for your reply, I tried the example in https://github.com/pytorch/fairseq/blob/master/examples/nonautoregressive_translation/scripts.md, and the 'NAT', 'NAT-CRF', 'iNAT', 'CMLM' is worked normally, but for 'Insertion Transformer' and 'Levenshtein Transformer' is not work.
So I think my environment is normal. I would like to ask in what environment do you run 'Levenshtein Transformer'. Does 'Levenshtein Transformer' have other requirements for data than ‘--joined-dict’?
Thanks for your replay.

@MultiPath @kahne

I don't think we have special requirements for the data. I still don't understand what does not work for Insertion Transformer and Levenshtein Transformer

Please refer this https://github.com/pytorch/fairseq/issues/1346#issuecomment-567516336


Remove trailing whitespace

My text editor removes all trailing whitespace in a file upon saving, so I just went around and did Ctrl-S on pretty much every file in the repo.
Related to #5, I would definitely like there to be some automated way to find and remove trailing whitespace in this repo.

linting the entire repository for trailing whitespace could be performed with regular expressions: there's several approaches to this, the simplest being to delete all matches across all files for [ \t]+$ (all trailing spaces and tabs).
A more sophisticated approach might be deleting all matches for ([^ \t\r\n])[ \t]+$ (to verify non-whitespace followed by tabs or spaces and avoid deleting whitespace lines).
Has this PR searched for trailing spaces in this (or another systematic) way?
Would you be interested in adding such a check to the CI?

Turns out that I forgot to check the manual directory, so there were some that I had missed the first time (just goes to show that we should automate this somehow).
Anyway


single-cell locations

I want to run Deepprofiler for this dataset, Is there any CSV file for single-cell locations that I could use?
in deep_profiles/README.md/Download location:
Copy the csv files containing the cell locations to the inputs/locations folder.
but I can't find this csv file.
can someone help me with this?

Hi @tahereT, we haven't made the cell locations available yet. We will soon be transferring the single cell profiles to the same s3 bucket and you will be able to find the single cell locations in those files.

Hi @niranjchandrasekaran, Thanks for your reply. Is it clear when it will be on s3 bucket?

Hi @tahereT, I don't have an estimate for when it will be available on the bucket. I am hoping that it will be my the end of the month. I will keep you posted.

Hi @tahereT, the single cell are now available on the S3 bucket. I hope you still find them useful. You should be able to find them in s3://cellpainting-gallery/jump-pilot/source_4/workspace/backend/

Thanks @niranjchandrasekaran

hello @niranjchandrasekaran I downloaded the s3 bucket you mentioned, but I cannot find the single cell locations. It appears that these are well-aggregated CellProfiler profiles. Am I missing something, or where can I find the locations? Thank you!

Hi @wongdanr, in s3://cellpainting-gallery/jump-pilot/source_4/workspace/backend/2020_11_04_CPJUMP1 you will find two files for each plate, a .csv and a .sqlite. The .csvs are well aggregated profile and the .sqlites contain the single cell profiles.


[ANNOUNCEMENT] "Who is using Dr. Elephant?"

It's been close to 3 months since the open sourcing of Dr. Elephant and we have received tremendous response from the community and many companies have already started adopting Dr. Elephant. At Linkedin, Dr. Elephant has been successfully running for more than 2 years, analyzing over a hundred thousand jobs everyday.
As Dr. Elephant continues to grow, it will be good to track which companies are using Dr. Elephant. This will encourage others to try Dr. Elephant and help build the community.
Request you to send an email to me or reply to this issue with the github handle of the active members working on Dr. Elephant, company name and a link to a pull request. I'll update this in the README file of Dr. Elephant.
@stiga-huang @krishnap @paulbramsen @tglstory @ljank @plypaul @hongbozeng @liyintang @brandtg @timyitong @chetnachaudhari @cjuexuan @rsprabery @miloveme @anspuli @aNutForAJarOfTuna
Thanks and cheer to everyone.
Akshay Rai

Airbnb
@paulbramsen #83
@krishnap #14

Flipkart
@chetnachaudhari #40

inmobi
@anspuli  #36

Hulu
@stiga-huang #37
@stiga-huang #75
@stiga-huang #66

Foursquare
@tglstory #38 #26 #25

At Airbnb we're working on on-boarding @saguziel as well.

Altiscale
@babak-altiscale

Sorry for the delayed post; finally catching up here.
PayPal
@zero45
@rsprabery

Evariant
@alo-alt
@kris-savoy

Didi
And by the way we just begin to use this wonderful tools, and plan to adjust this tools for our purpose, so we will maintain two branch for Dr-elephant, and also we eager to contribute to this project.
@ericsahit

trvivago
@cvaliente

Cardlytics
@bretlowery

immomo.com

hello Akshay we at j n j are planning to use
can u please assist us here in the set up


feat(cloud_firestore, ios): DocumentSnapshotStreamHandler was not correctly listening on metadata changes

Description
On an iOS device, using includeMetadataChanges does not work stream correct metadata events for single document snapshots.
These events are not handled correctly:

First query execution (works correctly on first app launch [because data is not yet in cache, but any subsequent launch will be handled incorrectly])
Regaining/Losing connection to the database

Related Issues
Fixes: https://github.com/firebase/flutterfire/issues/12761
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (melos run analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

Please sign the google cla

My employer did sign the CLA yesterday and added me to the relevant google group.
Looking at the CLA Troubleshooting Page (https://opensource.google/documentation/reference/cla#troubleshoot), I guess it is waiting for Google to validate the request:

If the contributor is covered by a corporate CLA, make sure that the corporation is listed at http://linkremoved/. If it's not, it simply may not have been processed yet, which typically takes a few days.

After the request is entered in the system, the CLA is sent via DocuSign to an authorized signer at the company. Once that's signed, it's sent back to Google for validation and cross-signing.


Lens not responding in latest versions

Describe the bug
not responding
To Reproduce
Steps to reproduce the behavior:
Always happens when typing on the command line
Sometimes it happens when you open the lens
Expected behavior
lens can work normally
Screenshots

Environment (please complete the following information):

Lens Version:
Version of the last two weeks, with auto update
Current Version:

Windows 10

Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:
error: [KUBE-API] watch (weblink-11) throwed /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion= request to https://b11ae6dc-324c-466a-8f9a-f6fb5e72f5b9.catalog.k8slens.dev/apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=&timeoutSeconds=300 failed, reason: read ECONNRESET {"type":"system","errno":"ECONNRESET","code":"ECONNRESET","stack":"FetchError: request to https://b11ae6dc-324c-466a-8f9a-f6fb5e72f5b9.catalog.k8slens.dev/apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=&timeoutSeconds=300 failed, reason: read ECONNRESET\n    at ClientRequest.<anonymous> (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\node_modules\\node-fetch\\lib\\index.js:1483:11)\n    at ClientRequest.emit (events.js:327:22)\n    at ClientRequest.EventEmitter.emit (domain.js:467:12)\n    at TLSSocket.socketErrorListener (_http_client.js:469:9)\n    at TLSSocket.emit (events.js:315:20)\n    at TLSSocket.EventEmitter.emit (domain.js:467:12)\n    at emitErrorNT (internal/streams/destroy.js:106:8)\n    at emitErrorCloseNT (internal/streams/destroy.js:74:3)\n    at processTicksAndRejections (internal/process/task_queues.js:80:21)"}
info: [KUBE-API] watch (weblink-11) aborted /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=
info: [KUBE-API] watch (weblink-12) started /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=
info: [KUBE-API] watch (devcluster-16) error /apis/entities.k8slens.dev/v1beta1/namespaces/default/devclusters?watch=1&resourceVersion=
info: [KUBE-API] watch (devcluster-16) retried /apis/entities.k8slens.dev/v1beta1/namespaces/default/devclusters?watch=1&resourceVersion=
info: [CLUSTER]: refresh {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
warn: [METRICS-ROUTE]: failed to get metrics for clusterId=e833db1194c32b4fafd2db33cabfa8d0: No Prometheus service found {"cause":["Error: Failed to list services for PrometheusLens in namespace='lens-metrics': services \"prometheus\" not found","Error: No service found for PrometheusHelm from any namespace","Error: No service found for PrometheusPrometheus Operator from any namespace","Error: Failed to list services for PrometheusStacklight in namespace='stacklight': services \"prometheus-server\" not found"],"stack":"Error: No Prometheus service found\n    at pa.getPrometheusService (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:107284)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at async pa.getPrometheusDetails (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:106121)\n    at async Object.routeMetrics [as route] (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:314745)\n    at async Cd.route (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:328892)"}
info: [CLUSTER]: refresh {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
info: [STORE]: SAVING C:\Users\Administrator\AppData\Roaming\Lens\extension-store\lenscloud-lens-extension\auth-token-store.json
info: [CLUSTER]: refresh {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
info: [CLUSTER]: refresh {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
warn: [METRICS-ROUTE]: failed to get metrics for clusterId=e833db1194c32b4fafd2db33cabfa8d0: No Prometheus service found {"cause":["Error: Failed to list services for PrometheusLens in namespace='lens-metrics': services \"prometheus\" not found","Error: No service found for PrometheusHelm from any namespace","Error: No service found for PrometheusPrometheus Operator from any namespace","Error: Failed to list services for PrometheusStacklight in namespace='stacklight': services \"prometheus-server\" not found"],"stack":"Error: No Prometheus service found\n    at pa.getPrometheusService (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:107284)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at async pa.getPrometheusDetails (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:106121)\n    at async Object.routeMetrics [as route] (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:314745)\n    at async Cd.route (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:328892)"}
info: [CLUSTER]: refresh {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
info: [CLUSTER]: refresh {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
warn: [METRICS-ROUTE]: failed to get metrics for clusterId=e833db1194c32b4fafd2db33cabfa8d0: No Prometheus service found {"cause":["Error: Failed to list services for PrometheusLens in namespace='lens-metrics': services \"prometheus\" not found","Error: No service found for PrometheusHelm from any namespace","Error: No service found for PrometheusPrometheus Operator from any namespace","Error: Failed to list services for PrometheusStacklight in namespace='stacklight': services \"prometheus-server\" not found"],"stack":"Error: No Prometheus service found\n    at pa.getPrometheusService (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:107284)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at async pa.getPrometheusDetails (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:106121)\n    at async Object.routeMetrics [as route] (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:314745)\n    at async Cd.route (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:328892)"}
info: [CLUSTER]: refresh {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
warn: [METRICS-ROUTE]: failed to get metrics for clusterId=e833db1194c32b4fafd2db33cabfa8d0: No Prometheus service found {"cause":["Error: Failed to list services for PrometheusLens in namespace='lens-metrics': services \"prometheus\" not found","Error: No service found for PrometheusHelm from any namespace","Error: No service found for PrometheusPrometheus Operator from any namespace","Error: Failed to list services for PrometheusStacklight in namespace='stacklight': services \"prometheus-server\" not found"],"stack":"Error: No Prometheus service found\n    at pa.getPrometheusService (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:107284)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at async pa.getPrometheusDetails (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:106121)\n    at async Object.routeMetrics [as route] (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:314745)\n    at async Cd.route (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:328892)"}
info: [KUBE-API] watch (devcluster-16) error /apis/entities.k8slens.dev/v1beta1/namespaces/default/devclusters?watch=1&resourceVersion=
info: [KUBE-API] watch (weblink-12) error /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=
info: [CLUSTER]: refresh {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
info: [KUBE-API] watch (devcluster-16) retried /apis/entities.k8slens.dev/v1beta1/namespaces/default/devclusters?watch=1&resourceVersion=
info: [KUBE-API] watch (weblink-12) retried /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=
info: [CLUSTER]: refresh {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
warn: [METRICS-ROUTE]: failed to get metrics for clusterId=e833db1194c32b4fafd2db33cabfa8d0: No Prometheus service found {"cause":["Error: Failed to list services for PrometheusLens in namespace='lens-metrics': services \"prometheus\" not found","Error: No service found for PrometheusHelm from any namespace","Error: No service found for PrometheusPrometheus Operator from any namespace","Error: Failed to list services for PrometheusStacklight in namespace='stacklight': services \"prometheus-server\" not found"],"stack":"Error: No Prometheus service found\n    at pa.getPrometheusService (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:107284)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at async pa.getPrometheusDetails (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:106121)\n    at async Object.routeMetrics [as route] (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:314745)\n    at async Cd.route (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:328892)"}
info: [CLUSTER]: refresh {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
info: [KUBE-API] watch (devcluster-16) error /apis/entities.k8slens.dev/v1beta1/namespaces/default/devclusters?watch=1&resourceVersion=
info: [KUBE-API] watch (weblink-12) error /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=
info: [KUBE-API] watch (devcluster-16) retried /apis/entities.k8slens.dev/v1beta1/namespaces/default/devclusters?watch=1&resourceVersion=
info: [KUBE-API] watch (weblink-12) retried /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=
info: [CLUSTER]: refresh {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
warn: [METRICS-ROUTE]: failed to get metrics for clusterId=e833db1194c32b4fafd2db33cabfa8d0: No Prometheus service found {"cause":["Error: Failed to list services for PrometheusLens in namespace='lens-metrics': services \"prometheus\" not found","Error: No service found for PrometheusHelm from any namespace","Error: No service found for PrometheusPrometheus Operator from any namespace","Error: Failed to list services for PrometheusStacklight in namespace='stacklight': services \"prometheus-server\" not found"],"stack":"Error: No Prometheus service found\n    at pa.getPrometheusService (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:107284)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at async pa.getPrometheusDetails (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:106121)\n    at async Object.routeMetrics [as route] (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:314745)\n    at async Cd.route (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:328892)"}
info: [CLUSTER]: refresh {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
info: [CLUSTER]: refreshMetadata {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
info: [STORE]: SAVING C:\Users\Administrator\AppData\Roaming\Lens\lens-cluster-store.json
info: [STORE]: SAVING C:\Users\Administrator\AppData\Roaming\Lens\extension-store\lenscloud-lens-extension\auth-token-store.json
info: [CLUSTER]: refresh {"id":"e833db1194c32b4fafd2db33cabfa8d0","name":"275362819260395920-c675bec3d979649c9b2a01ab7bbeddd28","ready":true,"online":true,"accessible":true,"disconnected":false}
warn: [METRICS-ROUTE]: failed to get metrics for clusterId=e833db1194c32b4fafd2db33cabfa8d0: No Prometheus service found {"cause":["Error: Failed to list services for PrometheusLens in namespace='lens-metrics': services \"prometheus\" not found","Error: No service found for PrometheusHelm from any namespace","Error: No service found for PrometheusPrometheus Operator from any namespace","Error: Failed to list services for PrometheusStacklight in namespace='stacklight': services \"prometheus-server\" not found"],"stack":"Error: No Prometheus service found\n    at pa.getPrometheusService (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:107284)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at async pa.getPrometheusDetails (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:106121)\n    at async Object.routeMetrics [as route] (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:314745)\n    at async Cd.route (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\static\\build\\main.js:1:328892)"}
info: [KUBE-API] watch (weblink-12) error /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=
info: [KUBE-API] watch (weblink-12) retried /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=
error: [KUBE-API] watch (weblink-12) throwed /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion= request to https://b11ae6dc-324c-466a-8f9a-f6fb5e72f5b9.catalog.k8slens.dev/apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=&timeoutSeconds=300 failed, reason: read ECONNRESET {"type":"system","errno":"ECONNRESET","code":"ECONNRESET","stack":"FetchError: request to https://b11ae6dc-324c-466a-8f9a-f6fb5e72f5b9.catalog.k8slens.dev/apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=&timeoutSeconds=300 failed, reason: read ECONNRESET\n    at ClientRequest.<anonymous> (C:\\Users\\Administrator\\AppData\\Local\\Programs\\Lens\\resources\\app.asar\\node_modules\\node-fetch\\lib\\index.js:1483:11)\n    at ClientRequest.emit (events.js:327:22)\n    at ClientRequest.EventEmitter.emit (domain.js:467:12)\n    at TLSSocket.socketErrorListener (_http_client.js:469:9)\n    at TLSSocket.emit (events.js:315:20)\n    at TLSSocket.EventEmitter.emit (domain.js:467:12)\n    at emitErrorNT (internal/streams/destroy.js:106:8)\n    at emitErrorCloseNT (internal/streams/destroy.js:74:3)\n    at processTicksAndRejections (internal/process/task_queues.js:80:21)"}
info: [KUBE-API] watch (weblink-12) aborted /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=
info: [KUBE-API] watch (weblink-12) aborted /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=
info: [KUBE-API] watch (weblink-12) aborted /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=
info: [KUBE-API] watch (weblink-12) aborted /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=
info: [KUBE-API] watch (weblink-13) started /apis/entities.k8slens.dev/v1/namespaces/default/weblinks?watch=1&resourceVersion=

i guess
same as https://github.com/lensapp/lens/issues/4430 and https://github.com/lensapp/lens/issues/4490

Duplicate over those others


[Enhancement] support rewrite scan predicate to or backport #

Why I'm doing:
What I'm doing:
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[x] Yes, this PR will result in a change in behavior.
[ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.7 out of 8 committers have signed the CLA.:white_check_mark: starrocks-xupeng:white_check_mark: sevev:white_check_mark: ABingHuang:white_check_mark: Astralidea:white_check_mark: before-Sunrise:white_check_mark: LiShuMing:white_check_mark: GavinMar:x: mergify[bot]You have signed the CLA already but the status is still pending? Let us recheck it.


Dev txs fix

Fix issue in which the dapp has a custom account defined the regular txs would not work since the dev account is not part of the list

@PascalPrecht - the difference in 99470cd is that is bypasses the proxy and gets accounts directly from the node. This means that even in accounts are configured without node accounts, we would still get the --dev account returned to us.


[New game]: RIP 👾

🎮 Game Request
Game logic and basic description

'if your grave doesnt say "rest in peace" on it you are automatically drafted into the skeleton war'

Point down the features
Game points

Fight against the ghosts as a skeleton

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @0xabdulkhalid !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @0xabdulkhalid ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


GMCP support

Is GMCP (out-of-band JSON) or any other out-of-band communications protocols supported?

The core doesn't have any real opinion about it, the implementation of the network layer is customizable. There is currently a ranvier-telnet bundle but it doesn't do any GCMP. So if someone wanted to implement GCMP they could use that bundle as a base and implement their GCMP code on top of it without changing the core.

Ok, that's a pity, I think this should come as a standard with a modern MUD
engine.
On Fri, 15 Sep 2017, 8:33 pm Shawn Biddle<EMAIL_ADDRESS>wrote:

The core doesn't have any real opinion about it, the implementation of the
network layer is customizable. There is currently a ranvier-telnet bundle
but it doesn't do any GCMP. So if someone wanted to implement GCMP they
could use that bundle as a base and implement their GCMP code on top of it
without changing the core.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/shawncplus/ranviermud/issues/276#issuecomment-329865196,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGxjF0YJDCiIc4Uwc-QM45Mmha49ip-ks5sisMDgaJpZM4PZWGD
.

The point of the engine is that it's not opinionated, even about the network layer. If someone wants a networking layer is that has GCMP they're free to use whatever telnet library they want and hook that into Ranvier.

@vadi2 As of the latest commit ranvier does support GMCP, see https://github.com/shawncplus/ranvier-telnet for usage.

Awesome, thanks!


Add Carthage support

It is supported. You need to add the 3 frameworks: MXPagerView, HMSegmentedControl and MXSegmentedPager


Feature Request: Allow Modification of HIP Arguments in the profiling callback in HIP Internal and/or a HIP API table Implementation

Background
The Northeastern University Computer Architecture Lab (NUCAR) is currently working on a tool that would provide the same functionality as NVBit for instrumenting AMD GPU applications. Parallel to our group's work, AMD is actively supporting other instrumentation research efforts, most notably hiptracer worked on by @crozhon and his colleagues at UC Davis.
A CUDA Driver API interception layer via the LD_PRELOAD trick is how NVBit supports instrumentation on the device side (as well as the CUDA-realated host code). We require a similar layer to intercept HIP/HSA/OpenCL library function calls to achieve the same goal.
Our initial approach in our project (and similar to the approach taken in the hiptracer project at UC Davis) was to use the dlsym library and write this layer from scratch. However, upon further inspection, this does not seem to be the way to go because of the following reasons:

The HIP/HSA stack has a very wide range of functions to intercept. Writing an interception layer using dlsym from scratch is a large undertaking (as of right now about 400 enumerated APIs just for HIP), not to mention its maintenance efforts. Naive implementations (e.g. overriding each and every library call manually) are not the best path forward.
NVBit does not seem to use the dlsym library directly. It uses the function cuGetExportTable (discussions on how it presumably works) to get the internal tables of functions in the CUDA driver layer and modifies them for interception. CUDA calls are performed normally, and then jump into nvbit once the cuGetExportTable function is called inside the CUDA library. NVBit provides its own callback API and doesn't rely on CUPTI API as far as we know.

This led us take a close look at roctracer/rocprofiler to see how they manage to capture HIP/HSA API calls.
Relation to roctracer
Roctracer's callback API captures both HSA and HIP APIs, and allows preloading to work with any application. Roctracer seems to perform similiarly to cuGetExportTable as it interfaces with the HIP runtime directly through the profiling interface, and uses an exported table from HSA.
We were able to use roctracer demo codes to capture API function call arguments in our project in a similar fashion to NVBit.
To instrument code, however, we require modification of the arguments to the API function calls. This is not allowed in roctracer, since tracing/profiling doesn't require modifying how the core application behaves.
Requested Feature
We request that support for modification of HIP/HSA API arguments in the callback API to be added to the ROCm stack. This can be added by first modifying the  activity_rtapi_callback_t
type which encapsulates user-specified callbacks to lose its const qualifier on its data argument as follows:
typedef void (*activity_rtapi_callback_t)(uint32_t domain, uint32_t cid, void* data, void* arg);

And the modified argument void* data is then carried over to the real API call.
This feature doesn't necessarily need to be exposed through roctracer. We're more than happy to contribute it ourselves.
Reasons to Support this feature

Easier tool development for instrumentation.
A single interception layer that works for profiling, tracing and instrumentation.
Better maintenance of this piece of code, as any new API added to HIP gets automatically added to the interception layer.

An update to this feature request
I was able to write my own tracing layer using HSA's API table provided by the ROCm runtime at startup and adding the AMD tool priority global parameter. This did not require the use of the dlsym library. However, due to the "callback function registration" mechanism in HIP, the only option for an instrumentation tool to intercept HIP functions and modifies its arguments is overriding the definition of HIP library calls and access the originals via dlsym. Although this is functional for my purpose, it still requires any other tool that uses my tool library to include it for LD_PRELOAD.
I would like to update my feature request to either implement and expose HIP API tables to tool writers, in the same manner done by HSA, or allow modification of arguments in the HIP callback function, which can then be registered by a tool writer via dlsym-ing hipRegisterTracerCallback from the HIP library.
Tagging @ammarwa for an update on this issue.

Hello,
Thank you for your detailed description!
We are considering changing the HIP Runtime API to be done in the same or similar way to the HSA API table methodology.
Let me know if you have more questions or if I missed anything here.

@ammarwa thank you for the update.
Do you have any ETA on the feature implementation? I might be able to contribute this myself.

@ammarwa thank you for the update.
Do you have any ETA on the feature implementation? I might be able to contribute this myself.

I suspect the HIP API tables won't be available until ROCm 6.0 and this is something we want to handle ourselves.

Although this is functional for my purpose, it still requires any other tool that uses my tool library to include it for LD_PRELOAD.

You might want to look into using LLNL/GOTCHA. It effectively provides a programmatic LD_PRELOAD. I use it extensively in AMDResearch/omnitrace to wrap tons of functions from MPI, RCCL, numa, pthreads, and others without depending on LD_PRELOAD.

Side note, I've been re-writing our intercept code for the HSA API tables and there is a clear path for us to support modification of the arguments in the callbacks before we pass those args to the underlying function. So potentially, it may be the case that by the time the HIP API tables are available, this will be possible through rocprofiler itself (unless we deem making this capability available in this context too risky)

@jrmadsen thank you for the explanation.
I think making the HIP API table available through the tool_load function like the HSA API tables will be enough for a custom tool that requires modifications. That way rocprofiler can enforce its const requirement.
Either way, as long as it is in the works and becomes available to the tool writers we're satisfied.
Also I will look into GOTCHA, seems like what we need until the HIP API table support is added. Thanks for pointing me to it.
Some lingering questions, is it possible for the hip registration functions __hipRegisterFatBinary and co to be also included in the API table? What is the criteria for a function to be included in the HIP API table? And what happens when an external API function is called by another external API function (or will that never happen due to using the "implementation" version of said API internally)?

We have solved this issue on our end by implementing callback functions ourselves with HSA, and using LD_PRELOAD for capturing HIP calls (waiting on HIP API tables to be added in the future).
We don't need this feature to be implemented in roctracer anymore, therefore I'm closing this issue.
Thank you for the help and pointing us towards the right direction.


Remove pointless workflow step

Its redfined in https://github.com/mdedetrich/sbt-source-dist/blob/163e40a41490e622513fa019d0e94b4a2b02b078/build.sbt#L43-L45

@pjfanning You want to quickly look at this?


[BUG] Kubeconfig server url not create correctly in WSL

What did you do
Create a cluster in Windows WSL 1 with k3d 4.1.1.
After the latest changes in pkg/runtimes/docker/docker.go and pkg/runtimes/docker/util.go as part of #323 it is not possible to utilise the kubeconfig created by k3d. The reason is that the server is set to https://localhost:2375:<<api-port>>.
By manually removing 2375 in the kubeconfig file, it is possible to connect to the cluster.
The the address localhost:2375 is from the environment variable DOCKER_HOST. In order to use docker in WSL, you have to set DOCKER_HOST to localhost:2375, in order for it to connect to docker installed in Windows.

How was the cluster created?

k3d cluster create test

What did you do afterwards?
k3d kubeconfig get test
or
kubectl version

What did you expect to happen
I would expect to be able to
Screenshots or terminal output
---
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: LS0tLS1CR....
    server: https://localhost:2375:61972
  name: k3d-test
contexts:
- context:
    cluster: k3d-test
    user: admin@k3d-test
  name: k3d-test
current-context: k3d-test
kind: Config
preferences: {}
users:
- name: admin@k3d-test
  user:
    client-certificate-data: LS0tLS1CRUdJTiBD...
    client-key-data: LS0tLS1CRU....

If` applicable, add screenshots or terminal output (code block) to help explain your problem.
Which OS & Architecture

Ubuntu 20.04 in WSL 1 on Windows 10 - 1809,

Which version of k3d

k3d version v4.1.1
k3s version v1.20.2-k3s1 (default)

Which version of docker
Client: Docker Engine - Community
 Version:           20.10.2
 API version:       1.40
 Go version:        go1.13.15
 Git commit:        2291f61
 Built:             Mon Dec 28 16:17:43 2020
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          19.03.12
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.10
  Git commit:       48a66213fe
  Built:            Mon Jun 22 15:49:27 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Hi @coopjonas , thanks for opening this issue!
Fix will be pushed soon and will land in the next release :+1:


Unable to receive Event Packets (Player Location).

I don't understand why I am not able to get a callback on any packets I did not directly request like PlayerLocation.
I am aware that they need to be subscribed and know that I might need to register them before the Client joins the Server. However, I registered it and tested that is indeed registered even before I joined the Server. Even rejoining the Server does not seem to fix the issue. I just don't get that packet on Main (Production) Server. If I, for example, request a Party Info Packet I DO get a Reponse . While I am not certain since it is quite some time back that I joined Alpha with the Mod as far as I remember it worked there for some reason.
Minecraft Fabric 1.20.6
Mod API Version: 0.5.0
I set a breakpoint in the Handling in the Mod API itself. Unfortunately only in the method header since I am unable to import the source for whatever reason. Reason below. Could be a problem with the Gradle configuration though. It is currently problematic and only works when starting in the IDE.
public void handle(net.hypixel.modapi.packet.ClientboundHypixelPacket packet)
in order to see which packets are received.
I get a Hello Packet as well as replies for packets I sent. However, no PlayerLocation packets when swapping lobbies. I remember joining Alpha and as far as I remember it worked there. I have had this problem for a while now. At least since 0.4.0 if not longer. I assumed it was a incorrect implementation on my side but at this point, I don't think it is me. I require Mod API in dependencies and it is up to date using latest.release.
All Code was checked whether it gets called via breakpoints,
public void register() {
        HypixelModAPI.getInstance().subscribeToEventPacket(ClientboundLocationPacket.class);
        HypixelModAPI.getInstance().registerHandler(ClientboundHelloPacket.class,this::onHelloEvent);
        HypixelModAPI.getInstance().registerHandler(ClientboundLocationPacket.class,this::onLocationEvent);
        HypixelModAPI.getInstance().registerHandler(ClientboundPingPacket.class,this::onPingPacket);
        HypixelModAPI.getInstance().registerHandler(ClientboundPlayerInfoPacket.class,this::onPlayerInfoPacket);
        HypixelModAPI.getInstance().registerHandler(ClientboundPartyInfoPacket.class,this::onPartyInfoPacket);
        HypixelModAPI.getInstance().registerHandler(ClientboundLocationPacket.class,this::onLocationEvent);
    }

If it is needed the Project can be found here
Source Download Error:
Execution failed for task ':common:ijDownloadSourcesf72cc370-269'.
> Could not resolve all files for configuration ':common:downloadSources_2c5ee321-b5cf-4fbf-8955-079a640af27d'.
   > Could not find mod-api-0.5.0-sources.jar (net.hypixel:mod-api:0.5.0).
     Searched in the following locations:
         https://repo.hypixel.net/repository/Hypixel/net/hypixel/mod-api/0.5.0/mod-api-0.5.0-sources.jar

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

It looks like another case of the payload being sent before the login packet, and the client does not yet have a handler for sending a packet. I wouldn't say I like that the client just can't send custom payloads before the login packet, but since both 1.8 and even the latest versions with the fabric API have this issue, we will look at making a change on the server side to send the packet after the first login is sent to the client.

This issue should be resolved now on the production network

This issue should be resolved now on the production network

It is. It worked since yesterday.

This issue should be resolved now on the production network

For internal Event usage it would be good to know when the Lobby is fully loaded for example Tablist is fully loaded etc. I could imagine that a mod API packet for that at the end of the initialization phase would be good. Possibly the LocationEventPacket?


Dashboard: support parse visual plan

support parse visual plan

 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.

@shhdgit


Implement (optional) machine-type dependent resource reservations

How to categorize this PR?

/area robustness
/kind enhancement
What this PR does / why we need it:
The PR implements the "Configure sensible default values for kube-reserved based on the worker pool's machine size, similar to GKE's formula for resource reservation" part of https://github.com/gardener/gardener/issues/2590
Different from the sketched approach there, the admission plugin is enabled by default, but is configured to maintain the current behavior. The reason for that is that the defaulting in pkg/apis/core/v1beta1/defaults_shoot.go had to be removed, such that we can either add two admission plugins (one for the current behavior and one for using the GKE formula) or use one admission plugin but make it configurable. The latter option is probably the clearer one.
Which issue(s) this PR fixes:
Implements part of https://github.com/gardener/gardener/issues/2590
Special notes for your reviewer:
Open questions:

[ ] There's no documentation so far, should we add it as part of this PR or a follow-up one?
[ ] What do you think about the configuration option name typeDependentReservations of the admission plugin ? A name like useGKEFormula might be more descriptive.

The GKE formula in the admission controller can be enabled using the following config map (assuming that the configuration is passed to the gardener-apiserver):
apiVersion: v1
kind: ConfigMap
metadata:
  name: gardener-apiserver-admission-config
  namespace: garden
data:
  configuration.yaml: |-
    apiVersion: apiserver.config.k8s.io/v1
    kind: AdmissionConfiguration
    plugins:
    - configuration:
        apiVersion: shootresourcereservation.admission.gardener.cloud/v1alpha1
        kind: Configuration
        typeDependentReservations: true
      name: ShootResourceReservation

Release note:

[operator] The gardener apiserver admission plugin `ShootResourceReservation` now supports calculating resource reservations based on the available resources of a machine type if `typeDependentReservations` are enabled.

/assign

/ok-to-test

(I'll add some documentation next week)

/retest

@rfranzke I've fixed the tests and addressed the review comments. PTAL.

@MichaelEischer Then only the discussion in https://github.com/gardener/gardener/pull/9449#discussion_r1562266452 is unresolved

/retest


vector exercises

Current dependencies on/for this PR:

main

PR #5   👈

This comment was auto-generated by Graphite.


Failed to load plugin on iOS

Hi,
I can't seem to load the plugin on my iPad, but it works perfectly fine on my laptop. I have the latest version of Obsidian and I reinstalled the plugin, still doesn't work. Thanks for your help!

I just installed Obsidian on an iPad and the plug-in without any issue. Could another plug-in be clashing with it?

Hi @rachandbach, I can't reproduce this too. But, there's a new release (v1.7.0). Could you check if it fixes it for you?

Hi @rachandbach, I can't reproduce this too. But, there's a new release (v1.7.0). Could you check if it fixes it for you?

Closing due to inactivity


The last three columns in new output

Hi, after update to current releases, I notice there are 8 columns in the output result, can you explain what the last three columns mean. Thanks

Hi,
First, I want to mention that Kourami outputs 2 solutions alleles by simultaneously finding the best pair of paths through HLA-graph in terms on weights and amount of phasing information.
Three additional columns are basically weights of bottleneck edges(edges with minimal weight)
6th column: reports the combined bottleneck weights of both paths at a position. This is not necessarily same as the sum of column 7 and 8.
7th column: Weight of the bottleneck edge in path 1
8th column: Weight of the bottleneck edge in path 2
I will also update the readme page as well.


Prepare NuGet package

AFAIK our organization is named Zyran. That way, we should probably change the attributes in AssemblyInfo.cs to that name instead.


Clicking Sign Up sends multiple emails

Clicking the sign up button will send multiple requests/emails. This is probably the case for "forgot password" as well.

Possible solutions:

disable the button after you click it with a 1 minute re-activation
indefinitely disable button (until refresh)
button is still clickable but in the background, debounce and don't send another request within x seconds

Can you add repo steps? I'm only getting 1 email.

I deleted my account
Went to https://saasstarter.work/login/sign_up/
Typed in my email and password
Click on SIGN UP, wait +- 3 seconds
Click on SIGN UP 3 more times with 1 second intervals

Browser: Chrome

Ah, it re-enables after it's complete!
is this not a but in supabase/auth-helpers? They handle all this UI.

I haven't looked into the auth-ui library so much, just assumed it would have events you can hook into and do things accordingly like show a different UI while it's loading but doesn't seem like that is the case.
Saw it went into [Maintenance Mode](https://github.com/supabase-community/auth-ui) about a month ago. That's very sad 😭 Rather than maintaining framework-specific packages, they should just have a standard/native html/js package.

Hmm, not sure this should be closed, the issue still exists even if auth-ui is in "maintenance mode". I suppose this is another reason to migrate to SSR from auth-helpers?

Duplicate of #29
Back and forth on this one 🤣. But we don’t need 2 issues for same action item. If the upgrade to ssr is the fix, let’s track that in 29. If it’s not let’s file a bug on supabase because it’s on their side.


Add toReference to fieldPolicies

This works, but you might have ideas how to implement this, don't know if this fits well in the architecture?

Awesome. The typescript type is StoreObject | string | Reference.  Is { __typename, id } that you're using here the StoreObject? It has this definition:
export interface StoreObject {
    __typename?: string;
    [storeFieldName: string]: StoreValue;
}

I guess I'd just want to account for the other options as I have no idea when they are relevant. Is id definitely always present?

Hmm yes. Let me look into this to make the types more correct!


A macro to get the current function name.

rendered

👍
Pie-in-the-sky: It would be nice to have a more flexible feature where you could have a function automatically receive its caller's file/line/function name/etc., like C++ recently added with std::source_location (although the design C++ picked is terrible).  But of course there's no need for that to block adding function! to the existing set of macros.

That actually was requested earlier today: https://github.com/rust-lang/rfcs/issues/2815

It would be nice to have a more flexible feature where you could have a function automatically receive its caller's file/line/function name/etc.

@comex This is already being implemented https://github.com/rust-lang/rust/pull/65881

Who is going to implement this RFC by the way? I think we should have someone available to do that, with mentoring if necessary (if so a mentor is required, e.g. @petrochenkov), before accepting the RFC.

I have a reference implementation of this feature.
https://github.com/da-x/rust/pull/new/function-macro-1.38.0
It working, but would probably need some changes to conform to the RFC.

https://github.com/da-x/rust/tree/function-macro-1.38.0

Hmm; it feels fairly invasive to add &Option<ast::Path> in so many places. Looking over that, I think something like item_path!() which is the concatenation of the module_path!() as well as e.g. StructName::function_name would be less invasive and strictly more general.

@Centril I agree regarding having &Option<ast::Path> added in the internal API, and so I've originally also had a change to extend ExtCtxt with a new field instead. However 1) it's for a much earlier rustc version and 2) it uses Rc as in the new Option<Rc<ast::Path>> field which I opt to avoid. Need to see how it fits into the scheme of things now.

@comex This is already being implemented rust-lang/rust#65881

What!  Now that's the kind of pleasant surprise that comes rarely.
Hmm... but if that is already being implemented, might it make sense to not add a new macro, but instead just add the function name to Location?
It seems like Location::caller() is already enough to get you the current location – making it equivalent to file!()/line!()/etc. – if the current function is not #[track_caller].  But we should probably add something that always gets the current location even if the current function is #[track_caller]; I'll comment in the tracking issue.
On the other hand, it may be worth adding a macro just to avoid confusing people who see the macros but don't know about Location.

Updated based on current feedback.
I'm extremely convinced by the item_path!() idea, to the point where if Centril had simply suggested it yesterday instead of today I wouldn't have even opened this RFC.

I'm in favor of item_path! as well, as a generalization of this that seems quite useful.

This time you write it Josh ;3

I wonder if specifying this in terms of type_name::<$thisfunction>() is better and whether this could be more composable and general if we instead added a macro to produce $thisfunction rather than type_name::<$thisfunction>().

this is in wip?

No, this is pretty dead I'd have to say.
The idea isn't fundamentally bad, it's just we all got busy with other things.
I'll close this for now.

In the meantime we can use function_name!() from stdext crate - https://docs.rs/stdext/0.2.1/stdext/macro.function_name.html

@ArekPiekarz Is the latest version (0.3.0) still working for that purpose? I'm getting the following while trying it out:
% cargo build
   Compiling stdext v0.3.0
error[E0391]: cycle detected when caching mir of `num::integer::<impl at /Users/rvalls/.cargo/registry/src/github.com-1ecc6299db9ec823/stdext-0.3.0/src/num/integer.rs:274:9: 440:10>::BITS` for CTFE
   --> /Users/rvalls/.cargo/registry/src/github.com-1ecc6299db9ec823/stdext-0.3.0/src/num/integer.rs:277:13
    |
277 |             const BITS: u32 = Self::BITS;
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
445 | impl_integer!(u8, u16, u32, u64, u128);
    | --------------------------------------- in this macro invocation
    |
    = note: ...which requires normalizing `<u8 as num::integer::Integer>::BITS`...
note: ...which requires simplifying constant for the type system `num::integer::<impl at /Users/rvalls/.cargo/registry/src/github.com-1ecc6299db9ec823/stdext-0.3.0/src/num/integer.rs:274:9: 440:10>::BITS`...
   --> /Users/rvalls/.cargo/registry/src/github.com-1ecc6299db9ec823/stdext-0.3.0/src/num/integer.rs:277:13
    |
277 |             const BITS: u32 = Self::BITS;
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
445 | impl_integer!(u8, u16, u32, u64, u128);
    | --------------------------------------- in this macro invocation
note: ...which requires simplifying constant for the type system `num::integer::<impl at /Users/rvalls/.cargo/registry/src/github.com-1ecc6299db9ec823/stdext-0.3.0/src/num/integer.rs:274:9: 440:10>::BITS`...
   --> /Users/rvalls/.cargo/registry/src/github.com-1ecc6299db9ec823/stdext-0.3.0/src/num/integer.rs:277:13
    |
277 |             const BITS: u32 = Self::BITS;
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
445 | impl_integer!(u8, u16, u32, u64, u128);
    | --------------------------------------- in this macro invocation
note: ...which requires const-evaluating + checking `num::integer::<impl at /Users/rvalls/.cargo/registry/src/github.com-1ecc6299db9ec823/stdext-0.3.0/src/num/integer.rs:274:9: 440:10>::BITS`...
   --> /Users/rvalls/.cargo/registry/src/github.com-1ecc6299db9ec823/stdext-0.3.0/src/num/integer.rs:277:13
    |
277 |             const BITS: u32 = Self::BITS;
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
445 | impl_integer!(u8, u16, u32, u64, u128);
    | --------------------------------------- in this macro invocation
    = note: ...which again requires caching mir of `num::integer::<impl at /Users/rvalls/.cargo/registry/src/github.com-1ecc6299db9ec823/stdext-0.3.0/src/num/integer.rs:274:9: 440:10>::BITS` for CTFE, completing the cycle
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error

For more information about this error, try `rustc --explain E0391`.
error: could not compile `stdext`

To learn more, run the command again with --verbose.

@brainstorm I'm not the author of that crate, but I just tested that it still works in a simple program. Can you share code which exhibits the problem?

@ArekPiekarz I don't have much time to cook a proper small reproducer like I used to in https://github.com/brainstorm/dotenv-codegen-rustc-hang, but here's a 2 line start if you want to have a crack at it:
git clone https://github.com/umccr/aws-benchmarks && cd aws-benchmarks
git checkout 560e531b9bd263f73bbf547eb27f7e2485461c3c && cargo build

... maybe some interaction of the other crates I'm pulling in? Don't know 🤷🏻♂

@brainstorm I have built your project with your instructions without any errors. Here is the log - https://pastebin.com/m86af0pz
I'm on Manjaro 21.0.7 with Rust 1.53.

Yep, that was it! I was running with rustc 1.52.1 (9bc8c42bb 2021-05-09), then did rustup update to 1.53 and everything worked, thx!... stdext should  have a MSRV to that, I'll notify upstream accordingly.

The lack of official support is a bit of a shame.

So...has Rust just given up on this? Are we doomed to depend on a separate crate for this trivial functionality as well?


Better enum generator in cpp-package

Currently the enum generated for cpp-package in cpp-package/include/mxnet-cpp/op.h directly copies the enum name declared in NNVM registry.
e.g. the enum generated for PadMode is
enum class PadMode {
  constant = 0,
  edge = 1,
  reflect = 2
};

Ideally we should generate enums following cpp style convention, such as
enum class PadMode {
  kConstant = 0,
  kEdge = 1,
  kReflect = 2
};

so that enum will not conflict with existing cpp keywords (e.g. static, default, etc).
To do so OpWrapperGenerator.py needs to be updated by appending
self.enumValues[i] = 'k' + self.enumValues[i][0].upper() + self.enumValues[i][1:]

to https://github.com/dmlc/mxnet/blob/master/cpp-package/scripts/OpWrapperGenerator.py#L29
and change the enums used in cpp-package/example/*.cc accordingly.
We should change it sooner rather than later before the cpp-package grows huge.
@piiswrong  @lx75249 @hjk41  Any comment?

Agree. It's better to solve it before we need to consider backward compatibility.

@lx75249 one more edge case to check:
enum class Convolution_v1CudnnTune {
  kNone = 0,
  kFastest = 1,
  kLimited_workspace = 2,
  kOff = 3
};

kLimited_workspace should be kLimitedWorkspace

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


stress -> containerd-stress

Fix #1361
Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>

LGTM

Codecov Report

Merging #1365 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1365   +/-   ##
=======================================
  Coverage   36.32%   36.32%
=======================================
  Files          23       23
  Lines        2882     2882
=======================================
  Hits         1047     1047
  Misses       1600     1600
  Partials      235      235

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a64399a...f8b1f4f. Read the comment docs.


sealer build e2e test failed

What happen?

Relevant log output?
[ERROR] [root.go:75] sealer-unknown: failed to create manifest for multi platform build: error creating image to hold manifest list: image name "***/sealerio/build-test:v1" is already associated with image "683cfcf9eb87b5cac65c2b49bd92bb35284e50644dda830d217121de3860b722": that name is already in use

What you expected to happen?
No response
How to reproduce it (as minimally and precisely as possible)?
No response
Anything else we need to know?
No response
What is the version of Sealer you using?
No response
What is your OS environment?
No response
What is the Kernel version?
No response
Other environment you want to tell us?

Cloud provider or hardware configuration:
Install tools:
Others:

@Stevent-fei ,could you pls help to fix this ?

@Stevent-fei ,could you pls help to fix this ?

ok


Add debug logs and deploy new release to prod

THere is no comment in ado repo: https://github.com/Azure/azure-rest-api-specs-pr/pull/10669, one possible reason is that the functions may exit unexpectedly when parsing sync info or requesting reviewers in github repo.

Appears to be related to shift left.  Since we're reevaluating shift left all up, closing this.


[Model] Phi-3 4k sliding window temp. fix

The model microsoft/Phi-3-mini-4k-instruct uses a sliding window of size 2047 (which should result in 2048 tokens of context) but due to the issue #3385 the model loading will break:
File "/usr/local/lib/python3.10/dist-packages/vllm/core/block_manager_v1.py", line 223, in __init__     assert sliding_window % block_size == 0, (sliding_window, AssertionError: (2047, 16)
My idea is to have this quick fix so that people can use the model, I can also create a draft PR for a definitive solution. However, a definitive solution to the issue can be involved, the issue affects xformers and sdpa but not flash backend. It also affects block_manager_v1 which is the bit I would need some help.
Let me know your thoughts.
RELATED: https://github.com/vllm-project/vllm/issues/3385
BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

@caiom Should we apply this padding in llama.py?

@caiom Should we apply this padding in llama.py?

For a window size of 2047 we have:

xformers will use 2047 tokens -> This is fine since it is one less than the correct.
sdpa will use 2047 tokens -> This is fine since it is one less than the correct.
flash will use 2048 tokens -> Correct.

This is true for all Models that uses a sliding window.
With this bypass, we are just avoiding the assert in block_manager_v1. But for Mistral, the block_manager_v1 will think the window size is smaller than it actually is (with the flash backend). The window size of mistralai/Mistral-7B-v0.1 is 4096 and hence the flash backend will mask 4097 tokens, while I guess block_manager_v1 is assuming 4096 tokens.
For Phi-3, with this PR, block_manager_v1 may assume a larger number of tokens than the actual number. For instance, with the window size of 2047, the PR will add one and hence the block_manager_v1 will see it as 2048 tokens. However, with sdpa that number may be 2047.
So, there's mismatch between block_manager_v1 and the actual window size. This is true for all Models, for more or for less and depending on the backend.
Now, I'm not sure if any of these cases of mismatch are a significant problem as I don't really know how block_manager_v1 actually works.
Hopefully my explanation is good enough :)

@caiom Thanks for your detail explanation. Look good to me. @cadedaniel WDYT?

What if instead we round up the sliding window in the block manager to nearest block size?

I'm guessing that for PagedAttention, what matters is what is in the blocks_table. The max context length for mistralai/Mistral-7B-v0.1 is 4097 but the PagedAttention will consider only 4096 tokens. This is fine since the model can handle 4096 tokens.
For Phi-3, using this PR, PagedAttention have the correct/maximum number of tokens in context.
So, if we are going to round it, we should always round down so that we never feed more tokens than the model was trained for. Unless we are just rounding by 1, so the +1 in my PR should be safe.
model_runner.py will round down as it is. It is better to have it consistent with block_manager_v1 so that is does not PAD more tokens than needed.
I may be totally wrong, though.

So the block manager's concern here (and only concern) should be allocating enough space for sliding window. As for how the model would like to use that space is up to the model. So from a north-star perspective the block manager should not be involved in the minutia of context len for sliding window. It's OK if the model_runner uses a subset of the blocks for context.
While this PR is a working hotfix, in design terms it couples the exact sliding window length used by attention closely with the block manager, which isn't necessary. Ideally we avoid this!
Can we test out my suggestion? There may be some other coupling between block manager and exact context length that I don't know about.

Thanks for the review @cadedaniel, I have implemented your suggestion and tested microsoft/Phi-3-mini-4k-instruct using several long prompts, everything looks good.

Done! I tested the mistralai/Mistral-7B-Instruct-v0.1 model by inputting Wikipedia articles, asking it to create summaries, and then eyeballing the results. Everything looks good. Additionally, the rounding should not affect Mistral models.

Thanks for the review @cadedaniel, I have implemented your suggestion and tested microsoft/Phi-3-mini-4k-instruct using several long prompts, everything looks good.

hi, I find Phi-3 medium is released ,when i try it with vllm, framework logged it was using xformers because of sliding window, my vllm is building from latest source, do you have any idea how to use flash-attn instead of xformers?

INFO 05-22 11:09:12 selector.py:116] Cannot use FlashAttention-2 backend due to sliding window.
INFO 05-22 11:09:12 selector.py:52] Using XFormers backend.

@ShadowTeamCN Same problem here for phi3-mini. Cannot use FlashAttention-2 backend due to sliding window.

Hey wanted to check: is this problem fixed? Both my mistral and phi 3 model cannot use FA2
INFO 07-26 19:19:35 selector.py:170] Cannot use FlashAttention-2 backend due to sliding window.
INFO 07-26 19:19:35 selector.py:54] Using XFormers backend.

and Im using the latest version of vLLM

I also an unable to use flash attention with microsoft/Phi-3.5-MoE-instruct.

Same problem here for Phi-3.5-vision. Cannot use FlashAttention-2 backend due to sliding window.


auto generate .js

if i have to use this for my project , where do i have to execute 'npm run tsc' ? meaning how to auto generate .js files during build ?

@vislesh Which module bundler do you use? npm run tsc is required when do U want to import TS files in your code. Generally this is not required to use.

@mrzepinski , im using systemjs.

@vislesh Do you use any of Webpack, JSPM, smth else? Could you create some snippet of code to show how do you want to use this lib?

in package.json :
"dependencies": {
"ng2-spin-kit": "^1.0.1"
}
in X.components.ts --
import {WaveComponent} from 'ng2-spin-kit/app/spinner/wave'
@Component({
templateUrl: 'app/X.component.html',
directives: [WaveComponent]
})
in X.component.html --
<sk-wave [isRunning]="loading" [delay]=100>
then i have Error: XHR error (404 Not Found) loading http://localhost:5555/node_modules/ng2-spin-kit/app/spinner/wave.js

@vislesh And what should be the correct path in your project?
http://localhost:5555/node_modules/ng2-spin-kit/app/spinner/wave.js looks as it should be smth like this.
Can you provide your systemjs configuration here?

this is my filestructure , above mentioned path is correct . but there is no .js file over there. can you point to which file snippet would you like to see.

@vislesh Your SystemJS configuration try to load JS files by default. You have to override it for ng2-spin-kit to load TS files by setting defaultExtentsion to js for SK - look at: https://github.com/WoltersKluwerPL/ng2-spin-kit/blob/master/systemjs.config.js
I've created 1.0.2 version with JS files which you can use in your project/

@mrzepinski  , Thanks a lot. now its working.


desync/crashing

When placing the robosurgeon on a server, the server crashes most times. If it doesn't crash, the robosurgeon isn't used up on placing, and can't be broken, appearing to break but staying there, revealed upon relogging.
Server crashlog:
http://pastebin.com/FaFXQ0Nf

Confirmed. Working on a fix. Thanks for the report!

Fixed in 0.1.2


Laravel SOAP Endpoints

Hey there
How would I go about changing the endpoints?
SoapWrapper::add(function ($service) {
$service
->name('submit')
->wsdl('xxxxxxxxxxxxxxxxxxxxxxxxxxxx')
->trace(true)
->location('xxxxxxxxxxxxxxxxxxxxxx')
->cache(WSDL_CACHE_NONE);
});

I don't know what you mean exactly, but i guess by adding multiple services?


fix: Use org.apache.httpcomponents:httpclient:4.5.2 instead of org.apache.httpcomponents.client5:httpclient5:5.0.3

Use org.apache.httpcomponents:httpclient:4.5.2 instead of org.apache.httpcomponents.client5:httpclient5:5.0.3
Switch to the library version supported by Google.

@aababilov Is there a lint tool we could use to catch issues like this that we could run as a bot on pull requests that would pass/fail each contribution?
It's going to be hard to ensure that all contributions follow all the rules, especially if MobilityData doesn't have visibility into all of them. Something like https://github.com/MobilityData/gtfs-validator/pull/561, but for dependencies too. I'm not sure if this bot would catch the default branch issue in https://github.com/MobilityData/gtfs-validator/pull/563.


How to add marker to the end of the path?

I'm trying to find a way to add in a marker to the end of the animated path. Can this be done? If this is not implemented, do you have a suggestion as to how I could go about this? I am using the animated path to show a user's journey, and wanted to have a blinking circle to indicate their position at the front of the path.
An example of what I'm talking about can be seen here with the dog at the front of the path
https://saschwarz.github.io/react-svgpathplayer/
That library has not been updated in 4 years, so I was hoping there was a way to achieve this with this library?

Hi @brandonburns , you might need to add a custom component that animates (changes x and y coords) together with the SVGpath end.

Thank you for your reply, is there a way that I could grab this data from the AnimatedSVGPath? This the x and y coordinates have to be somewhere for the animated line to know where to stop each frame, so is there a way I can access this data each frame?

Thank you for your reply, is there a way that I could grab this data from the AnimatedSVGPath? This the x and y coordinates have to be somewhere for the animated line to know where to stop each frame, so is there a way I can access this data each frame?


How to pause or disable a DAG?

Hi,
My understanding is that the scheduler runs task instances in the DAGs that it finds in the dags_folder.  Then again, besides my own DAGs in that folder, it also seems to run the example DAGs that ship with Airflow, in say the /usr/local/lib/python2.7/dist-packages/airflow/example_dags/ folder.  Suppose I want to pause the scheduling of one or more of my DAGs.  How can I do this?  I suppose I can delete the corresponding file(s) from my dags_folder though that seems like a rather drastic step.  Moreover, how can I likewise pause or halt the scheduling of the example DAGs?
Thanks,
David

You can turn off the examples in the config file seen here.
https://github.com/airbnb/airflow/blob/master/airflow/configuration.py#L14

Thanks.  What about other, non-example DAGs?  How do you turn those off, other than removing their files from the dag_folder?

I suppose if you set the start date of the dag to some date way in the future, you'll halt it until that time period.  Dag stays in tact, but doesn't run.

Thanks.

Also if you click on one of the looking glass one the left of the dag in the dag view, you will get to a menu.
I believe it can also be accessed through https://localhost/admin/dagmodel/edit/?id=name_of_dag. The to most checkbox is called is paused. If it is checked, then the dag will stop being scheduled.

Thanks.  Never knew that was there.

There are so many ways, to recap:

pause in the UI (magnifying glass in DAGs view / checkbox), there's a version of flask_admin with a bug where you have to click "Save and Continue" for the changes to take effect
set an end_date in the past
set retired tasks as adhoc=True
remove from dags_folders
i'm not 100% setting start_date in the future will work, I'd have to test or re-read the code...


Code in [42] throws AttributeError (won't display graph in browser)

Hi,
I ran the code in [42] and received this error:
`---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
 in ()
----> 1 show_graph(tf.get_default_graph)
 in show_graph(graph_def, max_const_size)
18     if hasattr(graph_def, 'as_graph_def'):
19         graph_def = graph_def.as_graph_def()
---> 20     strip_def = strip_consts(graph_def, max_const_size=max_const_size)
21     code = """
22

Hi @timfong1015 ,
Thanks for your feedback. I am not sure which Jupyter notebook you are talking about: the one for chapter 9 calls show_graph() in cell [58], and the one for chapter 10 calls show_graph() in cells [27] and [36].
In any case, the error message you copied is show_graph(tf.get_default_graph) but the notebooks contain show_graph(tf.get_default_graph()) (note the extra parentheses). Make sure to add these parentheses back and everything should be fine.
Cheers,
Aurélien

Thank you!


How to make Socks5 authenticate username/password

How do users connect to SocksProxyEndPoint must authenticate username and password.
I have read that in the latest version of Titanium web proxy which allows to enable username password authentication when creating a SocksProxyEndPoint. But I don't know how to write that code and also can't find illustrative example, can someone help me do this

Set the ProxyBasicAuthenticateFunc property of your ProxyServer object to a function which does this authentication. The string parameters are the username and password.
But I found a bug in this. I fix it and create new beta package.

Set the ProxyBasicAuthenticateFunc property of your ProxyServer object to a function which does this authentication. The string parameters are the username and password.
But I found a bug in this. I fix it and create new beta package.

Can you provide me a sample code to set up the Socksproxyendpoint account and password for Socksproxyendpoint, I really need it, I researched for a week now ..

I'm on 3.1.1358-beta and which version should I use

3.1.1363-beta

The password settings is common for the SOCKS and other (e.g Explicit) endpoint endpoint. so it can't be set there.
You can set it on the ProxyServer object:
proxyServer.ProxyBasicAuthenticateFunc  = MyAuthFunc;
async bool MyAuthFunc(SessionEventArgsBase args, string username, string password)
{
}
Or similar, sorry, I can't test it, just wrote here without trying it.

The password settings is common for the SOCKS and other (e.g Explicit) endpoint endpoint. so it can't be set there.
You can set it on the ProxyServer object:
proxyServer.ProxyBasicAuthenticateFunc = MyAuthFunc;
async bool MyAuthFunc(SessionEventArgsBase args, string username, string password)
{
}
Or similar, sorry, I can't test it, just wrote here without trying it.

Can you help me write sample code, set username = admin, password = admin for a certain port eg 18883 for each SocksProxyEndPoint. How to distinguish that

Currently it is not possible to set authentication for a certain port only.
So if you set the authentication it will be the same for each endpoint. Sorry.

Currently it is not possible to set authentication for a certain port only.
So if you set the authentication it will be the same for each endpoint. Sorry.

I think I can rely on SessionEventArgbase to classify the ports, but it returns null, how do I get the sessionEventArgsbase info, thank you so much for your enthusiasm

This is why i said that it is not possible. It is always null in socks.
It is not null for other endpoint types.
Maybe later i'll add a possibility to detect the endpoint, but I can't promise any deadline.

This is why i said that it is not possible. It is always null in socks.
It is not null for other endpoint types.
Maybe later i'll add a possibility to detect the endpoint, but I can't promise any deadline.
You need different usernames and passwords for different endpoints? Maybe you should create different proxyServer objects as a workaround.

Thank you very much, I wish that SessionEventArgsBase returned all the information, so the code would be very neat and optimal. However thanks for pointing me out one way


Add menu module

eg)
user: give me a menu
jarvis: How about cheese pizza?
user: i don't know what to eat
jarvis: Simply chicken salad.
user: pick a menu
jarvis: If you're with girlfreind now, I recommend oil pasta.

Thank you for taking the time to contribute! This is sincerely appreciated. 😇


Simplifying inheritance structure of CrossSectionElements

Removal of irrelevant abstract classes and interfaces, where a single class is sufficient.

CrossSectionElement is now non-abstract. The only abstract method getZ() now returns the value of the default implementation of Locatable (0 for null or 2D, otherwise z-location), but throws now RemoteException.
Shoulder is kept as a subclass of CrossSectionElement, as it is used to toggle animation elements.
Barrier class deleted, it was not used.
Stripe class removed, its permeability functionality (based on Permeable rather than LateralDirectionality as is the case in RoadMarkerAlong) is moved to RoadMarkerAlong.
RoadMarkerAlong is renamed to Stripe.
NoTrafficLane removed. It can be generated using Lane.noTrafficLane(), which returns an anonymous class that itself overwrite getZ() returning a value of -0.00005 as NoTrafficLane did.
RoadMarkerAcross removed, it was not used.


refine no-implicit-dynamic to allow inference from explicit dynamic

no-implicit-dynamic feels too restrictive. Is there some way we can make dynamic code concise while still preventing it in places where it was not intended?
The text below was the original proposal -- some of this may be obsolete. Needs review.

In any position where a type could be inferred, report if inference fails. Inference here includes downward inference and variable initialization, TBD other cases like [42 as dynamic].
Some examples where an error would be reported:
class C<T> {}
T f<T>(Object x) { return x as T; }
main() {
  var x;           // type of variable not known
  var c = new C(); // type of generic class not known
  var l = [];      // type of List not known
  (a, b) => null;  // type of lambda expression not known
  f(42);           // generic function type arg not known
  dynamic d;
  var x = d; // var is a request for inference
}

These would not be errors:
class C<T> { C.withArg(T t); C(); }
void f<T>(T x) {}
takesADynamicFn(f(x)) {}
main() {
  dynamic d;
  takesADynamicFn((a) => null);
  C<dynamic> c = new C(); // infers `new C<dynamic>()`
  C c = new C(); // equivalent to previous line

  var l = [d]; // inferred to mean `<dynamic>[d]`
  f(d); // inferred `f<dynamic>(d)`
  var c = new C.withArg(d); // once upwards inference is supported here
}

There is a bit of a debate around upwards inference cases, in particular the [d], f(d), and new withArg(d) examples above. My inclination is to accept them, as we already have some stricter flags (no-implicit-dynamic) that would reject.
Original context: https://github.com/dart-lang/sdk/issues/25573#issuecomment-228823689

CC @leafpetersen @munificent -- let me know if those examples look right (you'll get another chance to review it in CL form :) )

I thought we had come down the other way on
 dynamic d;
 var x = d;

but I could be misremembering.
I'm fine with the categorization above, but I'm not sure whether I like calling this categorization --no-inferred-dynamic, since it does, in fact, infer dynamic in lots of cases.  Maybe something like --no-failed-inference?  @kevmoo any thoughts about this?

I thought we had come down the other way on [...] var x = d

Sounds good to me. Moved that one back. How do you feel about the upwards inference examples?

Status update: need to step back and work out a design for this starting from the use cases.
For the moment I think it makes sense to expose the other two flags: no-implicit-casts is very simple and cleans up the type system (assignability relation is just subtype), and no-implicit-dynamic, while a bit blunt, operates in a simple way and doesn't depend on strong mode. It might be too noisy, but we can see what the feedback is like.
I view this bug as a request to blend a static typing+inference and dynamic typing+inference in a way that makes both feel natural to use. I think that can be done (e.g. C# dynamic does it pretty well IMO), but it needs a bit more thought.

@nex3 reported being unhappy with no-implicit-dynamic here: https://github.com/dart-lang/sdk/issues/27624
@munificent 's reported the same thing in the original CL that added no-implicit-dynamic.
The gist is that we should be able to infer from an explicit dynamic. However, as illustrated by examples above it's not clear where to draw this line.
My personal advice would be to not use dynamic, unless you want dynamic dispatch. Prefer Object if you mean to accept any value. That should allow Object to be inferred and be statically safer.

The gist is that we should be able to infer from an explicit dynamic. However, as illustrated by examples above it's not clear where to draw this line.

I'd consider all the examples listed as "not errors" above not errors. I would also prefer that Leaf's example not be an error.

My personal advice would be to not use dynamic, unless you want dynamic dispatch. Prefer Object if you mean to accept any value. That should allow Object to be inferred and be statically safer.

This seems contrary to the spirit of this style guide entry, which indicates that Object should be used to mean "any object". In my experience, dynamic is usually used as a substitute for union types, where only a few specific types are acceptable.

yeah that style entry is pretty old. There's a note somewhere that we need to refresh the style guide in the context of Strong Mode/Dart 2. I think that particular entry made sense in Dart 1 where error checking was almost non-existent anyway. Nowadays dynamic means loss of error checking, loss of refactoring reliability, and on some implementations slower operations.

It looks like converting to Object doesn't really work, though: #27625

I do think it's useful for API designers to be able to signal "This accepts any and all objects and will handle them all fine" distinctly from "This accepts certain objects, but I can't express which ones in the type system". But if end up losing that, it's not the end of the world, I suppose.

Nowadays dynamic means loss of error checking, loss of refactoring reliability, and on some implementations slower operations.

My assumption is that most APIs that accept dynamic because there isn't a better type to specify (like a union) generally cast that object to one of a few more precise types in their body to get back to a more statically-typed realm when possible.
But now that you mention it, my assumption may be wrong. Maybe we should use dynamic to mean "I want actual runtime dynamism" and use "Object" to mean "No better specific type."

I personally have never wanted, or really even seen a compelling use-case for, runtime dynamism in Dart. Keeping it as the default behavior for cases where a type is unspecified and can't be inferred seems less than optimal.

There are other bugs now tracking improved strictness flags, we do plan to refactor bits of --no-implicit-dynamic into more useful pieces.


new template C# project should create .sln file in root

If we are going to create the sample project in a sub directory, we should create a SLN file in the root that includes the csproj file of the contract.
I'm thinking the contract should go in the src folder and then we also have a test folder

The recent changes to the template create a dirs.proj in the root which I believe should be sufficient.  Assign back to me if you disagree.


unable to extract uploader id

youtube-dl https://www.youtube.com/watch?v=6AzyZj-2gGE --verb
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--restrict-filenames', 'https://www.youtube.com/watch?v=6AzyZj-2gGE', '--verb']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.9.16 (CPython) - Linux-6.1.12-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.37
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2
[debug] Proxy map: {}
[youtube] 6AzyZj-2gGE: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib64/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib64/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/lib64/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib64/python3.9/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "/usr/lib64/python3.9/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

#30839


"Sânsimion" and "Cetățuia" are listed in the drop-down menu

Description:
"Sânsimion" and "Cetățuia" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Sânsimion" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Sânsimion, HARGHITA (Sânsimion)" and "Comuna Sânsimion, HARGHITA".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Cetățuia" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Cetățuia, HARGHITA (Sânsimion)".


[WIP] LearnOpenTK - A port of learnopengl.com over to C#/OpenTK

learnopengl.com is a great resource for beginners in OpenGL, and since opentk.com has shutdown, there's been no OpenTK-specific tutorials. Well that changes now. Courtesy of @devvoid, this PR aims to add as much of the learnopengl.com content as possible. It should be merged as soon as chapter 1 ("Getting Started") is complete, subsequent chapters will be part of their own PRs.
Fixes #9

Sidenote, I'm planning to replace the images in tutorial 6 with new copies. When I was cropping from the site, I accidentally used zealous crop in GIMP instead of crop to content. This causes many of the images to look a bit squished when they aren't supposed to.