profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/muddydixon/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

pull request commentfacebookincubator/BOLT

[BOLT] Fix issue #160

Thanks @Sameeranjoshi! Let me import this.

Sameeranjoshi

comment created time in 10 minutes

startedkyoh86/richgo

started time in 15 hours

issue closedfacebookincubator/BOLT

[Question] Interpretation of multiple files from `-dump-dot-all` .

I was trying to dump the CFG from bolt and was trying to analyze it visually using below command. llvm-bolt -dump-dot-all test.clang.out -o test.clang.bolt

I see too many *.dot files generated, while I was trying to analyze what does each file do, I see that there are many files for the same function(int main in my binary).

 main-00_build-cfg.dot
 main-01_validate-internal-calls.dot
 main-02_strip-rep-ret.dot
'main-12_PLT call optimization.dot'
 main-15_split-functions.dot
 main-16_fix-branches.dot
 main-17_reorder-functions.dot
 main-21_peepholes.dot
 main-22_aligner.dot
 main-23_reorder-data.dot
 main-24_finalize-functions.dot
 main-27_retpoline-insertion.dot
 main-28_assign-sections.dot
 main-29_patch-entries.dot
 main-30_inst-lowering.dot
 main-31_lower-annotations.dot

Does this mean the following optimizations passes have run on main function? What do the numbers prefixing the optimization name signify ? When trying to see what's the different with these files, I see no change in the files(verified using vimdiff command), so why too many files?

closed time in 15 hours

Sameeranjoshi

pull request commentfacebookincubator/BOLT

[BOLT] Fix issue #160

Ping! I have signed the CLA.

Sameeranjoshi

comment created time in 15 hours

pull request commentfacebookincubator/BOLT

Fdata: Add quotes to function names

Could you please add more details, I don't quite understand how the new format will look..

The only extension/fix is the support for escaping characters in the name with backslash. I.e. function\ name, would be properly handled for golang.

yota9

comment created time in 18 hours

pull request commentfacebookincubator/BOLT

Fdata: Add quotes to function names

we should support names with double quotes as well as space. I agree, although

Escaping space in a symbol name with a backslash might be the most straightforward way to add the extend the fdata format. Could you please add more details, I don't quite understand how the new format will look..

About the slash character - I will double check it soon. However, I don't know limitations that could forbid the usage of slash character in the name :)

yota9

comment created time in 19 hours

pull request commentfacebookincubator/BOLT

Fdata: Add quotes to function names

Is it possible to include double quotes in the real symbol name as well? I've tried to find if a name with double quotes would constitute a valid name in ELF and couldn't find any rule against it. Plus, we don't want to limit ourselves to ELF. In such case, we should support names with double quotes as well as space. Escaping space in a symbol name with a backslash might be the most straightforward way to add the extend the fdata format. We will also get close to full backwards compatibility automatically.

Is the slash character ("/") in the example you gave ("type..eq.[10]interface {}/") part of the valid golang symbol name? If that's the case, we might need to redesign the way we disambiguate local symbols.

yota9

comment created time in 19 hours

release liquidz/vim-iced

3.5.0

released time in 21 hours

issue commentchainer/chainer

AttributeError: 'Adam' object has no attribute 'zero_grads'

For those like me that had the same issue and have landed here : there is no zero_grads(), you should write zero_grad() instead.

ali3assi

comment created time in a day

PR opened yosuke-furukawa/stubcell

Update dependency mocha to v9

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mocha (source) 8.1.0 -> 9.0.0 age adoption passing confidence

Release Notes

<details> <summary>mochajs/mocha</summary>

v9.0.0

Compare Source

:boom: Breaking Changes

Mocha is going ESM-first! This means that it will now use ESM import(test_file) to load the test files, instead of the CommonJS require(test_file). This is not a problem, as import can also load most files that require does. In the rare cases where this fails, it will fallback to require(...). This ESM-first approach is the next step in Mocha's ESM migration, and allows ESM loaders to load and transform the test file.

:tada: Enhancements

:bug: Fixes

:nut_and_bolt: Other

v8.4.0

Compare Source

:tada: Enhancements

:bug: Fixes

:book: Documentation

Also thanks to @​outsideris for various improvements on our GH actions workflows.

v8.3.2

Compare Source

:bug: Fixes

:book: Documentation

v8.3.1

Compare Source

:bug: Fixes

v8.3.0

Compare Source

:tada: Enhancements

