text:
Clean up some of Cripts strings with modern libSWOC

With the introduction of libswoc into ATS 10, we can now rely on the newer versions of TextView, rather than the crippled old versions in ATS v9.2.x.

[approve ci autest]

[approve ci autest]

[approve ci autest]

Cherry-picked to v10.0.x

authors: cmcfarlen ywkaras zwoop

repo: apache/trafficserver


text:
Fix a compile warning

Removed unused variable.

Cherry-picked to v9.0.x branch.

source: gharchive/pull-request

authors: maskit zwoop

license_type: permissive

license_source: github-api


text:
[Bug] relay.create_executor("debug" to run conv2d_transpose failed

I use pytest test_op_level2.py::test_conv2d_transpose_nchw_run to run tests/python/relay/test_op_level2.py.
Default relay.create_executor("graph" is OK, but if I modify it to be relay.create_executor("debug" ,test failed.
Expected behavior
test pass, same with graph
Actual behavior

test_op_level2.py:880:

../../../python/tvm/relay/backend/interpreter.py:247: in _apply_args
return func(relay_args)

self = <tvm.runtime.packed_func.PackedFunc object at 0x7f204bdc5f78>
args = ([Constant([[[[5.22145569e-01 4.33856517e-01 5.83649397e-01 8.09219182e-02
7.39040315e-01 9.55327690e-01 8.0291241... [[0.39237568 0.9553286  0.69658566]
[0.00525846 0.1238898  0.40223128]
[0.2080836  0.15559652 0.6325646 ]]]])],)
temp_args = [[Constant([[[[5.22145569e-01 4.33856517e-01 5.83649397e-01 8.09219182e-02
7.39040315e-01 9.55327690e-01 8.0291241...  [[0.39237568 0.9553286  0.69658566]
[0.00525846 0.1238898  0.40223128]
[0.2080836  0.15559652 0.6325646 ]]]])]]
values = <tvm._ffi._ctypes.packed_func.TVMValue_Array_1 object at 0x7f204bdd3e18>
tcodes = <tvm._ffi._ctypes.packed_func.c_int_Array_1 object at 0x7f204bdd3510>

E           TVMError:
E           ---------------------------------------------------------------
E           An error occurred during the execution of TVM.
E           For more information, please see: https://tvm.apache.org/docs/errors.html
E           ---------------------------------------------------------------
E
E             Check failed: ret == 0 (-1 vs. 0) : Assert fail: (3 == int32(arg2.shape[1])), Argument arg2.shape[1] has an unsatisfied constraint: (3 == int32(arg2.shape[1]))
../../../python/tvm/_ffi/_ctypes/packed_func.py:237: TVMError

Environment
ubuntu 18.04
Steps to reproduce
mkdir build; cd build; cmake ..;make
pytest test_op_level2.py::test_conv2d_transpose_nchw_run

I think the debug one is not meant to be a fully featured executor.

source: gharchive/issue

authors: masahi zhangwm-pt

repo: apache/tvm


text:
[CI Problem] Docker install NNPACK fails to build

Unable to install NNPACK during execution of the script ubuntu_install_nnpack.sh due to CMake build error.
The cause of this issue is due to a recent change in the external dependency pytorch/cpuinfo, which renamed the default branch to main. The NNPACK dependency has not been updated to point to the new branch in DownloadCpuinfo.cmake.
Issue has been raised for NNPACK here.
Expected behavior
Cmake should successfully build NNPACK and install it on the Docker image.
Actual behavior
build fails with the following error:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
NNPACK_CLOG_CONTRIB_LIB
    linked by target "tvm_runtime" in directory /workspace
    linked by target "tvm" in directory /workspace
NNPACK_CONTRIB_LIB
    linked by target "tvm_runtime" in directory /workspace
    linked by target "tvm" in directory /workspace
NNPACK_CPUINFO_CONTRIB_LIB
    linked by target "tvm_runtime" in directory /workspace
    linked by target "tvm" in directory /workspace
NNPACK_PTHREAD_CONTRIB_LIB
    linked by target "tvm_runtime" in directory /workspace
    linked by target "tvm" in directory /workspace

Steps to reproduce
This issue can be replicated in a local environment when using ubuntu_install_nnpack.sh to check out and build the latest version of NNPACK in a Docker container.
Triage
Please refer to the list of label tags here to find the relevant tags and add them below in a bullet format (example below).

needs-triage
dev:ci

Issue was resolved by PR https://github.com/Maratyszcza/NNPACK/pull/214.


text:
[TIR] Tuple Reduction Support in CreatePrimFunc

This PR adds the support of tuple reduction in CreatePrimFunc(..).
Prior to this PR, CreatePrimFunc(..) errored out when the input ReduceNode reduces on tuples.
With this PR, CreatePrimFunc(..) generates TIR blocks with correctness guarantees (under the help of LetStmt) when encountering such ReduceNodes. Please refer to the new unit tests for detailed generated TIR functions :-)

cc @hypercubestart @junrushao1994 @Hzfengsy @tqchen
Co-authored-by: Andrew Liu andrewlliu@gmail.com

CC: @Hzfengsy Please review :-)

Thanks @hypercubestart @MasterJH5574 for getting the support for tuple reduction in CreatePrimFunc!!


text:
[Unity][Fix][Pass] Fix FuseOps for lack graph edges

This PR fixes a mistake of #14044. In #14044, in VisitLeaf of graph construction of FuseOps, we first check if the input node is Leaf and then check if it is Tuple. This is not right: as Tuple is not categorized as one leaf node, when the input node is a Tuple, the function will return since the input is not a LeafNode. And the check for Tuple will thereby never holds.
It is quite interesting that our existing unit tests fail to filter this mistake out. I add a regression test for this case, which can ensure that the tuple is always visited.

Please rebase against the latest Unity branch


text:
[ZEPPELIN-2679] JDBC. precode for session

What is this PR for?
We have a precode for interpreter (all interpreters) which executes once after start interpreter. With it we can create shared code that will be available in the paragraph, create tables in the database and etc.
This precode for jdbc only which executes before run paragraph in same session (sql). In this precode we can declare session variables that will be available when you run paragraph (any sql which will be executed before the paragraph). For example set application_name='#{user};
Previous discussion in #2442
What type of PR is it?
Feature
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2679
How should this be tested?
(jdbc interpreter, postgres)

set property default.statementPrecode set application_name='#{user}';
run paragraph select current_setting('application_name');

Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

@zjffdu
Another repo and another PR, but the same error
https://travis-ci.org/TinkoffCreditSystems/zeppelin/builds/365002216

repo: apache/zeppelin

license_source: bigquery


text:
Updated styles on chapter.ejs page to match the rest of the site.

You can see the changes by going to the /lecture page and clicking on one of the chapters that has been submitted (mine or Bryce's).

Updated styles on chapter.ejs page by modifying that file and the chapter.js file. Styles are based on those used throughout the site.
Added mb-5 to a whole bunch of pages so that users can scroll to the bottom and there is a bit of space between the last eleement on the page and the bottom. This is just a small visual change.
Removed marked.js import statement from head.js and added it directly to chapter.ejs because that is the only page in the project which needs that library.

In the future, I think it would be nice to target content on the page specifically with CSS and see if we can change the default marked.js options to display content in a more pleasing way. That being said I think this is a huge improvement and is a good step forward.

I like what you have done with these latest changes. Visually much more appealing. I saw one visual issue with the image used in chapter 3. It does not seem to resize properly.

Yep, that was one of things that I needed to work on. Here are the most recent changes.

Responsive Images

Bootstrap Tables

New Nav Buttons

The only other thing that could be added is better styling for code tags or even automatic code highlighting but I'm not sure how much of a priority those are right now.

One thing that sticks out to me is the lack of space between the nav buttons. I think having 3 distinct buttons separated by a bit of white space would be more aesthetically pleasing. Here is a quick mockup.

A few more style updates. Let me know if there is anything else you'd like me to add.

Added spacing between nav buttons.
Set default line breaks in marked.js so the overuse of <br> is probably over now.
Centered all header tags (H1, H2, H3, ... in html and #, ##, ###, ... in markdown).
Added underlines to header tags H1 through H4.

I updated my pages to work with these style changes. The rest of the pages would need to be updated as well.
You can see the results here: https://sqlstudy.herokuapp.com/chapter?id=3

authors: apainintheneck brycerandolph

repo: apainintheneck/SQL-Study

license: MIT


text:
WIP Added a flag to omit UAP if status attribute is missing.

We have some people (7.000) in our LDAP who has to accept the AUP. Nevertheless most of the people do not have to (500.000).
Therefore, for us it will be ideal if the aupAccepted/state attribute had a third possible value in addition to the TRUE or FALSE:

On aupAccepted: TRUE -> Omit AUP. Exactly, as it behaves now
On aupAccepted: FALSE -> Show AUP. Exactly, as it behaves now
On missing aupAcceped attribute (NEW!!) -> Show/Omit AUP depending on the aupOmitIfAttributeMissing property.

This functionality allows implementing AUP without having to add aupAccepted: true to all the entries to omit them and adds additional semantic meaning (the alternative is to write aupAccepted: TRUE and aupPolicyTerms: none).

 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.

authors: CLAassistant elmendavies

repo: apereo/cas


text:
License is not listed

License is not listed.
Also, what are the dependencies to build?

I'll add some notes to the README, thanks for the suggestion.

repo: aperezdc/signify

license: ISC