DeepSpeed/tests
Logan Adams 2e0c39b55c
Add explicit parameters for torch.load (#6751)
Successor PR to #6094:

> FutureWarning: You are using torch.load with weights_only=False (the
current default value), which uses the default pickle module implicitly.
It is possible to construct malicious pickle data which will execute
arbitrary code during unpickling (See
https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models
for more details). In a future release, the default value for
weights_only will be flipped to True. This limits the functions that
could be executed during unpickling. Arbitrary objects will no longer be
allowed to be loaded via this mode unless they are explicitly
allowlisted by the user via torch.serialization.add_safe_globals. We
recommend you start setting weights_only=True for any use case where you
don't have full control of the loaded file. Please open an issue on
GitHub for any issues related to this experimental feature.

Todo:
- [ ] Update values in non-test files to True where necessary.
2024-11-19 11:09:52 -08:00
..
accelerator Update DeepSpeed copyright license to Apache 2.0 (#3111) 2023-03-30 17:14:38 -07:00
benchmarks Fix the openfold training. (#4657) 2023-11-09 02:04:12 +00:00
hybrid_engine DeepSpeed Chat (#3186) 2023-04-11 11:53:38 -07:00
lightning Update DeepSpeed copyright license to Apache 2.0 (#3111) 2023-03-30 17:14:38 -07:00
model Sanitize inputs to eval() (#6745) 2024-11-13 09:04:56 -08:00
onebit Add Compressedbackend for Onebit optimizers (#5473) 2024-06-05 20:28:46 +00:00
perf CPUAdam fp16 and bf16 support (#5409) 2024-05-20 12:50:20 +00:00
small_model_debugging Guanhua/partial offload rebase v2 (#590) (#4636) 2023-11-06 14:15:16 -08:00
torch_compile [compile] Show breakdown of graph break (#6601) 2024-10-14 17:31:34 +00:00
unit Add explicit parameters for torch.load (#6751) 2024-11-19 11:09:52 -08:00
.coveragerc Reduce Unit Test Times (Part 3) (#3850) 2023-07-12 00:35:49 +00:00
conftest.py Reduce Unit Test Times (Part 3) (#3850) 2023-07-12 00:35:49 +00:00
pytest.ini Inference V2 Human Eval (#4804) 2024-02-22 22:55:40 +00:00