83d44096d850acd386dd466d377d0b5ee2cc0be5,qcengine/config.py,,,#,16
Before Change
_logger.setLevel(logging.CRITICAL)
// Handle CI special case
if "travisci" in _globals["hostname"]:
_globals["count"] = 1
_globals["default_compute"]["jobs_per_node"] = 1
def _process_variables(var):
// Environmental var
if isinstance(var, str) and var.startswith("$"):
var = var.lstrip("$")
After Change
// We want physical cores
if hasattr(psutil.Process(), "cpu_affinity"):
cpu_cnt = len(psutil .Process().cpu_affinity())
else:
cpu_cnt = psutil.cpu_count(logical=False)
if cpu_cnt is None:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: MolSSI/QCEngine
Commit Name: 83d44096d850acd386dd466d377d0b5ee2cc0be5
Time: 2018-06-30
Author: malorian@me.com
File Name: qcengine/config.py
Class Name:
Method Name:
Project Name: kengz/SLM-Lab
Commit Name: 275856246e6823b941ca16358b06828e2b40e854
Time: 2019-05-11
Author: kengzwl@gmail.com
File Name: run_lab.py
Class Name:
Method Name: run_by_mode
Project Name: erikbern/ann-benchmarks
Commit Name: 71c747c0b3a1a99ab084cc206e7f5fe125f32654
Time: 2017-12-17
Author: mail@erikbern.com
File Name: ann_benchmarks/algorithms/base.py
Class Name: BaseANN
Method Name: get_index_size