MCPcopy Index your code
hub / github.com/deepspeedai/DeepSpeed / get_test_path

Function get_test_path

tests/unit/common.py:506–508  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

504
505
506def get_test_path(filename):
507 curr_path = Path(__file__).parent
508 return str(curr_path.joinpath(filename))
509
510
511# bf16 > fp16 > fp32

Callers 3

testMethod · 0.90
get_gpt2_modelFunction · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by 1

testMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…