:bug: Fixes

:book: Documentation

:nut_and_bolt: Other

Also thanks to @​outsideris and @​HyunSangHan for various fixes to our website and documentation.

v8.2.1

Compare Source

Fixed stuff.

:bug: Fixes

  • #​4489: Fix problematic handling of otherwise-unhandled Promise rejections and erroneous "done() called twice" errors (@​boneskull)
  • #​4496: Avoid MaxListenersExceededWarning in watch mode (@​boneskull)

Also thanks to @​akeating for a documentation fix!

v8.2.0

Compare Source

The major feature added in v8.2.0 is addition of support for global fixtures.

While Mocha has always had the ability to run setup and teardown via a hook (e.g., a before() at the top level of a test file) when running tests in serial, Mocha v8.0.0 added support for parallel runs. Parallel runs are incompatible with this strategy; e.g., a top-level before() would only run for the file in which it was defined.

With global fixtures, Mocha can now perform user-defined setup and teardown regardless of mode, and these fixtures are guaranteed to run once and only once. This holds for parallel mode, serial mode, and even "watch" mode (the teardown will run once you hit Ctrl-C, just before Mocha finally exits). Tasks such as starting and stopping servers are well-suited to global fixtures, but not sharing resources--global fixtures do not share context with your test files (but they do share context with each other).

Here's a short example of usage:

// fixtures.js

// can be async or not
exports.mochaGlobalSetup = async function() {
  this.server = await startSomeServer({port: process.env.TEST_PORT});
  console.log(`server running on port ${this.server.port}`);
};

exports.mochaGlobalTeardown = async function() {
  // the context (`this`) is shared, but not with the test files
  await this.server.stop();
  console.log(`server on port ${this.server.port} stopped`);
};

// this file can contain root hook plugins as well!
// exports.mochaHooks = { ... }

Fixtures are loaded with --require, e.g., mocha --require fixtures.js.

For detailed information, please see the documentation and this handy-dandy flowchart to help understand the differences between hooks, root hook plugins, and global fixtures (and when you should use each).

:tada: Enhancements

For implementors of custom reporters:

  • #​4409: Parallel mode and custom reporter improvements (@​boneskull):
    • Support custom worker-process-only reporters (Runner.prototype.workerReporter()); reporters should subclass ParallelBufferedReporter in mocha/lib/nodejs/reporters/parallel-buffered
    • Allow opt-in of object reference matching for "sufficiently advanced" custom reporters (Runner.prototype.linkPartialObjects()); use if strict object equality is needed when consuming Runner event data
    • Enable detection of parallel mode (Runner.prototype.isParallelMode())

:bug: Fixes

  • #​4476: Workaround for profoundly bizarre issue affecting npm v6.x causing some of Mocha's deps to be installed when mocha is present in a package's devDependencies and npm install --production is run the package's working copy (@​boneskull)
  • #​4465: Worker processes guaranteed (as opposed to "very likely") to exit before Mocha does; fixes a problem when using nyc with Mocha in parallel mode (@​boneskull)
  • #​4419: Restore lookupFiles() in mocha/lib/utils, which was broken/missing in Mocha v8.1.0; it now prints a deprecation warning (use const {lookupFiles} = require('mocha/lib/cli') instead) (@​boneskull)

Thanks to @​AviVahl, @​donghoon-song, @​ValeriaVG, @​znarf, @​sujin-park, and @​majecty for other helpful contributions!

v8.1.3

Compare Source

:bug: Fixes

  • #​4425: Restore Mocha.utils.lookupFiles() and Webpack compatibility (both broken since v8.1.0); Mocha.utils.lookupFiles() is now deprecated and will be removed in the next major revision of Mocha; use require('mocha/lib/cli').lookupFiles instead (@​boneskull)

v8.1.2

Compare Source

:bug: Fixes

:lock: Security Fixes

:book: Documentation

v8.1.1

Compare Source

:bug: Fixes

  • #​4394: Fix regression wherein certain reporters did not correctly detect terminal width (@​boneskull)

</details>


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

+270 -339

0 comment

2 changed files

pr created time in a day

create barnchyosuke-furukawa/stubcell

branch : renovate/mocha-9.x

created branch time in a day

startedjohackim/gatsby-remark-obsidian

started time in 3 days

startedfabiolb/fabio

started time in 3 days

startednix-community/home-manager

started time in 3 days

startedDBCDK/morph

started time in 3 days

