MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / extra_ldflags

Method extra_ldflags

op_builder/fp_quantizer.py:27–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

25 ]
26
27 def extra_ldflags(self):
28 if not self.is_rocm_pytorch():
29 return ['-lcurand']
30 else:
31 return []
32
33 def include_paths(self):
34 return ['csrc/fp_quantizer/includes', 'csrc/includes']

Callers

nothing calls this directly

Calls 1

is_rocm_pytorchMethod · 0.80

Tested by

no test coverage detected