WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
when the batch size is 1024, my model work fine, but when I change it to 1025, it throw error

RuntimeError: CUDNN_STATUS_NOT_SUPPORTED

this is how I load data:

val_dataloader=t.utils.data.DataLoader(val_dataset,1025,True,num_workers=8,\
collate_fn=my_collate)

the full trace is here:

<ipython-input-4-91b240474ca9> in forward(self, input)
21 self.model.add_module('conv5',nn.Conv2d(opt.ndf*8,1,4,1,0,bias=False))
22 def forward(self,input):
---> 23 return self.model(input)
24 gpuids=None
25 if self.ngpu:

/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.pyc in __call__(self, *input, **kwargs)
208
209 def __call__(self, *input, **kwargs):
--> 210 result = self.forward(*input, **kwargs)
211 for hook in self._forward_hooks.values():
212 hook_result = hook(self, input, result)

/usr/local/lib/python2.7/dist-packages/torch/nn/modules/container.pyc in forward(self, input)
61 def forward(self, input):
62 for module in self._modules.values():
---> 63 input = module(input)
64 return input

/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.pyc in __call__(self, *input, **kwargs)
208
209 def __call__(self, *input, **kwargs):
--> 210 result = self.forward(*input, **kwargs)
211 for hook in self._forward_hooks.values():
212 hook_result = hook(self, input, result)

/usr/local/lib/python2.7/dist-packages/torch/nn/modules/batchnorm.pyc in forward(self, input)
41 return F.batch_norm(
42 input, self.running_mean, self.running_var, self.weight, self.bias,
---> 43 self.training, self.momentum, self.eps)
44
45 def __repr__(self):

/usr/local/lib/python2.7/dist-packages/torch/nn/functional.pyc in batch_norm(input, running_mean, running_var, weight, bias, training, momentum, eps)
483 state = _functions.batchnorm.BatchNorm(
484 running_mean, running_var, training, momentum, eps)
--> 485 return weight and state(input, weight, bias) or state(input)
486
487

/usr/local/lib/python2.7/dist-packages/torch/nn/_functions/batchnorm.pyc in forward(self, input, weight, bias)
34 input, output, weight, bias,
35 self.running_mean, self.running_var, self._save_mean,
---> 36 self._save_std, self.training, self.momentum, self.eps)
37 else:
38 backend = type2backend[type(input)]

RuntimeError: CUDNN_STATUS_NOT_SUPPORTED

Issue 2:
Fatal CUDNN_NOT_SUPPORTED error. Reported by @namdar

import torch
import torch.nn as nn
from torch.autograd import Variable
class TestModel(nn.Module):
def __init__(self,inp_size):
super(TestModel, self).__init__()
self.encoder = nn.Sequential(
nn.Linear(inp_size, 200),
nn.BatchNorm1d(200),
)
def forward(self, x):
x = self.encoder(x)
return x
batch_size = 10000
inp_size = 1
x = Variable(torch.randn(batch_size,inp_size)).cuda()
m = TestModel(inp_size)
m.cuda()
out = m(x)
print(out.size())
m.eval()
out2 = m(x)
Issue 1:
Is your feature request related to a problem? Please describe.

Prior to Windows 10, it wasn't possible to use more than one piece of software simultaneously connected to a MIDI device, for example a DAW and a MIDI device editor program. Windows 10 has a new MIDI API that developers can use which allows multiple pieces of software to simultaneously connect to a MIDI device, macOS has always allowed this...The only snag in this new Windows API is that all software needs to be using the new API for it to work, so both DAW and Editor need to use it.

This can be enabled in a browser, which supports the Web MIDI API, via chrome:flags

Describe the solution you'd like

Since this has been supported in Chrome for a few years now, it would be great to add support for this flag as well in Electron.

Describe alternatives you've considered

There doesn't appear to be an alternative solution using Electron

Additional context

The flag is: use-winrt-midi-api

set to enabled:

app.commandLine.appendSwitch('use-winrt-midi-api', 'enabled')

Issue 2:
Preflight Checklist

I have read the Contributing Guidelines for this project.

I agree to follow the Code of Conduct that this project adheres to.

I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Electron Version

12.0.6

What operating system are you using?

macOS

Operating System Version

11.2.3

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

React and Redux Devtools load and are functionally connected to application.

Actual Behavior

With app.commandLine.appendSwitch('disable-site-isolation-trials'); the application loads and the tabs for React and Redux DevTools appear as expected. However the React Components tab in DevTools is empty and the Redux tab in DevTools says "No store found". Additionally, the error below appears in the console. Removing the disable-site-isolation-trials switch fixes the issue.

