Random seeding overhaul
未关闭
- 主要语言
- Python
- 星标
- 23
- 派生
- 28
- 平均合并
- 4 天 12 小时
- 30 天内合并 PR
- 5
描述
Right now setting the random_seed parameter in the audit config does nothing, the only part of the code base that seeds everything is using the optuna seed at the start of optuna trials.
Ideally it should seed everything when:
- Starting an audit
- Starting an attack (preferred for reproducability when some results are already run)
Also, the current seed_everything function used by optuna is problematic in two ways:
- Deterministic cudnn is not necessary for most models and usually slows down training/inference by some 30% (in some cases 100x slower)
- Setting cudnn in benchmarking mode has nothing to do with seeding, but is generally good for performance
贡献指南
评估
这个 Issue 还没有评估数据。