GitShow/facebook/FAI-PEP
facebook

FAI-PEP

Facebook AI Performance Evaluation Platform

by facebook
Star on GitHubFork

Python

394 stars88 forks72 contributorsActive · 1mo agoSince 2017Apache-2.0

Meet the team

See all 72 on GitHub →
sf-wind
sf-wind267 contributions
hl475
hl475133 contributions
ASankaran
ASankaran32 contributions
lly-zero-one
lly-zero-one29 contributions
hlu1
hlu128 contributions
Fightforcoding
Fightforcoding9 contributions
virtan
virtan7 contributions
jteller
jteller6 contributions

Languages

View on GitHub →
Python96.4%
Shell1.3%
HTML0.9%
JavaScript0.9%
CSS0.4%
Batchfile0.1%

Commit activity

Last 12 weeks · 2 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
75
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · Last activity 1mo ago
See all on GitHub →
rootkiller6788
Fix IndexError in ADB.getBatteryProp when sysfs entry is missingOpenPR

Summary (benchmarking/platforms/android/adb.py) crashes with when the sysfs battery entry does not exist on a rooted device. Root cause The existence guard was: The test command prints nothing on stdout; returns the captured output list, so this returns both when the file exists and when it does not. is always truthy, so the guard never prevented the , and indexing on the empty result of a failed raises . This is reachable through (battery profiling) and . On a rooted device without entries, the perfetto battery check crashes instead of cleanly reporting the device as unsupported. Fix Read the property with and return an empty string when the command produces no output, which is what the documented return type and all callers already expect: Added unit tests covering the file-exists, file-missing, and non-root cases.

rootkiller6788 · 2d ago
vmpuri
Do not fail job if subprocess called with ignore_status argumentOpenPR

Summary: Jobs should not be marked as failed if a subprocess has Or if "silent" is True Reviewed By: KarlSimonsen Differential Revision: D36103193

vmpuri · 1y ago
MarkAndersonIX
Log exception information when device check errorsOpenPR

Summary: Use exception logging to print trace information when an exception occurs in _checkDevices. Reviewed By: axitkhurana Differential Revision: D29171898

MarkAndersonIX · 2y ago

Recent fixes

View closed PRs →
bowiechen
Replace usage of deprecated `distutils.(file|dir)_util`MergedPR

Summary: has been deprecated since Python 3.10, and removed in Python 3.12. Existing usage will now raise the following error under Python 3.12+: This diff replaces usage according to PEP-632 migration advice. I generated this diff by looking for all usages of and replaced them with . These should be close to drop-in replacements! Differential Revision: D73804939

bowiechen · 1y ago
pixeeai
Limit readline() MergedPR

This codemod hardens all calls from file objects returned from an call, and against denial of service attacks. A stream influenced by an attacker could keep providing bytes until the system runs out of memory, causing a crash. Fixing it is straightforward by providing adding a size argument to any calls. The changes from this codemod look like this: More reading https://cwe.mitre.org/data/definitions/400.html Powered by: pixeebot (codemod ID: pixee:python/limit-readline) !

pixeeai · 1y ago
navsud
Update post-processing logicMergedPR

Summary: Currently the post-processing needs to know the threshold and window-size to find the start/end of the benchmark window. This new post-processing logic removes the need for those two parameters. removed energy, which is not used at all. changed latency to ms (from us) to be consistent with the other metrics (mW) added baseline_power output, to see how it changes over time. Reviewed By: ayushidalmia Differential Revision: D54669432

navsud · 2y ago
Structured data for AI agents

Repository: facebook/FAI-PEP. Description: Facebook AI Performance Evaluation Platform Stars: 394, Forks: 88. Primary language: Python. Languages: Python (96.4%), Shell (1.3%), HTML (0.9%), JavaScript (0.9%), CSS (0.4%). License: Apache-2.0. Open PRs: 35, open issues: 11. Last activity: 1mo ago. Community health: 75%. Top contributors: sf-wind, hl475, ASankaran, lly-zero-one, hlu1, Fightforcoding, virtan, jteller, pritamdamania87, nsubedi11 and others.

·@ofershap

Replace github.com with gitshow.dev