[12334:0506/163419.330578:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source: chrome-extension://omcdjfajiojhldgojnbbiohlcbkcbane/main.html

Testcase Gist URL

No response

Additional Information

It's possible this is related: #26714
Issue 1:
I put up a gist at https://gist.github.com/felipenoris/3dbd7ff6a830be372e45dc337bb204cf with the slow code.

Once julia reaches line 19:

for usecache in [ false, true ]

it takes a long time to start executing what´s inside the for loop.

If I just unroll the loop (see https://gist.github.com/felipenoris/d9ba8d9ee5b116d259a6de3189418055), it runs smoothly, just like 0.4 does.

JuliaFinance/BusinessDays.jl#4

#18276

Issue 2:
The time to run N tests using FactCheck (which internally uses anonymous functions heavily) grows significantly faster than linear in N, causing long generated test suites to hang.

This apparently is due to #13412 (tested with that commit compared to the previous one; thanks to @andreasnoack). It is approximately linear on 0.4.

I have written a simple file that generates test suites consisting of N tests of the form @fact i-->i:

This gives the following run-times (in seconds!) on 0.5:

[This seems to be faster than power law and slower than exponential growth. Raw data here.]
Issue 1:
vscode express smoke test repo

ctrl + shift + B, ctrl + shit + M

click on one of the errors to navigate to

get an error, event though routes/index.js exists

Though this seems to work in the vscode repo nicely

Issue 2:
Testing #2832

Reapply all breakpoints -- I haven't seen such an action in other debuggers. IMHO it is the debugger's job to apply my breakpoints, and exposing an action to reapply all breakpoints seems like a workaround for a bug inside the debugger.
Issue 1:
Challenge http://freecodecamp.com/challenges/waypoint-manipulate-javascript-objects has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

Issue 2:
Challenge http://www.freecodecamp.com/challenges/waypoint-manipulate-javascript-objects has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

"There are many ways to add and add and remove properties from objects."

Should probably read as:

"There are many ways to add and remove properties from objects."
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.8

Operating System version: mac

Java version: 1.8

Steps to reproduce this issue

使用Dubbo的多注册中心和Zone 功能，一直在两个注册中心中负载，设置zone 不生效 ，设置 preferred: true 不生效

consumer

dubbo:
consumer:
check: false
registries:
test:
id: test
protocol: zookeeper
address: zookeeper://localhost:2181?zone=test
use-as-config-center: false
preferred: true
registry.zone: test
dev:
id: dev
protocol: zookeeper
address: dev-zk1.zk.com:2181
use-as-config-center: false
registry.zone: dev
config:
multiple: true

provider1

dubbo:
protocol:
port: 12322
name: dubbo
config:
multiple: true
registry:
id: dev
zone: dev
use-as-config-center: false
address: zookeeper://dev-zk1.zk.com:2181
config-center:
address: zookeeper://dev-zk1.zk.com:2181
metadata-report:
address: zookeeper://dev-zk1.zk.com:2181

provider1

dubbo:
protocol:
port: 12311
name: dubbo
config:
multiple: true
registry:
id: test
zone: test
use-as-config-center: false
address: zookeeper://localhost:2181
config-center:
address: zookeeper://localhost:2181
metadata-report:
address: zookeeper://localhost:2181

Expected Result

应该优先调用 preferred: true 的注册中心

Actual Result

两个注册中心的服务随机调用

Issue 2:
I have searched the issues of this repository and believe that this is not a duplicate.

I have checked the FAQ of this repository and believe that this is not a duplicate.

Steps to reproduce this issue

http://dubbo.apache.org/zh-cn/docs/2.7/user/preface/architecture/

源码导读章节没了

左侧目录中，2.7 -> 开发手册 下的其他章节均跳转到首页
Issue 1:
Preflight Checklist

I have read the Contributing Guidelines for this project.

I agree to follow the Code of Conduct that this project adheres to.

I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

Electron Version:

Operating System:

Last Known Working Electron version:

Expected Behavior

Actual Behavior

To Reproduce

Screenshots

Additional Information

Issue 2:
Hey there

I have upgraded an app to version 5 as in the list of fixes was the silent printing bug, but the issue is still the same.

My code:

printWindow.webContents.print({silent: true});

Results in nothing happening at all. No errors thrown or anything. Changing it back to false, brings up the window to select the printer and then it prints perfectly fine. It's just the silent mode that doesn't work.

I am running this on Windows 10, with Node version 10.15.3. I can not try with a different OS as the printer only has drivers for Windows.

Many thanks,

Michael
Issue 1:
Electron version: 1.6.6

Operating system: macOs 10.12.4

Expected behavior

When opening a BrowserWindow with a parent, modal: false and show: false the window should start hidden.

Actual behavior

The window shows nevertheless

How to reproduce

Create a first (main) window.

Create a second (child) window with:

{

parent: mainWindow,

modal: false,

show: false

}

Issue 2:
Electron version: 1.6.1

Operating system: macOS Sierra

When you do this from a renderer process:

new electron.remote.BrowserWindow(
parent: parentBrowserWindow,
show: false,
);

The browser window always shows even though the show option is false. If you do not provide a parent, the browser window respects the show option.
Issue 1:
Hello,

When I updated atom to version 0.189.0 in my ubuntu desktop. It has problem with thai language.

Now i down grade to 0.188.0. It work. Please fix it in next version. atom is good IDE for me.

Thank you.

Issue 2:
Text:

这上面的夜的天空，奇怪而高，我生平没有见过这样奇怪而高的天空。他仿佛要离开人间而去，使人们仰面不再看见。然而现在却非常之蓝，闪闪地睒着几十个星星的眼，冷眼。他的口角上现出微笑，似乎自以为大有深意，而将繁霜洒在我的园里的野花草上。

It happen after update to 0.189.0, and it's normal in 0.188.0 .

I try disabled all community packages or star with --safe mode, still happen.

Update: Ubuntu 14.04
Issue 1:
Environment

Windows build number: 10.0.19023.0

Windows Terminal version: 0.6.2951.0

Steps to reproduce

Download the following simple C# project:

https://github.com/Treit/TerminalStress/tree/master/src

Launch wt.exe (Windows Terminal) and start a Developer Command Prompt for VS2019

Execute 'dotnet run' from the folder to which you downloaded the project in step 1.

While the stress application is running, hold down Ctrl and use the mouse wheel to 'zoom' the text to be larger.

Expected behavior

No hang.

Actual behavior

The terminal freezes and becomes unresponsive.

Issue 2:
Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Windows Terminal version (if applicable):
Microsoft Windows [Version 10.0.18362.418]

Any other software?
WSL (version 1, not tried on WSL2 since not on Insider Program).
Terminal (version: 0.5.2762.0)

Steps to reproduce

Set up WSL as the default terminal to be used in the application.

Start up the Terminal, and before the startup is complete (meaning, before the terminal is available to be interacted with), close it down.

Expected behavior

Closing the instance of Terminal

Actual behavior

Blue screen on the pc, with a "KMODE EXCEPTION NOT HANDLED".

I stand at disposal for whatever data might be needed.
Issue 1:
I need to type both stateless component and classic component in single component property:

TypeScript Version:

1.8.10/1.9.0-dev.20160518-1.0

Code

// A self-contained demonstration of the problem follows...
// Ideally:
interface ComponentProps {
ButtonComponent: React.StatelessComponent<any> | React.ComponentClass<any>;
...
}

class MyComponent extends React.Component<ComponentProps, {}> {
render() {
const { ButtonComponent } = this.props;
const someProps = {};
const button = <ButtonComponent {...someProps}/>
return (<div>{button}</div>);
}
}

// Ideal usage

<MyComponent ButtonComponent={() => <button>test</button>}/>

class MyButtonComponent extends React.Component<{},{}> {
...
}

<MyComponent ButtonComponent={MyButtonComponent} />

Expected behavior:

Compiles successfully

Actual behavior:

Throws error: "JSX Element type ButtonComponent doesn't have any construct or call signatures"

It works If i change definition of ButtonComponent to just solo React.StatelessComponent or

React.ComponentClass

Issue 2:
It would be nice to not do ///<reference path="to/declaration.d.ts"/> on source files to be able to compile with dependencies. It becomes problematic when you move files around and you have to go through each file that has those reference paths. I'm suggesting a different way of including reference paths, something like:

tsc src/somemodule.ts --reference typings/references.d.ts

Instead of:

somemodule.ts

/// <reference path="../typings/references.d.ts"/>

export function HelloWorld(): void {

}

I would only have this:

somemodule.ts

export function HelloWorld(): void {

}
Issue 1:
ISSUE TYPE

Bug Report

ANSIBLE VERSION

[root@master ~]# ansible --version
ansible 2.1.0.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

I just setup 2 boxes with RHEL 6.6 and installed ansible on the master node. I setup passwordless ssh for root user between the 2 nodes and can successfully ssh from A (ansible machine) to B without entering password.

Now I am trying to run the command:

ansible all -m ping -i /app/ansible/env

But am getting the ERROR everytime

10.0.0.23 | FAILED! => {

"failed": true,

"msg": "failed to resolve remote temporary directory from ansible-tmp-1468175944.42-138203382041728: ( umask 77 && mkdir -p \" echo $HOME/.ansible/tmp/ansible-tmp-1468175944.42-138203382041728 \" && echo ansible-tmp-1468175944.42-138203382041728=\" echo $HOME/.ansible/tmp/ansible-tmp-1468175944.42-138203382041728 \" ) returned empty string"

}

STEPS TO REPRODUCE

ansible all -m ping -i /app/ansible/env

EXPECTED RESULTS

Was expecting a successful ping

ACTUAL RESULTS

10.0.0.23 | FAILED! => {
"failed": true,
"msg": "failed to resolve remote temporary directory from ansible-tmp-1468175944.42-138203382041728: `( umask 77 && mkdir -p \"` echo $HOME/.ansible/tmp/ansible-tmp-1468175944.42-138203382041728 `\" && echo ansible-tmp-1468175944.42-138203382041728=\"` echo $HOME/.ansible/tmp/ansible-tmp-1468175944.42-138203382041728 `\" )` returned empty string"
}

Issue 2:
After I upgrade ansible 2.0.0.1 from 1.9.4, when performing a playlook always encounter intermittent fault "failed to resolve remote temporary directory from".

$ ansible-playbook playlooks/playlook-filters.yml

PLAY ***************************************************************************

TASK [command] *****************************************************************
fatal: [YT_8_22]: FAILED! => {"failed": true, "msg": "ERROR! failed to resolve remote temporary directory from ansible-tmp-1452759681.1-95441304852350: `( umask 22 && mkdir -p \"$( echo /tmp/.ansible/tmp/ansible-tmp-1452759681.1-95441304852350 )\" && echo \"$( echo /tmp/.ansible/tmp/ansible-tmp-1452759681.1-95441304852350 )\" )` returned empty string"}
...ignoring

TASK [debug] *******************************************************************
ok: [YT_8_22] => {
"msg": "it failed"
}

PLAY RECAP *********************************************************************
YT_8_22 : ok=2 changed=0 unreachable=0 failed=0

This is happening for one of the tasks randomly, following are those tasks:

---
- hosts: YT_8_22
tasks:
- shell: /bin/true
register: result
ignore_errors: True

- debug: msg="it failed"
when: result|failed

I try on 1.9.4, have not seen the phenomenon. Can anybody tell me how to do that ?

I found another links to similar problems: https://groups.google.com/forum/#!searchin/ansible-project/Intermittent$20error%7Csort:relevance/ansible-project/FyK6au2O9KY/tWuf31P9AQAJ
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

The <Tooltip> popper should abide by the placement prop (default: bottom) when opening from within a cell in a <TableHead>

Current Behavior

The <Tooltip> popper always appears in the top left corner of the screen when opening from within a cell in a <TableHead>

Steps to Reproduce (for bugs)

Create a <Table> with any number of rows/columns

Place a <Tooltip> inside a cell in the <TableHead>

Hover over the <Tooltip> to open the popper

Notice that the popper is always in the upper left corner of the screen

Notice that any <Tooltip> in a cell in the <TableBody> seems to work fine

You can see all of this here: https://codesandbox.io/s/nkpmr083lm

Context

I'm trying to give my users a help icon on certain column values in the table header that they can hover over to see a tooltip describing what it means.

Your Environment

Tech
Version

Material-UI
v1.0.0-beta.12

Material-UI Icons
v1.0.0-beta.10

React
v15.6.2 and v16.0.0 (tried both)

Browser
Chrome Version 61.0.3163.100 (Official Build) (64-bit)

Issue 2:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Have access to add html attributes to <Button> and <ButtonBase>. For example be able to set tabindex to -1 on a button.

Current Behavior

Based on the documentation, there does not appear to be access to these attributes.

Links: ButtonBase | Button

Context

I have buttons that are hidden until the user hovers over a section. I don't want them to accidentally tab into them and activate them.
Issue 1:
The standard way of representing an LRU is to have nodes be stored in a hashmap or binary search tree, with lookup-by-key, and in a linked-list which represents recency. This allows O(1) or O(logn) lookup/insert time, and constant time update/eviction with the recency list.

The representation is usually something like:

struct LRU<K,V> {
struct node<K,V> *tree_root;
struct node<K,V> *recency_head, *recency_tail;
}
struct node<K,V> {
K key;
V value;
struct node<K,V> *tree_parent, *tree_left, *tree_right;
struct node<K,V> *recency_prev, *recency_next;
}

This is more difficult to represent in Rust. You could do it with @mut pointers, but we all know what would go wrong there, and also that would prevent you from sharing it between tasks. You could also do it with unsafe pointers. I suggest instead representing it as a vector, and replacing the pointers with indices into the vector.

Issue 2:
It would be really nice to have a very efficient, reusable implementation of this common pattern. It can be implemented as a hash table with an intrusive doubly linked list threaded through the entries.

This is also how Python implements OrderedDict and Java implements LinkedHashMap.
Issue 1:
when i run imagenet example ; in tensorflow/models/image/imagenet/classify_image.py i add

w=tf.python.training.summary_io.SummaryWriter( sess.graph_def, FLAGS.model_dir, 'graph.pbtxt')

tf.train.SummaryWriter.flush(w)

tf.train.SummaryWriter.close(w)

output a file: events.out.tfevents.1452154974.ip-172-30-.-.

when i open tensorboard , in tab graph ,then i check top,tensorboard use cpu 100%; but wait a while ,tensorboard cpu use is down; tensorboard log a http 200:"GET /graph?run=%2Fopt%2Fpractice%2Ftf%2Fimagenet%2Flog%2F HTTP/1.1" 200 ;

maybe event file so big cause http timeout??

92M Jan 7 09:01 log/events.out.tfevents.1452154974.ip-172-30

any one can help?

Issue 2:
Summary

Attempting to visualize the Inception v3 graph with TensorBoard results in an empty graph (after several minutes of loading).

Update: an earlier version of this issue indicated that the progress bar hung forever, but apparently, I just didn't wait long enough.

Environment info

Operating System: OS X 10.11.3, Chrome 48.0.2564.116, Anaconda 1.2.2

If installed from binary pip package, provide:

Which pip package you installed: https://storage.googleapis.com/tensorflow/mac/tensorflow-0.7.1-cp35-none-any.whl

The output from python -c "import tensorflow; print(tensorflow.version)".: 0.7.1

Steps to reproduce

Downloaded and un-tar the inception v3 model. The graph protobuffer is in /tmp/imagenet/classify_image_graph_def.pb.

Run this code to dump the graph:

import os
import os.path
import tensorflow as tf
from tensorflow.python.platform import gfile

INCEPTION_LOG_DIR = '/tmp/inception_v3_log'

if not os.path.exists(INCEPTION_LOG_DIR):
os.makedirs(INCEPTION_LOG_DIR)
with tf.Session() as sess:
model_filename = '/tmp/imagenet/classify_image_graph_def.pb'
with gfile.FastGFile(model_filename, 'rb') as f:
graph_def = tf.GraphDef()
graph_def.ParseFromString(f.read())
_ = tf.import_graph_def(graph_def, name='')
writer = tf.train.SummaryWriter(INCEPTION_LOG_DIR, graph_def)
writer.close()

Run tensorboard: tensorboard --logdir /tmp/inception_v3_log

Navigate to graphs tab at http://0.0.0.0:6006/#graphs

Expected result: the graph

Actual result: Empty graph screen (after several minutes of loading with no movement of the progress bar)

A 91 MB file (same size as the graph protobuffer) called events.out.tfevents.1456423256.[hostname] is correctly saved to the log directory, so it seems that the graph is in there somewhere.

What have you tried?

Installing Python 2 pip version of TensorFlow 0.7.1 in a separate conda environment; same results.

Running mnist_summaries_example; graph is shown in TensorBoard properly, so this is a problem with the Inception model
Issue 1:
Hi it seems that the chrome dev tools in 0.27.x do not see source maps

I am programming with clojurescript and when I use the chrome dev-tools on in 0.26.1 I can see both the .js files and the .cljs files.

In 0.27.0 and 0.27.2 I only can see the .js files

Issue 2:
Running a file through browserify using wzrd to serve the content on localhost:9966.

wzrd index.js -- -d

This works fine in regular Chrome DevTools. However, opening http://localhost:9966/ in Electron and viewing its DevTools is not working with source maps. (They are enabled in the DevTools options).

Is there a particular switch that needs to be set, or is this just not supported in Electron? Or maybe a bug? Couldn't find much after googling and searching through issues.

Cheers. 🍺