startedgoogle-github-actions/release-please-action

started time in 3 days

startedinfobloxopen/protoc-gen-gorm

started time in 3 days

issue openedarXivTimes/arXivTimes

Drawing Multiple Augmentation Samples Per Image During Training Efficiently Decreases Test Error

一言でいうと

1サンプルをどこまでデータ拡張で増やしてよいか検証した研究。データ拡張を行うほど精度が高く、学習時間が短くなることを確認。16倍の拡張でImageNetのSOTAを記録(モデルはNFNet-F5、最適化手法はSAM)。データ全体の分散は下がるが、個々サンプルの分散は上がることに拠る

論文リンク

https://arxiv.org/abs/2105.13343

著者/所属機関

Stanislav Fort, Andrew Brock, Razvan Pascanu, Soham De, Samuel L. Smith

  • Stanford University
  • DeepMind

投稿日付(yyyy/MM/dd)

2021/5/27

概要

新規性・差分

手法

結果

コメント

created time in 4 days

issue openedarXivTimes/arXivTimes

SAINT: Improved Neural Networks for Tabular Data via Row Attention and Contrastive Pre-Training

一言でいうと

テーブルデータの予測にTransformer x 事前学習を活用した研究。通常のSelf-Attentionに加えサンプル表現間のSelf-Attention(Intersample Attention)を使用。入力にCutMix/潜在表現にMixupを適用し、対照とノイズ復元、2種の損失で学習を行う。Boosting既存手法より高い精度

論文リンク

https://arxiv.org/abs/2106.01342

著者/所属機関

Gowthami Somepalli, Micah Goldblum, Avi Schwarzschild, C. Bayan Bruss, Tom Goldstein

投稿日付(yyyy/MM/dd)

2021/6/2

概要

新規性・差分

手法

結果

コメント

created time in 4 days

issue openedarXivTimes/arXivTimes

Towards General Purpose Vision Systems

一言でいうと

1モデルで画像/言語双方のタスクを解く手法の提案。画像と画像に関する質問を入力とし、質問に関連する物体領域と回答を出力とする。マルチタスクで学習することで、各タスク専門のモデルより良好な精度を達成。また、破壊的忘却も起こりにくくなる。

image

論文リンク

https://arxiv.org/abs/2104.00743

著者/所属機関

Tanmay Gupta, Amita Kamath, Aniruddha Kembhavi, Derek Hoiem

  • PRIOR @ Allen Institute for AI
  • University of Illinois at Urbana-Champaign

投稿日付(yyyy/MM/dd)

2021/4/1

概要

新規性・差分

手法

結果

コメント

created time in 4 days

release d3/d3

v7.0.0

released time in 4 days

pull request commentfacebookincubator/BOLT

Fdata: Add quotes to function names

The old fdata files might be fixed using simple awk script: awk '{$2 = "\""$2"\""; $5 = "\""$5"\"";print}' prof.fdata

yota9

comment created time in 4 days

Pull request review commentfacebookincubator/BOLT

Fdata: Add quotes to function names

 ErrorOr<Location> DataReader::parseLocation(char EndChar,   consumeAllRemainingFS();    // Read the string containing the symbol or the DSO name-  ErrorOr<StringRef> NameRes = parseString(FieldSeparator);+  if (!expectAndConsumeNS())

If it is necessary we can remove this error and use parseString(NameSeparator) if NameSeparator was found and FieldSeparator if it was not. But if it possible for for you @rafaelauler to replace old fdata you use without quotes with new one - I suggest just to use new variant.

yota9

comment created time in 4 days

release d3/d3-zoom

v3.0.0

released time in 4 days

PR opened facebookincubator/BOLT

Fdata: Add quotes to function names

This patch is part of preparation for golang support. The golang symbols might have spaces in the name (for example "type..eq.[10]interface {}/"). Since fdata uses spaces as field separator such names brakes fdata format, so I suggest to use quotes for symbol names to avoid such errors.

Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei

+86 -69

0 comment

16 changed files

pr created time in 4 days

PR closed facebookincubator/BOLT

Fix debug-fission-single test CLA Signed

Add forgotten cflags Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei

+81381 -61

2 comments

249 changed files

yota9

pr closed time in 4 days

release d3/d3-geo-projection

v4.0.0

released time in 4 days

startedgitobsidiantutorial/obsidian-tabs

started time in 4 days

release plotdb/layout

v0.0.9

released time in 4 days