karths/binary_classification_train_documentation
021
1Unnamed: 0,id,type,created_at,repo,repo_url,action,title,labels,body,index,text_combine,label,text,binary_label2756811,26486646570.0,IssuesEvent,2023-01-17 18:36:53,cse110-fall21-group9/Digital-Cookbook-App,https://api.github.com/repos/cse110-fall21-group9/Digital-Cookbook-App,closed,Implement Recipe Search and then Recipe Sort,enhancement frontend high priority wishful,"Start with search by name and sort by date changed/name. Strengthen the date format that is stored in the JSON so that it contains the date AND time, OR one option is saving the time in milliseconds from the [Unix epoch](https://en.wikipedia.org/wiki/Unix_time).",1.0,"Implement Recipe Search and then Recipe Sort - Start with search by name and sort by date changed/name. Strengthen the date format that is stored in the JSON so that it contains the date AND time, OR one option is saving the time in milliseconds from the [Unix epoch](https://en.wikipedia.org/wiki/Unix_time).",0,implement recipe search and then recipe sort start with search by name and sort by date changed name strengthen the date format that is stored in the json so that it contains the date and time or one option is saving the time in milliseconds from the ,03113310,17117951111.0,IssuesEvent,2021-07-11 18:53:08,turkdevops/design-language-website,https://api.github.com/repos/turkdevops/design-language-website,opened,"CVE-2021-23382 (Medium) detected in postcss-6.0.23.tgz, postcss-7.0.35.tgz",security vulnerability,"## CVE-2021-23382 - Medium Severity Vulnerability4<details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/vulnerability_details.png' width=19 height=20> Vulnerable Libraries - <b>postcss-6.0.23.tgz</b>, <b>postcss-7.0.35.tgz</b></p></summary>5<p>6 7<details><summary><b>postcss-6.0.23.tgz</b></p></summary>8 9<p>Tool for transforming styles with JS plugins</p>10<p>Library home page: <a href=""https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz"">https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz</a></p>11<p>Path to dependency file: design-language-website/package.json</p>12<p>Path to vulnerable library: design-language-website/node_modules/postcss</p>13<p>14 15Dependency Hierarchy:16 - gatsby-2.32.12.tgz (Root Library)17 - css-loader-1.0.1.tgz18 - :x: **postcss-6.0.23.tgz** (Vulnerable Library)19</details>20<details><summary><b>postcss-7.0.35.tgz</b></p></summary>21 22<p>Tool for transforming styles with JS plugins</p>23<p>Library home page: <a href=""https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz"">https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz</a></p>24<p>Path to dependency file: design-language-website/package.json</p>25<p>Path to vulnerable library: design-language-website/node_modules/postcss</p>26<p>27 28Dependency Hierarchy:29 - gatsby-2.32.12.tgz (Root Library)30 - optimize-css-assets-webpack-plugin-5.0.4.tgz31 - cssnano-4.1.10.tgz32 - :x: **postcss-7.0.35.tgz** (Vulnerable Library)33</details>34 35<p>Found in HEAD commit: <a href=""https://github.com/turkdevops/design-language-website/commit/187b6c70cc572cc46890f19fe80fcaddc53857c4"">187b6c70cc572cc46890f19fe80fcaddc53857c4</a></p>36<p>Found in base branch: <b>master</b></p>37</p>38</details>39<p></p>40<details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/medium_vul.png' width=19 height=20> Vulnerability Details</summary>41<p> 42 43The package postcss before 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern \/\*\s* sourceMappingURL=(.*).44 45<p>Publish Date: 2021-04-2646<p>URL: <a href=https://vuln.whitesourcesoftware.com/vulnerability/CVE-2021-23382>CVE-2021-23382</a></p>47</p>48</details>49<p></p>50<details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/cvss3.png' width=19 height=20> CVSS 3 Score Details (<b>5.3</b>)</summary>51<p>52 53Base Score Metrics:54- Exploitability Metrics:55 - Attack Vector: Network56 - Attack Complexity: Low57 - Privileges Required: None58 - User Interaction: None59 - Scope: Unchanged60- Impact Metrics:61 - Confidentiality Impact: None62 - Integrity Impact: None63 - Availability Impact: Low64</p>65For more information on CVSS3 Scores, click <a href=""https://www.first.org/cvss/calculator/3.0"">here</a>.66</p>67</details>68<p></p>69<details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/suggested_fix.png' width=19 height=20> Suggested Fix</summary>70<p>71 72<p>Type: Upgrade version</p>73<p>Origin: <a href=""https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23382"">https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23382</a></p>74<p>Release Date: 2021-04-26</p>75<p>Fix Resolution: postcss - 8.2.13</p>76 77</p>78</details>79<p></p>80 81***82Step up your Open Source Security Game with WhiteSource [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)",True,"CVE-2021-23382 (Medium) detected in postcss-6.0.23.tgz, postcss-7.0.35.tgz - ## CVE-2021-23382 - Medium Severity Vulnerability83<details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/vulnerability_details.png' width=19 height=20> Vulnerable Libraries - <b>postcss-6.0.23.tgz</b>, <b>postcss-7.0.35.tgz</b></p></summary>84<p>85 86<details><summary><b>postcss-6.0.23.tgz</b></p></summary>87 88<p>Tool for transforming styles with JS plugins</p>89<p>Library home page: <a href=""https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz"">https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz</a></p>90<p>Path to dependency file: design-language-website/package.json</p>91<p>Path to vulnerable library: design-language-website/node_modules/postcss</p>92<p>93 94Dependency Hierarchy:95 - gatsby-2.32.12.tgz (Root Library)96 - css-loader-1.0.1.tgz97 - :x: **postcss-6.0.23.tgz** (Vulnerable Library)98</details>99<details><summary><b>postcss-7.0.35.tgz</b></p></summary>100 101<p>Tool for transforming styles with JS plugins</p>102<p>Library home page: <a href=""https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz"">https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz</a></p>103<p>Path to dependency file: design-language-website/package.json</p>104<p>Path to vulnerable library: design-language-website/node_modules/postcss</p>105<p>106 107Dependency Hierarchy:108 - gatsby-2.32.12.tgz (Root Library)109 - optimize-css-assets-webpack-plugin-5.0.4.tgz110 - cssnano-4.1.10.tgz111 - :x: **postcss-7.0.35.tgz** (Vulnerable Library)112</details>113 114<p>Found in HEAD commit: <a href=""https://github.com/turkdevops/design-language-website/commit/187b6c70cc572cc46890f19fe80fcaddc53857c4"">187b6c70cc572cc46890f19fe80fcaddc53857c4</a></p>115<p>Found in base branch: <b>master</b></p>116</p>117</details>118<p></p>119<details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/medium_vul.png' width=19 height=20> Vulnerability Details</summary>120<p> 121 122The package postcss before 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern \/\*\s* sourceMappingURL=(.*).123 124<p>Publish Date: 2021-04-26125<p>URL: <a href=https://vuln.whitesourcesoftware.com/vulnerability/CVE-2021-23382>CVE-2021-23382</a></p>126</p>127</details>128<p></p>129<details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/cvss3.png' width=19 height=20> CVSS 3 Score Details (<b>5.3</b>)</summary>130<p>131 132Base Score Metrics:133- Exploitability Metrics:134 - Attack Vector: Network135 - Attack Complexity: Low136 - Privileges Required: None137 - User Interaction: None138 - Scope: Unchanged139- Impact Metrics:140 - Confidentiality Impact: None141 - Integrity Impact: None142 - Availability Impact: Low143</p>144For more information on CVSS3 Scores, click <a href=""https://www.first.org/cvss/calculator/3.0"">here</a>.145</p>146</details>147<p></p>148<details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/suggested_fix.png' width=19 height=20> Suggested Fix</summary>149<p>150 151<p>Type: Upgrade version</p>152<p>Origin: <a href=""https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23382"">https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23382</a></p>153<p>Release Date: 2021-04-26</p>154<p>Fix Resolution: postcss - 8.2.13</p>155 156</p>157</details>158<p></p>159 160***161Step up your Open Source Security Game with WhiteSource [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)",0,cve medium detected in postcss tgz postcss tgz cve medium severity vulnerability vulnerable libraries postcss tgz postcss tgz postcss tgz tool for transforming styles with js plugins library home page a href path to dependency file design language website package json path to vulnerable library design language website node modules postcss dependency hierarchy gatsby tgz root library css loader tgz x postcss tgz vulnerable library postcss tgz tool for transforming styles with js plugins library home page a href path to dependency file design language website package json path to vulnerable library design language website node modules postcss dependency hierarchy gatsby tgz root library optimize css assets webpack plugin tgz cssnano tgz x postcss tgz vulnerable library found in head commit a href found in base branch master vulnerability details the package postcss before are vulnerable to regular expression denial of service redos via getannotationurl and loadannotation in lib previous map js the vulnerable regexes are caused mainly by the sub pattern s sourcemappingurl publish date url a href cvss score details base score metrics exploitability metrics attack vector network attack complexity low privileges required none user interaction none scope unchanged impact metrics confidentiality impact none integrity impact none availability impact low for more information on scores click a href suggested fix type upgrade version origin a href release date fix resolution postcss step up your open source security game with whitesource ,016298417,29832995921.0,IssuesEvent,2023-06-18 13:54:45,abetlen/llama-cpp-python,https://api.github.com/repos/abetlen/llama-cpp-python,closed,Install with CLBlast requires CLBlast libraries,documentation build,"# Expected Behavior
163
164With command ""CMAKE_ARGS=""-DLLAMA_CLBLAST=on"" FORCE_CMAKE=1 pip install llama-cpp-python --force-reinstall --upgrade --no-cache-dir"", I would expect a llama.cpp build with CLBlast to be installed. Which when a model loaded, I would see BLAS = 1 and my graphic card get used during inference.
165
166# Current Behavior
167
168Llama.cpp shows BLAS = 0, and my GPU doesn't move at all during inference.
169
170# Environment and Context
171Linux Mint 21.1 Cinnamon (which is basically Ubuntu)
172My GPU: Radeon VII
173`$ lscpu`
174```
175架构: x86_64
176 CPU 运行模式: 32-bit, 64-bit
177 Address sizes: 48 bits physical, 48 bits virtual
178 字节序: Little Endian
179CPU: 12
180 在线 CPU 列表: 0-11
181厂商 ID: AuthenticAMD
182 型号名称: AMD Ryzen 5 5500
183 CPU 系列: 25
184 型号: 80
185 每个核的线程数: 2
186 每个座的核数: 6
187 座: 1
188 步进: 0
189 Frequency boost: enabled
190 CPU 最大 MHz: 3600.0000
191 CPU 最小 MHz: 1400.0000
192 BogoMIPS: 7186.38
193 标记: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mc
194 a cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall n
195 x mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_go
196 od nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl p
197 ni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2api
198 c movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_le
199 gacy svm extapic cr8_legacy abm sse4a misalignsse 3dnow
200 prefetch osvw ibs skinit wdt tce topoext perfctr_core p
201 erfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw
202 _pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1
203 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap c
204 lflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cq
205 m_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero
206 irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm
207 _lock nrip_save tsc_scale vmcb_clean flushbyasid decode
208 assists pausefilter pfthreshold avic v_vmsave_vmload vg
209 if v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid ove
210 rflow_recov succor smca fsrm
211Virtualization features:
212 虚拟化: AMD-V
213Caches (sum of all):
214 L1d: 192 KiB (6 instances)
215 L1i: 192 KiB (6 instances)
216 L2: 3 MiB (6 instances)
217 L3: 16 MiB (1 instance)
218NUMA:
219 NUMA 节点: 1
220 NUMA 节点0 CPU: 0-11
221Vulnerabilities:
222 Itlb multihit: Not affected
223 L1tf: Not affected
224 Mds: Not affected
225 Meltdown: Not affected
226 Mmio stale data: Not affected
227 Retbleed: Not affected
228 Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
229 and seccomp
230 Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer
231 sanitization
232 Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIB
233 P always-on, RSB filling, PBRSB-eIBRS Not affected
234 Srbds: Not affected
235 Tsx async abort: Not affected
236```
237
238`$ uname -a`
239`Linux fgdfgfthgr-MS-7C95 5.15.0-73-generic #80-Ubuntu SMP Mon May 15 15:18:26 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux`
240
241
242```
243$ python3 --version
244Python 3.10.11
245$ make --version
246GNU Make 4.3
247为 x86_64-pc-linux-gnu 编译
248Copyright (C) 1988-2020 Free Software Foundation, Inc.
249许可证:GPLv3+:GNU 通用公共许可证第 3 版或更新版本<http://gnu.org/licenses/gpl.html>。
250本软件是自由软件:您可以自由修改和重新发布它。
251在法律允许的范围内没有其他保证。
252$ g++ --version
253g++ (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
254Copyright (C) 2021 Free Software Foundation, Inc.
255This is free software; see the source for copying conditions. There is NO
256warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
257```
258'$ pip list'
259```
260Package Version
261------------------- ----------------
262accelerate 0.20.0.dev0
263aiofiles 23.1.0
264aiohttp 3.8.4
265aiosignal 1.3.1
266altair 5.0.1
267anyio 3.7.0
268async-timeout 4.0.2
269attrs 23.1.0
270bitsandbytes 0.37.2
271certifi 2022.12.7
272charset-normalizer 2.1.1
273click 8.1.3
274cmake 3.25.0
275colorama 0.4.6
276contourpy 1.0.7
277cycler 0.11.0
278datasets 2.12.0
279dill 0.3.6
280einops 0.6.1
281exceptiongroup 1.1.1
282fastapi 0.95.2
283ffmpy 0.3.0
284filelock 3.9.0
285flexgen 0.1.7
286fonttools 4.39.4
287frozenlist 1.3.3
288fsspec 2023.5.0
289gradio 3.31.0
290gradio_client 0.2.5
291h11 0.14.0
292httpcore 0.17.2
293httpx 0.24.1
294huggingface-hub 0.14.1
295idna 3.4
296Jinja2 3.1.2
297jsonschema 4.17.3
298kiwisolver 1.4.4
299linkify-it-py 2.0.2
300lit 15.0.7
301llama-cpp-python 0.1.57
302Markdown 3.4.3
303markdown-it-py 2.2.0
304MarkupSafe 2.1.2
305matplotlib 3.7.1
306mdit-py-plugins 0.3.3
307mdurl 0.1.2
308mpmath 1.2.1
309multidict 6.0.4
310multiprocess 0.70.14
311networkx 3.0
312numpy 1.24.3
313orjson 3.8.14
314packaging 23.1
315pandas 2.0.2
316peft 0.4.0.dev0
317Pillow 9.5.0
318pip 23.0.1
319psutil 5.9.5
320PuLP 2.7.0
321pyarrow 12.0.0
322pydantic 1.10.8
323pydub 0.25.1
324Pygments 2.15.1
325pyparsing 3.0.9
326pyrsistent 0.19.3
327python-dateutil 2.8.2
328python-multipart 0.0.6
329pytorch-triton-rocm 2.0.1
330pytz 2023.3
331PyYAML 6.0
332quant-cuda 0.0.0
333regex 2023.5.5
334requests 2.28.1
335responses 0.18.0
336safetensors 0.3.1
337scipy 1.10.1
338semantic-version 2.10.0
339sentencepiece 0.1.99
340setuptools 67.8.0
341six 1.16.0
342sniffio 1.3.0
343starlette 0.27.0
344sympy 1.11.1
345tokenizers 0.13.3
346toolz 0.12.0
347torch 2.0.1+rocm5.4.2
348torchaudio 2.0.2+rocm5.4.2
349torchvision 0.15.2+rocm5.4.2
350tqdm 4.65.0
351transformers 4.30.0.dev0
352typing_extensions 4.6.2
353tzdata 2023.3
354uc-micro-py 1.0.2
355urllib3 1.26.13
356uvicorn 0.22.0
357websockets 11.0.3
358wheel 0.38.4
359xxhash 3.2.0
360yarl 1.9.2
361```
362
363
364# Failure Logs
365```
366$ CMAKE_ARGS=""-DLLAMA_CLBLAST=on"" FORCE_CMAKE=1 pip install llama-cpp-python --force-reinstall --upgrade --no-cache-dir
367Collecting llama-cpp-python
368 Downloading llama_cpp_python-0.1.57.tar.gz (1.4 MB)
369 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 6.6 MB/s eta 0:00:00
370 Installing build dependencies ... done
371 Getting requirements to build wheel ... done
372 Preparing metadata (pyproject.toml) ... done
373Collecting typing-extensions>=4.5.0
374 Downloading typing_extensions-4.6.2-py3-none-any.whl (31 kB)
375Collecting numpy>=1.20.0
376 Downloading numpy-1.24.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
377 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 8.5 MB/s eta 0:00:00
378Building wheels for collected packages: llama-cpp-python
379 Building wheel for llama-cpp-python (pyproject.toml) ... done
380 Created wheel for llama-cpp-python: filename=llama_cpp_python-0.1.57-cp310-cp310-linux_x86_64.whl size=212476 sha256=9c83c78ef597f128db8bfc5ad6ceac144a5eb63a122952e021c47ca3bbb242dc
381 Stored in directory: /tmp/pip-ephem-wheel-cache-6ct6wx1l/wheels/87/9b/55/22559358a9af8074053b6c39406f5c06f0d391c052f77ca0c2
382Successfully built llama-cpp-python
383Installing collected packages: typing-extensions, numpy, llama-cpp-python
384 Attempting uninstall: typing-extensions
385 Found existing installation: typing_extensions 4.4.0
386 Uninstalling typing_extensions-4.4.0:
387 Successfully uninstalled typing_extensions-4.4.0
388 Attempting uninstall: numpy
389 Found existing installation: numpy 1.24.1
390 Uninstalling numpy-1.24.1:
391 Successfully uninstalled numpy-1.24.1
392Successfully installed llama-cpp-python-0.1.57 numpy-1.24.3 typing-extensions-4.6.2
393```
394```
395
396INFO:Loading llamacpp_30b...
397INFO:llama.cpp weights detected: models/llamacpp_30b/ggml-model-q5_0.bin
398
399INFO:Cache capacity is 0 bytes
400llama.cpp: loading model from models/llamacpp_30b/ggml-model-q5_0.bin
401llama_model_load_internal: format = ggjt v2 (pre #1508)
402llama_model_load_internal: n_vocab = 32000
403llama_model_load_internal: n_ctx = 2048
404llama_model_load_internal: n_embd = 6656
405llama_model_load_internal: n_mult = 256
406llama_model_load_internal: n_head = 52
407llama_model_load_internal: n_layer = 60
408llama_model_load_internal: n_rot = 128
409llama_model_load_internal: ftype = 8 (mostly Q5_0)
410llama_model_load_internal: n_ff = 17920
411llama_model_load_internal: n_parts = 1
412llama_model_load_internal: model size = 30B
413llama_model_load_internal: ggml ctx size = 0.13 MB
414llama_model_load_internal: mem required = 23634.31 MB (+ 3124.00 MB per state)
415.
416llama_init_from_file: kv self size = 3120.00 MB
417AVX = 1 | AVX2 = 1 | AVX512 = 0 | AVX512_VBMI = 0 | AVX512_VNNI = 0 | FMA = 1 | NEON = 0 | ARM_FMA = 0 | F16C = 1 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 0 | SSE3 = 1 | VSX = 0 |
418INFO:Loaded the model in 4.37 seconds.
419
420
421llama_print_timings: load time = 1245.53 ms
422llama_print_timings: sample time = 43.12 ms / 19 runs ( 2.27 ms per token)
423llama_print_timings: prompt eval time = 1245.47 ms / 3 tokens ( 415.16 ms per token)
424llama_print_timings: eval time = 11416.53 ms / 18 runs ( 634.25 ms per token)
425llama_print_timings: total time = 12735.25 ms
426Output generated in 13.04 seconds (1.46 tokens/s, 19 tokens, context 3, seed 1337143409)
427
428```",1.0,"Install with CLBlast requires CLBlast libraries - # Expected Behavior
429
430With command ""CMAKE_ARGS=""-DLLAMA_CLBLAST=on"" FORCE_CMAKE=1 pip install llama-cpp-python --force-reinstall --upgrade --no-cache-dir"", I would expect a llama.cpp build with CLBlast to be installed. Which when a model loaded, I would see BLAS = 1 and my graphic card get used during inference.
431
432# Current Behavior
433
434Llama.cpp shows BLAS = 0, and my GPU doesn't move at all during inference.
435
436# Environment and Context
437Linux Mint 21.1 Cinnamon (which is basically Ubuntu)
438My GPU: Radeon VII
439`$ lscpu`
440```
441架构: x86_64
442 CPU 运行模式: 32-bit, 64-bit
443 Address sizes: 48 bits physical, 48 bits virtual
444 字节序: Little Endian
445CPU: 12
446 在线 CPU 列表: 0-11
447厂商 ID: AuthenticAMD
448 型号名称: AMD Ryzen 5 5500
449 CPU 系列: 25
450 型号: 80
451 每个核的线程数: 2
452 每个座的核数: 6
453 座: 1
454 步进: 0
455 Frequency boost: enabled
456 CPU 最大 MHz: 3600.0000
457 CPU 最小 MHz: 1400.0000
458 BogoMIPS: 7186.38
459 标记: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mc
460 a cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall n
461 x mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_go
462 od nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl p
463 ni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2api
464 c movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_le
465 gacy svm extapic cr8_legacy abm sse4a misalignsse 3dnow
466 prefetch osvw ibs skinit wdt tce topoext perfctr_core p
467 erfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw
468 _pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1
469 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap c
470 lflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cq
471 m_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero
472 irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm
473 _lock nrip_save tsc_scale vmcb_clean flushbyasid decode
474 assists pausefilter pfthreshold avic v_vmsave_vmload vg
475 if v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid ove
476 rflow_recov succor smca fsrm
477Virtualization features:
478 虚拟化: AMD-V
479Caches (sum of all):
480 L1d: 192 KiB (6 instances)
481 L1i: 192 KiB (6 instances)
482 L2: 3 MiB (6 instances)
483 L3: 16 MiB (1 instance)
484NUMA:
485 NUMA 节点: 1
486 NUMA 节点0 CPU: 0-11
487Vulnerabilities:
488 Itlb multihit: Not affected
489 L1tf: Not affected
490 Mds: Not affected
491 Meltdown: Not affected
492 Mmio stale data: Not affected
493 Retbleed: Not affected
494 Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
495 and seccomp
496 Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer
497 sanitization
498 Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIB
499 P always-on, RSB filling, PBRSB-eIBRS Not affected
500 Srbds: Not affected
501 Tsx async abort: Not affected
502```
503
504`$ uname -a`
505`Linux fgdfgfthgr-MS-7C95 5.15.0-73-generic #80-Ubuntu SMP Mon May 15 15:18:26 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux`
506
507
508```
509$ python3 --version
510Python 3.10.11
511$ make --version
512GNU Make 4.3
513为 x86_64-pc-linux-gnu 编译
514Copyright (C) 1988-2020 Free Software Foundation, Inc.
515许可证:GPLv3+:GNU 通用公共许可证第 3 版或更新版本<http://gnu.org/licenses/gpl.html>。
516本软件是自由软件:您可以自由修改和重新发布它。
517在法律允许的范围内没有其他保证。
518$ g++ --version
519g++ (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
520Copyright (C) 2021 Free Software Foundation, Inc.
521This is free software; see the source for copying conditions. There is NO
522warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
523```
524'$ pip list'
525```
526Package Version
527------------------- ----------------
528accelerate 0.20.0.dev0
529aiofiles 23.1.0
530aiohttp 3.8.4
531aiosignal 1.3.1
532altair 5.0.1
533anyio 3.7.0
534async-timeout 4.0.2
535attrs 23.1.0
536bitsandbytes 0.37.2
537certifi 2022.12.7
538charset-normalizer 2.1.1
539click 8.1.3
540cmake 3.25.0
541colorama 0.4.6
542contourpy 1.0.7
543cycler 0.11.0
544datasets 2.12.0
545dill 0.3.6
546einops 0.6.1
547exceptiongroup 1.1.1
548fastapi 0.95.2
549ffmpy 0.3.0
550filelock 3.9.0
551flexgen 0.1.7
552fonttools 4.39.4
553frozenlist 1.3.3
554fsspec 2023.5.0
555gradio 3.31.0
556gradio_client 0.2.5
557h11 0.14.0
558httpcore 0.17.2
559httpx 0.24.1
560huggingface-hub 0.14.1
561idna 3.4
562Jinja2 3.1.2
563jsonschema 4.17.3
564kiwisolver 1.4.4
565linkify-it-py 2.0.2
566lit 15.0.7
567llama-cpp-python 0.1.57
568Markdown 3.4.3
569markdown-it-py 2.2.0
570MarkupSafe 2.1.2
571matplotlib 3.7.1
572mdit-py-plugins 0.3.3
573mdurl 0.1.2
574mpmath 1.2.1
575multidict 6.0.4
576multiprocess 0.70.14
577networkx 3.0
578numpy 1.24.3
579orjson 3.8.14
580packaging 23.1
581pandas 2.0.2
582peft 0.4.0.dev0
583Pillow 9.5.0
584pip 23.0.1
585psutil 5.9.5
586PuLP 2.7.0
587pyarrow 12.0.0
588pydantic 1.10.8
589pydub 0.25.1
590Pygments 2.15.1
591pyparsing 3.0.9
592pyrsistent 0.19.3
593python-dateutil 2.8.2
594python-multipart 0.0.6
595pytorch-triton-rocm 2.0.1
596pytz 2023.3
597PyYAML 6.0
598quant-cuda 0.0.0
599regex 2023.5.5
600requests 2.28.1
601responses 0.18.0
602safetensors 0.3.1
603scipy 1.10.1
604semantic-version 2.10.0
605sentencepiece 0.1.99
606setuptools 67.8.0
607six 1.16.0
608sniffio 1.3.0
609starlette 0.27.0
610sympy 1.11.1
611tokenizers 0.13.3
612toolz 0.12.0
613torch 2.0.1+rocm5.4.2
614torchaudio 2.0.2+rocm5.4.2
615torchvision 0.15.2+rocm5.4.2
616tqdm 4.65.0
617transformers 4.30.0.dev0
618typing_extensions 4.6.2
619tzdata 2023.3
620uc-micro-py 1.0.2
621urllib3 1.26.13
622uvicorn 0.22.0
623websockets 11.0.3
624wheel 0.38.4
625xxhash 3.2.0
626yarl 1.9.2
627```
628
629
630# Failure Logs
631```
632$ CMAKE_ARGS=""-DLLAMA_CLBLAST=on"" FORCE_CMAKE=1 pip install llama-cpp-python --force-reinstall --upgrade --no-cache-dir
633Collecting llama-cpp-python
634 Downloading llama_cpp_python-0.1.57.tar.gz (1.4 MB)
635 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 6.6 MB/s eta 0:00:00
636 Installing build dependencies ... done
637 Getting requirements to build wheel ... done
638 Preparing metadata (pyproject.toml) ... done
639Collecting typing-extensions>=4.5.0
640 Downloading typing_extensions-4.6.2-py3-none-any.whl (31 kB)
641Collecting numpy>=1.20.0
642 Downloading numpy-1.24.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
643 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 8.5 MB/s eta 0:00:00
644Building wheels for collected packages: llama-cpp-python
645 Building wheel for llama-cpp-python (pyproject.toml) ... done
646 Created wheel for llama-cpp-python: filename=llama_cpp_python-0.1.57-cp310-cp310-linux_x86_64.whl size=212476 sha256=9c83c78ef597f128db8bfc5ad6ceac144a5eb63a122952e021c47ca3bbb242dc
647 Stored in directory: /tmp/pip-ephem-wheel-cache-6ct6wx1l/wheels/87/9b/55/22559358a9af8074053b6c39406f5c06f0d391c052f77ca0c2
648Successfully built llama-cpp-python
649Installing collected packages: typing-extensions, numpy, llama-cpp-python
650 Attempting uninstall: typing-extensions
651 Found existing installation: typing_extensions 4.4.0
652 Uninstalling typing_extensions-4.4.0:
653 Successfully uninstalled typing_extensions-4.4.0
654 Attempting uninstall: numpy
655 Found existing installation: numpy 1.24.1
656 Uninstalling numpy-1.24.1:
657 Successfully uninstalled numpy-1.24.1
658Successfully installed llama-cpp-python-0.1.57 numpy-1.24.3 typing-extensions-4.6.2
659```
660```
661
662INFO:Loading llamacpp_30b...
663INFO:llama.cpp weights detected: models/llamacpp_30b/ggml-model-q5_0.bin
664
665INFO:Cache capacity is 0 bytes
666llama.cpp: loading model from models/llamacpp_30b/ggml-model-q5_0.bin
667llama_model_load_internal: format = ggjt v2 (pre #1508)
668llama_model_load_internal: n_vocab = 32000
669llama_model_load_internal: n_ctx = 2048
670llama_model_load_internal: n_embd = 6656
671llama_model_load_internal: n_mult = 256
672llama_model_load_internal: n_head = 52
673llama_model_load_internal: n_layer = 60
674llama_model_load_internal: n_rot = 128
675llama_model_load_internal: ftype = 8 (mostly Q5_0)
676llama_model_load_internal: n_ff = 17920
677llama_model_load_internal: n_parts = 1
678llama_model_load_internal: model size = 30B
679llama_model_load_internal: ggml ctx size = 0.13 MB
680llama_model_load_internal: mem required = 23634.31 MB (+ 3124.00 MB per state)
681.
682llama_init_from_file: kv self size = 3120.00 MB
683AVX = 1 | AVX2 = 1 | AVX512 = 0 | AVX512_VBMI = 0 | AVX512_VNNI = 0 | FMA = 1 | NEON = 0 | ARM_FMA = 0 | F16C = 1 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 0 | SSE3 = 1 | VSX = 0 |
684INFO:Loaded the model in 4.37 seconds.
685
686
687llama_print_timings: load time = 1245.53 ms
688llama_print_timings: sample time = 43.12 ms / 19 runs ( 2.27 ms per token)
689llama_print_timings: prompt eval time = 1245.47 ms / 3 tokens ( 415.16 ms per token)
690llama_print_timings: eval time = 11416.53 ms / 18 runs ( 634.25 ms per token)
691llama_print_timings: total time = 12735.25 ms
692Output generated in 13.04 seconds (1.46 tokens/s, 19 tokens, context 3, seed 1337143409)
693
694```",0,install with clblast requires clblast libraries expected behavior with command cmake args dllama clblast on force cmake pip install llama cpp python force reinstall upgrade no cache dir i would expect a llama cpp build with clblast to be installed which when a model loaded i would see blas and my graphic card get used during inference current behavior llama cpp shows blas and my gpu doesn t move at all during inference environment and context linux mint cinnamon which is basically ubuntu my gpu radeon vii lscpu 架构: cpu 运行模式: bit bit address sizes bits physical bits virtual 字节序: little endian cpu 在线 cpu 列表: 厂商 id: authenticamd 型号名称: amd ryzen cpu 系列: 型号: 每个核的线程数: 每个座的核数: 座: 步进: frequency boost enabled cpu 最大 mhz: cpu 最小 mhz: bogomips: 标记: fpu vme de pse tsc msr pae mce apic sep mtrr pge mc a cmov pat clflush mmx fxsr sse ht syscall n x mmxext fxsr opt rdtscp lm constant tsc rep go od nopl nonstop tsc cpuid extd apicid aperfmperf rapl p ni pclmulqdq monitor fma c movbe popcnt aes xsave avx rdrand lahf lm cmp le gacy svm extapic legacy abm misalignsse prefetch osvw ibs skinit wdt tce topoext perfctr core p erfctr nb bpext perfctr llc mwaitx cpb cat cdp hw pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase smep erms invpcid cqm rdt a rdseed adx smap c lflushopt clwb sha ni xsaveopt xsavec xsaves cq m llc cqm occup llc cqm mbm total cqm mbm local clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm lock nrip save tsc scale vmcb clean flushbyasid decode assists pausefilter pfthreshold avic v vmsave vmload vg if v spec ctrl umip pku ospke vaes vpclmulqdq rdpid ove rflow recov succor smca fsrm virtualization features 虚拟化: amd v caches sum of all kib instances kib instances mib instances mib instance numa numa 节点: numa cpu: vulnerabilities itlb multihit not affected not affected mds not affected meltdown not affected mmio stale data not affected retbleed not affected spec store bypass mitigation speculative store bypass disabled via prctl and seccomp spectre mitigation usercopy swapgs barriers and user pointer sanitization spectre mitigation retpolines ibpb conditional ibrs fw stib p always on rsb filling pbrsb eibrs not affected srbds not affected tsx async abort not affected uname a linux fgdfgfthgr ms generic ubuntu smp mon may utc gnu linux version python make version gnu make 为 pc linux gnu 编译 copyright c free software foundation inc 许可证: :gnu 通用公共许可证第 版或更新版本 本软件是自由软件:您可以自由修改和重新发布它。 在法律允许的范围内没有其他保证。 g version g ubuntu copyright c free software foundation inc this is free software see the source for copying conditions there is no warranty not even for merchantability or fitness for a particular purpose pip list package version accelerate aiofiles aiohttp aiosignal altair anyio async timeout attrs bitsandbytes certifi charset normalizer click cmake colorama contourpy cycler datasets dill einops exceptiongroup fastapi ffmpy filelock flexgen fonttools frozenlist fsspec gradio gradio client httpcore httpx huggingface hub idna jsonschema kiwisolver linkify it py lit llama cpp python markdown markdown it py markupsafe matplotlib mdit py plugins mdurl mpmath multidict multiprocess networkx numpy orjson packaging pandas peft pillow pip psutil pulp pyarrow pydantic pydub pygments pyparsing pyrsistent python dateutil python multipart pytorch triton rocm pytz pyyaml quant cuda regex requests responses safetensors scipy semantic version sentencepiece setuptools six sniffio starlette sympy tokenizers toolz torch torchaudio torchvision tqdm transformers typing extensions tzdata uc micro py uvicorn websockets wheel xxhash yarl failure logs cmake args dllama clblast on force cmake pip install llama cpp python force reinstall upgrade no cache dir collecting llama cpp python downloading llama cpp python tar gz mb ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ mb mb s eta installing build dependencies done getting requirements to build wheel done preparing metadata pyproject toml done collecting typing extensions downloading typing extensions none any whl kb collecting numpy downloading numpy manylinux whl mb ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ mb mb s eta building wheels for collected packages llama cpp python building wheel for llama cpp python pyproject toml done created wheel for llama cpp python filename llama cpp python linux whl size stored in directory tmp pip ephem wheel cache wheels successfully built llama cpp python installing collected packages typing extensions numpy llama cpp python attempting uninstall typing extensions found existing installation typing extensions uninstalling typing extensions successfully uninstalled typing extensions attempting uninstall numpy found existing installation numpy uninstalling numpy successfully uninstalled numpy successfully installed llama cpp python numpy typing extensions info loading llamacpp info llama cpp weights detected models llamacpp ggml model bin info cache capacity is bytes llama cpp loading model from models llamacpp ggml model bin llama model load internal format ggjt pre llama model load internal n vocab llama model load internal n ctx llama model load internal n embd llama model load internal n mult llama model load internal n head llama model load internal n layer llama model load internal n rot llama model load internal ftype mostly llama model load internal n ff llama model load internal n parts llama model load internal model size llama model load internal ggml ctx size mb llama model load internal mem required mb mb per state llama init from file kv self size mb avx vbmi vnni fma neon arm fma va wasm simd blas vsx info loaded the model in seconds llama print timings load time ms llama print timings sample time ms runs ms per token llama print timings prompt eval time ms tokens ms per token llama print timings eval time ms runs ms per token llama print timings total time ms output generated in seconds tokens s tokens context seed ,069585521,10618369025.0,IssuesEvent,2019-10-13 03:48:17,carbon-design-system/ibm-dotcom-library,https://api.github.com/repos/carbon-design-system/ibm-dotcom-library,closed,Write guidelines for how to use Personae and Journey maps,design design: research migrate priority: low sprint demo website: cupcake website: wedding cake,"_Benjamin-Hansen1 created the following on May 24:_ 696 697 ## User story698 699As a DDS team member or maker, I need to understand our users, their behaviors, needs, processes, drivers, and how to put that knowledge into my work, etc.- so that I can make sure that the work I do translates all the way to the end user.700 701 702## Deliverables703 704- [ ] Guideline705 706## Acceptance Criteria707 708- [ ] Published presented to DDS team (Playback) 709 710_Original issue: https://github.ibm.com/webstandards/digital-design/issues/888_",2.0,"Write guidelines for how to use Personae and Journey maps - _Benjamin-Hansen1 created the following on May 24:_ 711 712 ## User story713 714As a DDS team member or maker, I need to understand our users, their behaviors, needs, processes, drivers, and how to put that knowledge into my work, etc.- so that I can make sure that the work I do translates all the way to the end user.715 716 717## Deliverables718 719- [ ] Guideline720 721## Acceptance Criteria722 723- [ ] Published presented to DDS team (Playback) 724 725_Original issue: https://github.ibm.com/webstandards/digital-design/issues/888_",0,write guidelines for how to use personae and journey maps benjamin created the following on may user story as a dds team member or maker i need to understand our users their behaviors needs processes drivers and how to put that knowledge into my work etc so that i can make sure that the work i do translates all the way to the end user deliverables guideline acceptance criteria published presented to dds team playback original issue ,072622376,4793115396.0,IssuesEvent,2016-10-31 17:17:26,golang/go,https://api.github.com/repos/golang/go,closed,reflect: NumMethod doesn't return not exported members of method sets,Documentation,"### What version of Go are you using (`go version`)?
727
728go version go1.7.1 darwin/amd64
729
730### What operating system and processor architecture are you using (`go env`)?
731
732```
733> go env
734GOARCH=""amd64""
735GOBIN=""""
736GOEXE=""""
737GOHOSTARCH=""amd64""
738GOHOSTOS=""darwin""
739GOOS=""darwin""
740GOPATH=""/Users/mlowicki/projects/golang/spec""
741GORACE=""""
742GOROOT=""/usr/local/go""
743GOTOOLDIR=""/usr/local/go/pkg/tool/darwin_amd64""
744CC=""clang""
745GOGCCFLAGS=""-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches -fno-common""
746CXX=""clang++""
747CGO_ENABLED=""1""
748```
749
750### Repro
751https://play.golang.org/p/eXoyuqajG6
752
753### Expected result
754I expect to see method `n` also printed out and language spec doesn't enforce that method set contains only exported identifiers.
755
756Currently it displays only info about `M`:
757```
758Number of methods: 1
759Method {M func(main.T) <func(main.T) Value> %!s(int=0)}
760 Name: M
761 PkgPath:
762```",1.0,"reflect: NumMethod doesn't return not exported members of method sets - ### What version of Go are you using (`go version`)?
763
764go version go1.7.1 darwin/amd64
765
766### What operating system and processor architecture are you using (`go env`)?
767
768```
769> go env
770GOARCH=""amd64""
771GOBIN=""""
772GOEXE=""""
773GOHOSTARCH=""amd64""
774GOHOSTOS=""darwin""
775GOOS=""darwin""
776GOPATH=""/Users/mlowicki/projects/golang/spec""
777GORACE=""""
778GOROOT=""/usr/local/go""
779GOTOOLDIR=""/usr/local/go/pkg/tool/darwin_amd64""
780CC=""clang""
781GOGCCFLAGS=""-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches -fno-common""
782CXX=""clang++""
783CGO_ENABLED=""1""
784```
785
786### Repro
787https://play.golang.org/p/eXoyuqajG6
788
789### Expected result
790I expect to see method `n` also printed out and language spec doesn't enforce that method set contains only exported identifiers.
791
792Currently it displays only info about `M`:
793```
794Number of methods: 1
795Method {M func(main.T) <func(main.T) Value> %!s(int=0)}
796 Name: M
797 PkgPath:
798```",1,reflect nummethod doesn t return not exported members of method sets what version of go are you using go version go version darwin what operating system and processor architecture are you using go env go env goarch gobin goexe gohostarch gohostos darwin goos darwin gopath users mlowicki projects golang spec gorace goroot usr local go gotooldir usr local go pkg tool darwin cc clang gogccflags fpic pthread fno caret diagnostics qunused arguments fmessage length gno record gcc switches fno common cxx clang cgo enabled repro expected result i expect to see method n also printed out and language spec doesn t enforce that method set contains only exported identifiers currently it displays only info about m number of methods method m func main t s int name m pkgpath ,179934246,6306261836.0,IssuesEvent,2017-07-21 20:31:35,golang/go,https://api.github.com/repos/golang/go,opened,unclear docs causing races in sql/driver implementations,Documentation,"### What version of Go are you using (`go version`)?
800
801`go version go1.8.3 darwin/amd64`
802
803### What did you do?
804
805Unlike `Conn` or `Stmt` there's no guidance on `Tx` indicating how the stdlib uses implementations. This seems to cause bugs in driver implementations, as a `Tx` is expected to handle concurrent calls from multiple goroutines unlike most of the other interfaces in the package.
806
807This came up as I was debugging [a panic inside of lib/pq](https://github.com/lib/pq/issues/614) and discovered it was a data race due to the authors not assuming that their `Tx` would have to deal with calls from multiple goroutines. Out of curiosity, I looked at `go-sql-driver/mysql` and the lack of a race there seems like a happy accident - the Context expiring occasionally causes [an internal error to bubble up](https://github.com/go-sql-driver/mysql/blob/a825be04c652d01442384e9dcdf2cdc3f1eda67f/packets.go#L441-L443), since the authors appear to aggressively check their invariants.
808
809I'm not sure whether this is a documentation problem or if there's something database/sql could do to make life easier for driver implementors.
810
811",1.0,"unclear docs causing races in sql/driver implementations - ### What version of Go are you using (`go version`)?
812
813`go version go1.8.3 darwin/amd64`
814
815### What did you do?
816
817Unlike `Conn` or `Stmt` there's no guidance on `Tx` indicating how the stdlib uses implementations. This seems to cause bugs in driver implementations, as a `Tx` is expected to handle concurrent calls from multiple goroutines unlike most of the other interfaces in the package.
818
819This came up as I was debugging [a panic inside of lib/pq](https://github.com/lib/pq/issues/614) and discovered it was a data race due to the authors not assuming that their `Tx` would have to deal with calls from multiple goroutines. Out of curiosity, I looked at `go-sql-driver/mysql` and the lack of a race there seems like a happy accident - the Context expiring occasionally causes [an internal error to bubble up](https://github.com/go-sql-driver/mysql/blob/a825be04c652d01442384e9dcdf2cdc3f1eda67f/packets.go#L441-L443), since the authors appear to aggressively check their invariants.
820
821I'm not sure whether this is a documentation problem or if there's something database/sql could do to make life easier for driver implementors.
822
823",1,unclear docs causing races in sql driver implementations what version of go are you using go version go version darwin what did you do unlike conn or stmt there s no guidance on tx indicating how the stdlib uses implementations this seems to cause bugs in driver implementations as a tx is expected to handle concurrent calls from multiple goroutines unlike most of the other interfaces in the package this came up as i was debugging and discovered it was a data race due to the authors not assuming that their tx would have to deal with calls from multiple goroutines out of curiosity i looked at go sql driver mysql and the lack of a race there seems like a happy accident the context expiring occasionally causes since the authors appear to aggressively check their invariants i m not sure whether this is a documentation problem or if there s something database sql could do to make life easier for driver implementors ,182450425,7603623484.0,IssuesEvent,2018-04-29 16:24:49,golang/go,https://api.github.com/repos/golang/go,closed,cmd/compile: improve the help message of go tool compile -d ssa/help,Documentation NeedsFix,"I noticed it was somewhat difficult to read the ssa/help output:
825
826```
827 $ go tool compile -d ssa/help
828 compile: GcFlag -d=ssa/<phase>/<flag>[=<value>]|[:<function_name>]
829 <phase> is one of:
830 check, all, build, intrinsics, early_phielim, early_copyelim
831 early_deadcode, short_circuit, decompose_user, opt, zero_arg_cse
832 opt_deadcode, generic_cse, phiopt, nilcheckelim, prove, loopbce
833 decompose_builtin, dec, late_opt, generic_deadcode, check_bce
834 writebarrier, fuse, dse, insert_resched_checks, tighten, lower
835 lowered_cse, lowered_deadcode, checkLower, late_phielim, late_copyelim
836 phi_tighten, late_deadcode, critical, likelyadjust, layout, schedule
837 late_nilcheck, flagalloc, regalloc, stackframe, trim
838 <flag> is one of on, off, debug, mem, time, test, stats, dump
839 <value> defaults to 1
840 <function_name> is required for ""dump"", specifies name of function to dump after <phase>
841 Except for dump, output is directed to standard out; dump appears in a file.
842 Phase ""all"" supports flags ""time"", ""mem"", and ""dump"".
843 Phases ""intrinsics"" supports flags ""on"", ""off"", and ""debug"".
844 Interpretation of the ""debug"" value depends on the phase.
845 Dump files are named <phase>__<function_name>_<seq>.dump.
846```
847
848With a few tweaks here and there it looks more pleasing to the eye:
849
850```
851 $ go tool compile -d ssa/help
852 compile: usage: -d=ssa/<phase>/<flag>[=<value>|<function_name>]
853
854 <phase> is one of:
855
856 check, all, build, intrinsics, early_phielim, early_copyelim, early_deadcode
857 short_circuit, decompose_user, opt, zero_arg_cse, opt_deadcode, generic_cse
858 phiopt, nilcheckelim, prove, loopbce, decompose_builtin, dec, late_opt
859 generic_deadcode, check_bce, writebarrier, fuse, dse, insert_resched_checks
860 tighten, lower, lowered_cse, lowered_deadcode, checkLower, late_phielim
861 late_copyelim, phi_tighten, late_deadcode, critical, likelyadjust, layout
862 schedule, late_nilcheck, flagalloc, regalloc, stackframe, trim
863
864 <flag> is one of on, off, debug, mem, time, test, stats, dump.
865 Phase all supports flags time, mem, and dump.
866 Phase intrinsics supports flags on, off, and debug.
867
868 <value> defaults to 1.
869
870 <function_name> is required for dump, specifies name of function to dump after <phase>.
871
872 Except for dump, output is directed to standard out; dump appears in a file.
873 Dump files are named <phase>__<function_name>_<seq>.dump.
874```",1.0,"cmd/compile: improve the help message of go tool compile -d ssa/help - I noticed it was somewhat difficult to read the ssa/help output:
875
876```
877 $ go tool compile -d ssa/help
878 compile: GcFlag -d=ssa/<phase>/<flag>[=<value>]|[:<function_name>]
879 <phase> is one of:
880 check, all, build, intrinsics, early_phielim, early_copyelim
881 early_deadcode, short_circuit, decompose_user, opt, zero_arg_cse
882 opt_deadcode, generic_cse, phiopt, nilcheckelim, prove, loopbce
883 decompose_builtin, dec, late_opt, generic_deadcode, check_bce
884 writebarrier, fuse, dse, insert_resched_checks, tighten, lower
885 lowered_cse, lowered_deadcode, checkLower, late_phielim, late_copyelim
886 phi_tighten, late_deadcode, critical, likelyadjust, layout, schedule
887 late_nilcheck, flagalloc, regalloc, stackframe, trim
888 <flag> is one of on, off, debug, mem, time, test, stats, dump
889 <value> defaults to 1
890 <function_name> is required for ""dump"", specifies name of function to dump after <phase>
891 Except for dump, output is directed to standard out; dump appears in a file.
892 Phase ""all"" supports flags ""time"", ""mem"", and ""dump"".
893 Phases ""intrinsics"" supports flags ""on"", ""off"", and ""debug"".
894 Interpretation of the ""debug"" value depends on the phase.
895 Dump files are named <phase>__<function_name>_<seq>.dump.
896```
897
898With a few tweaks here and there it looks more pleasing to the eye:
899
900```
901 $ go tool compile -d ssa/help
902 compile: usage: -d=ssa/<phase>/<flag>[=<value>|<function_name>]
903
904 <phase> is one of:
905
906 check, all, build, intrinsics, early_phielim, early_copyelim, early_deadcode
907 short_circuit, decompose_user, opt, zero_arg_cse, opt_deadcode, generic_cse
908 phiopt, nilcheckelim, prove, loopbce, decompose_builtin, dec, late_opt
909 generic_deadcode, check_bce, writebarrier, fuse, dse, insert_resched_checks
910 tighten, lower, lowered_cse, lowered_deadcode, checkLower, late_phielim
911 late_copyelim, phi_tighten, late_deadcode, critical, likelyadjust, layout
912 schedule, late_nilcheck, flagalloc, regalloc, stackframe, trim
913
914 <flag> is one of on, off, debug, mem, time, test, stats, dump.
915 Phase all supports flags time, mem, and dump.
916 Phase intrinsics supports flags on, off, and debug.
917
918 <value> defaults to 1.
919
920 <function_name> is required for dump, specifies name of function to dump after <phase>.
921
922 Except for dump, output is directed to standard out; dump appears in a file.
923 Dump files are named <phase>__<function_name>_<seq>.dump.
924```",1,cmd compile improve the help message of go tool compile d ssa help i noticed it was somewhat difficult to read the ssa help output go tool compile d ssa help compile gcflag d ssa is one of check all build intrinsics early phielim early copyelim early deadcode short circuit decompose user opt zero arg cse opt deadcode generic cse phiopt nilcheckelim prove loopbce decompose builtin dec late opt generic deadcode check bce writebarrier fuse dse insert resched checks tighten lower lowered cse lowered deadcode checklower late phielim late copyelim phi tighten late deadcode critical likelyadjust layout schedule late nilcheck flagalloc regalloc stackframe trim is one of on off debug mem time test stats dump defaults to is required for dump specifies name of function to dump after except for dump output is directed to standard out dump appears in a file phase all supports flags time mem and dump phases intrinsics supports flags on off and debug interpretation of the debug value depends on the phase dump files are named dump with a few tweaks here and there it looks more pleasing to the eye go tool compile d ssa help compile usage d ssa is one of check all build intrinsics early phielim early copyelim early deadcode short circuit decompose user opt zero arg cse opt deadcode generic cse phiopt nilcheckelim prove loopbce decompose builtin dec late opt generic deadcode check bce writebarrier fuse dse insert resched checks tighten lower lowered cse lowered deadcode checklower late phielim late copyelim phi tighten late deadcode critical likelyadjust layout schedule late nilcheck flagalloc regalloc stackframe trim is one of on off debug mem time test stats dump phase all supports flags time mem and dump phase intrinsics supports flags on off and debug defaults to is required for dump specifies name of function to dump after except for dump output is directed to standard out dump appears in a file dump files are named dump ,1925745745,25998759920.0,IssuesEvent,2022-12-20 13:46:10,lukovdm/bf2-www,https://api.github.com/repos/lukovdm/bf2-www,opened,Pronouns only show when you choose non-binary option in signup form,priority: High,"This should always be an option, but leave them the option to keep it open",1.0,"Pronouns only show when you choose non-binary option in signup form - This should always be an option, but leave them the option to keep it open",0,pronouns only show when you choose non binary option in signup form this should always be an option but leave them the option to keep it open,092679738,3546323310.0,IssuesEvent,2016-01-20 01:48:12,KPB-US/tars,https://api.github.com/repos/KPB-US/tars,closed,enable/disable car rental explanation and nonbudgeted explanation,Priority - High,based on their corresponding checkboxes on the request form,1.0,enable/disable car rental explanation and nonbudgeted explanation - based on their corresponding checkboxes on the request form,0,enable disable car rental explanation and nonbudgeted explanation based on their corresponding checkboxes on the request form,0927347253,10427366251.0,IssuesEvent,2019-09-16 19:46:10,ansible/awx,https://api.github.com/repos/ansible/awx,closed,Console error thrown when selecting a credential type on a different page.,component:ui priority:medium state:in_progress type:bug,"##### ISSUE TYPE
928 - Bug Report
929
930##### COMPONENT NAME
931 - UI
932
933##### SUMMARY
934A console error is raised (with no noticeable impact to UI) when selecting a credential type that isn't on the currently selected page in pagination. To explain further...click the magnifying glass in the box for ""Credential Type"":
935
936
937Button-highlight one of the options on the first page of listed options, like ""Insights"" is selected here:
938
939
940Instead of clicking save, navigate to page 2 or 3 of the options, so that ""Insights"" is still selected but no longer visible, _then_ click save. Insights is successfully selected, but a console error propagates:
941```
942TypeError: Cannot set property '_disabled' of undefined
943 at EditCredentialsController.vm.gceOnReplaceKeyChanged (app.25b0416915d00468df69.js:29)
944 at Scope.$digest (vendor.876e40cd69678d43e470.js:570)
945 at Scope.$apply (vendor.876e40cd69678d43e470.js:570)
946 at done (vendor.876e40cd69678d43e470.js:570)
947 at completeRequest (vendor.876e40cd69678d43e470.js:570)
948 at XMLHttpRequest.xhr.onload (vendor.876e40cd69678d43e470.js:570)
949```
950
951##### ENVIRONMENT
952* AWX version: latest
953* AWX install method: docker on linux
954* Ansible version: 2.6.10.post0
955* Operating System: Fedora
956* Web Browser: Chrome
957
958##### STEPS TO REPRODUCE
959
960See summary for detailed steps.
961
962##### EXPECTED RESULTS
963No console errors.
964##### ACTUAL RESULTS
965Console errors.",1.0,"Console error thrown when selecting a credential type on a different page. - ##### ISSUE TYPE
966 - Bug Report
967
968##### COMPONENT NAME
969 - UI
970
971##### SUMMARY
972A console error is raised (with no noticeable impact to UI) when selecting a credential type that isn't on the currently selected page in pagination. To explain further...click the magnifying glass in the box for ""Credential Type"":
973
974
975Button-highlight one of the options on the first page of listed options, like ""Insights"" is selected here:
976
977
978Instead of clicking save, navigate to page 2 or 3 of the options, so that ""Insights"" is still selected but no longer visible, _then_ click save. Insights is successfully selected, but a console error propagates:
979```
980TypeError: Cannot set property '_disabled' of undefined
981 at EditCredentialsController.vm.gceOnReplaceKeyChanged (app.25b0416915d00468df69.js:29)
982 at Scope.$digest (vendor.876e40cd69678d43e470.js:570)
983 at Scope.$apply (vendor.876e40cd69678d43e470.js:570)
984 at done (vendor.876e40cd69678d43e470.js:570)
985 at completeRequest (vendor.876e40cd69678d43e470.js:570)
986 at XMLHttpRequest.xhr.onload (vendor.876e40cd69678d43e470.js:570)
987```
988
989##### ENVIRONMENT
990* AWX version: latest
991* AWX install method: docker on linux
992* Ansible version: 2.6.10.post0
993* Operating System: Fedora
994* Web Browser: Chrome
995
996##### STEPS TO REPRODUCE
997
998See summary for detailed steps.
999
1000##### EXPECTED RESULTS
1001No console errors.
1002##### ACTUAL RESULTS
1003Console errors.",0,console error thrown when selecting a credential type on a different page issue type bug report component name ui summary a console error is raised with no noticeable impact to ui when selecting a credential type that isn t on the currently selected page in pagination to explain further click the magnifying glass in the box for credential type button highlight one of the options on the first page of listed options like insights is selected here instead of clicking save navigate to page or of the options so that insights is still selected but no longer visible then click save insights is successfully selected but a console error propagates typeerror cannot set property disabled of undefined at editcredentialscontroller vm gceonreplacekeychanged app js at scope digest vendor js at scope apply vendor js at done vendor js at completerequest vendor js at xmlhttprequest xhr onload vendor js environment awx version latest awx install method docker on linux ansible version operating system fedora web browser chrome steps to reproduce see summary for detailed steps expected results no console errors actual results console errors ,0100432182,6038104812.0,IssuesEvent,2017-06-09 20:29:49,golang/go,https://api.github.com/repos/golang/go,closed,cmd/go: typo in test.go doc,Documentation NeedsFix Suggested,"In the doc string in src/cmd/go/test.go, line 65 it says: '...no arguments. It compiles...'.
1005There are two spaces before the 'It', should be only one.",1.0,"cmd/go: typo in test.go doc - In the doc string in src/cmd/go/test.go, line 65 it says: '...no arguments. It compiles...'.
1006There are two spaces before the 'It', should be only one.",1,cmd go typo in test go doc in the doc string in src cmd go test go line it says no arguments it compiles there are two spaces before the it should be only one ,1100740193,2867308955.0,IssuesEvent,2015-06-05 12:30:29,alexeyxo/protobuf-swift,https://api.github.com/repos/alexeyxo/protobuf-swift,closed,Handled case of parsing negative integers.,bug high priority,"I had to change code to get my protobuf working. I was getting an exception when deserializing negative value of type Int32.
1008
1009Along with that, in the function
1010```
1011readRawData(size:Int32)
1012```
1013below mentioned case was turning out to be true when it tries to deserialize negative integer number in function
1014
1015```
1016public func readRawData(size:Int32) -> NSData
1017```
1018
1019```
1020if (totalBytesRetired + bufferPos + size > currentLimit) {
1021```
1022
1023I had to change whole function
1024```
1025readRawVarint32()
1026```
1027to look like Java protobuf function.",1.0,"Handled case of parsing negative integers. - I had to change code to get my protobuf working. I was getting an exception when deserializing negative value of type Int32.
1028
1029Along with that, in the function
1030```
1031readRawData(size:Int32)
1032```
1033below mentioned case was turning out to be true when it tries to deserialize negative integer number in function
1034
1035```
1036public func readRawData(size:Int32) -> NSData
1037```
1038
1039```
1040if (totalBytesRetired + bufferPos + size > currentLimit) {
1041```
1042
1043I had to change whole function
1044```
1045readRawVarint32()
1046```
1047to look like Java protobuf function.",0,handled case of parsing negative integers i had to change code to get my protobuf working i was getting an exception when deserializing negative value of type along with that in the function readrawdata size below mentioned case was turning out to be true when it tries to deserialize negative integer number in function public func readrawdata size nsdata if totalbytesretired bufferpos size currentlimit i had to change whole function to look like java protobuf function ,01048362934,10735256653.0,IssuesEvent,2019-10-29 08:19:37,webcompat/web-bugs,https://api.github.com/repos/webcompat/web-bugs,closed,www.fujitsu.com - site is not usable,browser-firefox-mobile engine-gecko priority-normal type-mobify,"<!-- @browser: Firefox Mobile 68.0 -->1049<!-- @ua_header: Mozilla/5.0 (Android 9; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0 -->1050<!-- @reported_with: mobile-reporter -->1051<!-- @extra_labels: type-mobify -->1052 1053**URL**: https://www.fujitsu.com/global/about/resources/news/press-releases/2019/1015-01.html1054 1055**Browser / Version**: Firefox Mobile 68.01056**Operating System**: Android1057**Tested Another Browser**: No1058 1059**Problem type**: Site is not usable1060**Description**: without requesting the desktop view, the site appears only white 1061**Steps to Reproduce**:1062visit site on my browser
1063[](https://webcompat.com/uploads/2019/10/3b8131e3-9076-4ea1-af37-5fb58de89b74.jpeg)1064 1065<details>1066<summary>Browser Configuration</summary>1067<ul>1068 <li>gfx.webrender.all: false</li><li>gfx.webrender.blob-images: true</li><li>gfx.webrender.enabled: false</li><li>image.mem.shared: true</li><li>buildID: 20191014163636</li><li>channel: beta</li><li>hasTouchScreen: true</li><li>mixed active content blocked: false</li><li>mixed passive content blocked: false</li><li>tracking content blocked: false</li><li>hasMobify: true</li>1069</ul>1070<p>Console Messages:</p>1071<pre>1072['[JavaScript Warning: ""An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing"" {file: ""https://www.fujitsu.com/global/about/resources/news/press-releases/2019/1015-01.html"" line: 14}]', '[JavaScript Warning: ""Loading failed for the <script> with source https://cdn.mobify.com/sites/fj/production/adaptive.min.js."" {file: ""https://www.fujitsu.com/global/about/resources/news/press-releases/2019/1015-01.html"" line: 1}]']1073</pre>1074</details>1075 1076_From [webcompat.com](https://webcompat.com/) with ❤️_",1.0,"www.fujitsu.com - site is not usable - <!-- @browser: Firefox Mobile 68.0 -->1077<!-- @ua_header: Mozilla/5.0 (Android 9; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0 -->1078<!-- @reported_with: mobile-reporter -->1079<!-- @extra_labels: type-mobify -->1080 1081**URL**: https://www.fujitsu.com/global/about/resources/news/press-releases/2019/1015-01.html1082 1083**Browser / Version**: Firefox Mobile 68.01084**Operating System**: Android1085**Tested Another Browser**: No1086 1087**Problem type**: Site is not usable1088**Description**: without requesting the desktop view, the site appears only white 1089**Steps to Reproduce**:1090visit site on my browser
1091[](https://webcompat.com/uploads/2019/10/3b8131e3-9076-4ea1-af37-5fb58de89b74.jpeg)1092 1093<details>1094<summary>Browser Configuration</summary>1095<ul>1096 <li>gfx.webrender.all: false</li><li>gfx.webrender.blob-images: true</li><li>gfx.webrender.enabled: false</li><li>image.mem.shared: true</li><li>buildID: 20191014163636</li><li>channel: beta</li><li>hasTouchScreen: true</li><li>mixed active content blocked: false</li><li>mixed passive content blocked: false</li><li>tracking content blocked: false</li><li>hasMobify: true</li>1097</ul>1098<p>Console Messages:</p>1099<pre>1100['[JavaScript Warning: ""An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing"" {file: ""https://www.fujitsu.com/global/about/resources/news/press-releases/2019/1015-01.html"" line: 14}]', '[JavaScript Warning: ""Loading failed for the <script> with source https://cdn.mobify.com/sites/fj/production/adaptive.min.js."" {file: ""https://www.fujitsu.com/global/about/resources/news/press-releases/2019/1015-01.html"" line: 1}]']1101</pre>1102</details>1103 1104_From [webcompat.com](https://webcompat.com/) with ❤️_",0, site is not usable url browser version firefox mobile operating system android tested another browser no problem type site is not usable description without requesting the desktop view the site appears only white steps to reproduce visit site on my browser browser configuration gfx webrender all false gfx webrender blob images true gfx webrender enabled false image mem shared true buildid channel beta hastouchscreen true mixed active content blocked false mixed passive content blocked false tracking content blocked false hasmobify true console messages from with ❤️ ,01105711006,24446960648.0,IssuesEvent,2022-10-06 18:51:00,google/ground-android,https://api.github.com/repos/google/ground-android,opened,[Code health] Convert all `@Singleton`s to Kotlin `object`s,type: cleanup priority: p2,"Kotlin has nice native support for declaring singletons using `object` declarations. Unfortunately, Dagger does not support injecting classes into `objects`, which at the moment pretty much prevents us from using an object for any construct that needs to depend on classes we'd normally inject.
1106
1107If we convert all the classes we've currently marked as `@Singleton` into `objects` we can drop the several injections which should make kotlin code easier to refactor.",1.0,"[Code health] Convert all `@Singleton`s to Kotlin `object`s - Kotlin has nice native support for declaring singletons using `object` declarations. Unfortunately, Dagger does not support injecting classes into `objects`, which at the moment pretty much prevents us from using an object for any construct that needs to depend on classes we'd normally inject.
1108
1109If we convert all the classes we've currently marked as `@Singleton` into `objects` we can drop the several injections which should make kotlin code easier to refactor.",0, convert all singleton s to kotlin object s kotlin has nice native support for declaring singletons using object declarations unfortunately dagger does not support injecting classes into objects which at the moment pretty much prevents us from using an object for any construct that needs to depend on classes we d normally inject if we convert all the classes we ve currently marked as singleton into objects we can drop the several injections which should make kotlin code easier to refactor ,0111026718,5282807590.0,IssuesEvent,2017-02-07 19:46:38,golang/go,https://api.github.com/repos/golang/go,closed,runtime/pprof: document the requirement to wait to capture any CPU profile samples,Documentation,"Package's godoc example starts the CPU profiling and defers pprof.StopCPUProfile, but it fails to document that the function need to spend sometime before returning in order for any samples to be collected. We might want to add a time.Sleep to make it more obvious and document it throughly that time is required to collect samples.
1111
1112```
1113if err := pprof.StartCPUProfile(f); err != nil {
1114 log.Fatal(""could not start CPU profile: "", err)
1115}
1116defer pprof.StopCPUProfile()
1117```",1.0,"runtime/pprof: document the requirement to wait to capture any CPU profile samples - Package's godoc example starts the CPU profiling and defers pprof.StopCPUProfile, but it fails to document that the function need to spend sometime before returning in order for any samples to be collected. We might want to add a time.Sleep to make it more obvious and document it throughly that time is required to collect samples.
1118
1119```
1120if err := pprof.StartCPUProfile(f); err != nil {
1121 log.Fatal(""could not start CPU profile: "", err)
1122}
1123defer pprof.StopCPUProfile()
1124```",1,runtime pprof document the requirement to wait to capture any cpu profile samples package s godoc example starts the cpu profiling and defers pprof stopcpuprofile but it fails to document that the function need to spend sometime before returning in order for any samples to be collected we might want to add a time sleep to make it more obvious and document it throughly that time is required to collect samples if err pprof startcpuprofile f err nil log fatal could not start cpu profile err defer pprof stopcpuprofile ,1112582545,10295314096.0,IssuesEvent,2019-08-27 20:54:09,golang/go,https://api.github.com/repos/golang/go,closed,net: document where service names come from?,Documentation NeedsFix Suggested help wanted,"Found in `net/http/server.go`:
1126
1127```
1128type Server struct {
1129 Addr string // TCP address to listen on, "":http"" if empty
1130```
1131
1132What is this "":http"" exactly? Presumably an alias, but I can't find any concrete documentation to know what it resolves to.
1133
1134https://github.com/golang/go/blob/964fe4b80ff7a9e5490f11de0e216ae34a019ebc/src/net/http/server.go#L2477",1.0,"net: document where service names come from? - Found in `net/http/server.go`:
1135
1136```
1137type Server struct {
1138 Addr string // TCP address to listen on, "":http"" if empty
1139```
1140
1141What is this "":http"" exactly? Presumably an alias, but I can't find any concrete documentation to know what it resolves to.
1142
1143https://github.com/golang/go/blob/964fe4b80ff7a9e5490f11de0e216ae34a019ebc/src/net/http/server.go#L2477",1,net document where service names come from found in net http server go type server struct addr string tcp address to listen on http if empty what is this http exactly presumably an alias but i can t find any concrete documentation to know what it resolves to ,1114441707,6927746650.0,IssuesEvent,2017-12-01 00:25:54,golang/go,https://api.github.com/repos/golang/go,closed,testing: are T.Run and B.Run safe for concurrent use?,Documentation NeedsFix release-blocker,"I do not see any documentation specifying if T.Run is safe for concurrent use. I see the following doc for [testing.T](https://tip.golang.org/pkg/testing/#T), which does not mention T.Run:
1145
1146> A test ends when its Test function returns or calls any of the methods FailNow, Fatal, Fatalf, SkipNow, Skip, or Skipf. Those methods, as well as the Parallel method, must be called only from the goroutine running the Test function.
1147>
1148> The other reporting methods, such as the variations of Log and Error, may be called simultaneously from multiple goroutines.
1149
1150There is a similar doc for [testing.B](https://tip.golang.org/pkg/testing/#B).
1151
1152I ask because I believe T.Run was safe for concurrent use in go 1.7. Then, [this line](https://github.com/golang/go/blob/7fb16406139e934d84f7ec66ba440a772747270a/src/testing/testing.go#L663) was added in go 1.8, which made T.Run no longer safe for concurrent use. I don't particularly care whether T.Run is safe for concurrent use, but I think the semantics should be clarified.
1153
1154Optimistically labeling this go1.8.
1155
1156/cc @dsnet ",1.0,"testing: are T.Run and B.Run safe for concurrent use? - I do not see any documentation specifying if T.Run is safe for concurrent use. I see the following doc for [testing.T](https://tip.golang.org/pkg/testing/#T), which does not mention T.Run:
1157
1158> A test ends when its Test function returns or calls any of the methods FailNow, Fatal, Fatalf, SkipNow, Skip, or Skipf. Those methods, as well as the Parallel method, must be called only from the goroutine running the Test function.
1159>
1160> The other reporting methods, such as the variations of Log and Error, may be called simultaneously from multiple goroutines.
1161
1162There is a similar doc for [testing.B](https://tip.golang.org/pkg/testing/#B).
1163
1164I ask because I believe T.Run was safe for concurrent use in go 1.7. Then, [this line](https://github.com/golang/go/blob/7fb16406139e934d84f7ec66ba440a772747270a/src/testing/testing.go#L663) was added in go 1.8, which made T.Run no longer safe for concurrent use. I don't particularly care whether T.Run is safe for concurrent use, but I think the semantics should be clarified.
1165
1166Optimistically labeling this go1.8.
1167
1168/cc @dsnet ",1,testing are t run and b run safe for concurrent use i do not see any documentation specifying if t run is safe for concurrent use i see the following doc for which does not mention t run a test ends when its test function returns or calls any of the methods failnow fatal fatalf skipnow skip or skipf those methods as well as the parallel method must be called only from the goroutine running the test function the other reporting methods such as the variations of log and error may be called simultaneously from multiple goroutines there is a similar doc for i ask because i believe t run was safe for concurrent use in go then was added in go which made t run no longer safe for concurrent use i don t particularly care whether t run is safe for concurrent use but i think the semantics should be clarified optimistically labeling this cc dsnet ,1116924695,12371582883.0,IssuesEvent,2020-05-18 18:49:38,modin-project/modin,https://api.github.com/repos/modin-project/modin,closed,Everything after DataFrame.sample() running out of memory,Performance 🚀 bug :bug:,"### System information
1170- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**: Linux (remote machine)
1171- **Modin version** (`modin.__version__`): 0.7.0
1172- **Python version**: 3.7
1173- **Code we can use to reproduce**:
1174```python
1175import modin.pandas as pd
1176
1177# read data files
1178df1 = pd.read_parquet(""data1.parquet"")
1179df2 = pd.read_parquet(""data2.parquet"")
1180
1181# do some operations
1182df = pd.merge(df1, df2, right_index=True, left_index=True, sort=False)
1183
1184# write out the result
1185df.to_parquet(""new_data.parquet"")
1186
1187# but if you sample down
1188df = df.sample(n=10000, random_state=42)
1189
1190# then do anything after it, nothing works
1191df.to_parquet(""new_data2.parquet"") #<-- doesn't complete
1192```
1193<!--
1194You can obtain the Modin version with
1195
1196python -c ""import modin; print(modin.__version__)""
1197-->
1198
1199### Describe the problem
1200<!-- Describe the problem clearly here. -->
