Home
last modified time | relevance | path

Searched refs:backend_options (Results 1 – 23 of 23) sorted by relevance

/external/executorch/backends/qualcomm/tests/
Dtest_qnn_delegate.py67 backend_options = generate_htp_compiler_spec(use_fp16=True)
70 backend_options=backend_options,
528 backend_options = generate_htp_compiler_spec(use_fp16=True)
531 backend_options=backend_options,
680 backend_options = generate_htp_compiler_spec(use_fp16=False)
683 backend_options=backend_options,
1271 backend_options = generate_htp_compiler_spec(use_fp16=False)
1274 backend_options=backend_options,
1479 backend_options = generate_htp_compiler_spec(use_fp16=True)
1482 backend_options=backend_options,
[all …]
/external/executorch/backends/qualcomm/runtime/backends/
DQnnBackendFactory.cpp23 switch (options->backend_options()->backend_type()) { in Create()
25 auto htp_options = options->backend_options()->htp_options(); in Create()
92 options->backend_options()->backend_type()) == Error::Ok) { in Create()
/external/executorch/examples/qualcomm/scripts/
Dexport_example.py78 backend_options = generate_htp_compiler_spec(
84 backend_options=backend_options,
Dmobilebert_fine_tune.py275 backend_options = generate_htp_compiler_spec(quant_dtype is not None)
279 backend_options=backend_options,
/external/executorch/backends/qualcomm/utils/
Dutils.py227 options.backend_options.backend_type
229 and options.backend_options.htp_options.use_multi_contexts
268 options.backend_options.htp_options.max_sf_buf_size = max_sf_buf_size
593 htp_options = compile_option.backend_options.htp_options
693 backend_options = generate_htp_compiler_spec(use_fp16=False)
696 backend_options=backend_options,
855 backend_options: QnnExecuTorchBackendOptions,
915 _soc_info_table[soc_model], backend_options
940 and backend_options.backend_type == QnnExecuTorchBackendType.kHtpBackend
941 and backend_options.htp_options.use_multi_contexts
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dbackend.cc102 BackendOptions backend_options; in CreateDefaultBackend() local
103 backend_options.set_platform(platform); in CreateDefaultBackend()
104 return CreateBackend(backend_options); in CreateDefaultBackend()
Dlocal_service.cc54 BackendOptions backend_options; in NewService() local
55 backend_options.set_platform(platform) in NewService()
60 Backend::CreateBackend(backend_options)); in NewService()
Dhlo_runner.cc38 BackendOptions backend_options; in HloRunner() local
39 backend_options.set_platform(platform); in HloRunner()
40 backend_options.set_intra_op_parallelism_threads( in HloRunner()
42 backend_ = Backend::CreateBackend(backend_options).value(); in HloRunner()
Dservice.cc152 BackendOptions backend_options; in NewService() local
153 backend_options.set_platform(platform); in NewService()
154 backend_options.set_allowed_devices(options.allowed_devices()); in NewService()
155 TF_ASSIGN_OR_RETURN(execute_backend, Backend::CreateBackend(backend_options)); in NewService()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dllvm_compiler_test.cc81 BackendOptions backend_options; in SetUp() local
82 backend_options.set_platform(platform); in SetUp()
84 Backend::CreateBackend(backend_options); in SetUp()
/external/executorch/examples/qualcomm/qaihub_scripts/llama/llama3/
Dqaihub_llama3_8b.py48 backend_options = generate_htp_compiler_spec(
54 backend_options=backend_options,
/external/executorch/examples/qualcomm/qaihub_scripts/llama/llama2/
Dqaihub_llama2_7b.py47 backend_options = generate_htp_compiler_spec(
53 backend_options=backend_options,
/external/executorch/examples/qualcomm/qaihub_scripts/stable_diffusion/
Dqaihub_stable_diffusion.py358 backend_options = generate_htp_compiler_spec(
364 backend_options=backend_options,
/external/pytorch/torch/distributed/
Drendezvous.py112 def _create_store_from_options(backend_options, rank): argument
113 store, _, _ = next(_rendezvous_helper(backend_options.init_method, rank, None))
/external/executorch/examples/qualcomm/qaihub_scripts/utils/
Dexport.py214 backend_options = generate_htp_compiler_spec(use_fp16=False)
218 backend_options=backend_options,
/external/executorch/examples/qualcomm/oss_scripts/llama3_2/
Dllama.py197 backend_options = generate_htp_compiler_spec(use_fp16=use_fp16)
200 backend_options=backend_options,
/external/executorch/examples/qualcomm/
Dutils.py279 backend_options = generate_htp_compiler_spec(
285 backend_options=backend_options,
/external/executorch/examples/qualcomm/oss_scripts/llama2/
Dllama.py312 backend_options = generate_htp_compiler_spec(use_fp16=False)
315 backend_options=backend_options,
/external/executorch/backends/qualcomm/serialization/
Dqc_schema.py139 backend_options: QnnExecuTorchBackendOptions
Dqc_compiler_spec.fbs162 backend_options:QnnExecuTorchBackendOptions;
/external/executorch/extension/llm/export/
Dpartitioner_lib.py185 backend_options=generate_htp_compiler_spec(
/external/executorch/backends/qualcomm/runtime/
DQnnManager.cpp55 options->backend_options()->backend_type(); in QnnManager()
164 options_->backend_options()->backend_type())); in RegisterMem()
286 options_->backend_options()->backend_type()); in Init()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dmhlo_to_lhlo_with_xla.cc131 xla::BackendOptions backend_options; in OptimizeAndConvertHloToLmhlo() local
132 backend_options.set_platform(platform.ValueOrDie()); in OptimizeAndConvertHloToLmhlo()
133 auto backend_or_err = xla::Backend::CreateBackend(backend_options); in OptimizeAndConvertHloToLmhlo()