-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMakeLists.txt
476 lines (434 loc) · 18 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
###############################################################################
#
# Copyright (c) 2021-2025 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###############################################################################
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
if(POLICY CMP0076)
cmake_policy(SET CMP0076 OLD)
endif()
include(CMakeDependentOption)
project(habana_pytorch_plugin VERSION 0.8.0 LANGUAGES CXX)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_STANDARD 17)
option(SANITIZER "build sanitizer configuration" OFF)
cmake_dependent_option(THREAD_SANITIZER "build thread sanitizer configuration" OFF "NOT SANITIZER" OFF)
option(MANYLINUX "build for manylinux configuration, synapse shim will be used" ON)
option(UPSTREAM_COMPILE "build for pytorch-fork upstream branch" OFF)
if(MANYLINUX)
message(STATUS "Building with shim layer")
set(PYTORCH_SYNAPSE_UTILS_LIB pytorch_synapse_utils_shim)
else()
message(STATUS "Building without shim layer")
set(PYTORCH_SYNAPSE_UTILS_LIB SynapseUtils)
endif()
if(UPSTREAM_COMPILE)
message(STATUS "Building with upstream torch")
add_definitions(-DUPSTREAM_COMPILE)
set(CMAKE_SHARED_LIBRARY_SUFFIX
.upstream${CMAKE_SHARED_LIBRARY_SUFFIX})
set(CMAKE_EXECUTABLE_SUFFIX "_upstream")
endif(UPSTREAM_COMPILE)
message(STATUS "USE_CXX11_ABI is ${USE_CXX11_ABI}")
if (NOT USE_CXX11_ABI)
set(CMAKE_CXX_FLAGS "-fabi-version=11")
endif()
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
find_package(Python REQUIRED COMPONENTS Interpreter Development NumPy)
find_package(Torch REQUIRED)
find_package(ZLIB REQUIRED)
include(pt_ver)
set_up_pt_ver_mechanism()
set(CMAKE_CONFIGURABLE_FILE_CONTENT "${TORCH_VERSION_MAJOR}.${TORCH_VERSION_MINOR}")
configure_file("${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in" "${PROJECT_SOURCE_DIR}/python_packages/habana_frameworks/torch/required_version.txt" @ONLY)
unset(CMAKE_CONFIGURABLE_FILE_CONTENT)
include(Targets)
find_program(CCACHE ccache)
if(CCACHE)
set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE}")
endif()
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
if(NOT DEFINED CLANG_TIDY OR CLANG_TIDY)
find_program(CLANG_TIDY NAMES clang-tidy-10)
if(CLANG_TIDY)
set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY}")
message(STATUS "clang-tidy (${CLANG_TIDY}) --version:")
execute_process(COMMAND ${CLANG_TIDY} --version OUTPUT_VARIABLE CLANG_TIDY_VERSION)
message(${CLANG_TIDY_VERSION})
# make clang-tidy work correctly with autogenerated files
configure_file(.clang-tidy ${PROJECT_BINARY_DIR}/.clang-tidy COPYONLY)
else()
message(STATUS "clang-tidy-10 not detected or disabled")
endif()
endif()
option(CODE_COVERAGE "Allow code coverage" OFF)
if(CODE_COVERAGE)
message(STATUS "code coverage is enabled.")
endif()
get_property(torch_flags TARGET torch PROPERTY INTERFACE_COMPILE_OPTIONS)
if(NOT "${torch_flags}" STREQUAL "")
add_compile_options("${torch_flags}")
endif()
include(AddNPUStackDependencies)
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
set(CMAKE_INSTALL_RPATH "$ORIGIN")
set(CMAKE_INSTALL_PREFIX "")
message(STATUS "Installation prefix set to ${CMAKE_INSTALL_PREFIX}")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
add_subdirectory(pytorch_helpers)
add_subdirectory(backend)
# workaround for cmake3.5. Starting from 3.13 sources are optional and we can add them in add_subdirectories
add_habana_library(habana_pytorch_plugin SHARED
common/lazy/utils.cpp
pytorch_helpers/lazy_to_backend.cpp
pytorch_helpers/habana_helpers/logging.cpp
pytorch_helpers/habana_helpers/signal_handler.cpp
pytorch_helpers/habana_helpers/stats.cpp
pytorch_helpers/habana_helpers/frontend_utils.cpp
pytorch_helpers/habana_helpers/kernels_accumulation.cpp
pytorch_helpers/habana_helpers/misc_utils.cpp
pytorch_helpers/habana_helpers/thread_pool/acc_thread_pool.cpp
pytorch_helpers/habana_helpers/thread_pool/thread_pool.cpp
pytorch_helpers/habana_helpers/dtype_helpers.cpp
pytorch_helpers/habana_helpers/towl.cpp
pytorch_helpers/low_overhead_profiler/profiler.cpp
pytorch_helpers/serialize/export.cpp
pytorch_helpers/visualize/visualize.cpp
habana_kernels/basic_kernels.cpp
habana_kernels/binary_kernels.cpp
habana_kernels/binary_inplace_kernels.cpp
habana_kernels/compare_kernels.cpp
habana_kernels/embedding_kernels.cpp
habana_kernels/fallback_helper.cpp
habana_kernels/shape_agnostic_helper.cpp
habana_kernels/hccl_kernels.cpp
habana_kernels/index_kernels.cpp
habana_kernels/instance_norm_utils.cpp
habana_kernels/mixture_of_experts.cpp
habana_kernels/nonzero_kernel.cpp
habana_kernels/kernel_input_checks.cpp
habana_kernels/kernels_register.cpp
habana_kernels/kernel_utils.cpp
habana_kernels/lazy_kernels.cpp
habana_kernels/lazy_optimizer_kernels.cpp
habana_kernels/lazy_op.cpp
habana_kernels/linear_kernels.cpp
habana_kernels/loss_kernels.cpp
habana_kernels/nms_kernels.cpp
habana_kernels/norm_kernels.cpp
habana_kernels/optimizer_kernels.cpp
habana_kernels/random_gen_kernels.cpp
habana_kernels/reduction_kernels.cpp
habana_kernels/repeat.cpp
habana_kernels/roi_align_kernels.cpp
habana_kernels/tensor_shape_kernels.cpp
habana_kernels/threshold_kernels.cpp
habana_kernels/topk_kernels.cpp
habana_kernels/unary_kernels.cpp
habana_kernels/custom_op_kernel.cpp
habana_lazy/aten_lazy_bridge.cpp
habana_lazy/lazy_graph_hash_disabler.cpp
habana_lazy/debug_utils.cpp
habana_lazy/memlog.cpp
habana_lazy/hpu_lazy_tensors.cpp
habana_lazy/ir.cpp
habana_lazy/ir_utils.cpp
habana_lazy/tensor_impl.cpp
habana_lazy/hlexec.cpp
habana_lazy/habana_custom_op.cpp
habana_lazy/user_custom_op_frontend.cpp
habana_lazy/passes/pass_utils.cpp
habana_lazy/passes/recalculate_batchnorm_params.cpp
habana_lazy/passes/fold_conv_batchnorm.cpp
habana_lazy/passes/fuse_mm_transpose.cpp
habana_lazy/passes/fuse_bn_relu_residual_add.cpp
habana_lazy/passes/transform_graph.cpp
habana_lazy/passes/fuse_strided_views.cpp
habana_lazy/passes/replace_inplace_ops.cpp
habana_lazy/passes/replace_views_with_reshapes.cpp
habana_lazy/lazy_arg_spec.cpp
habana_lazy/lazy_executor.cpp
habana_lazy/permute_tensors.cpp
habana_lazy/lazy_storage.cpp
habana_lazy/lazy_graph_hash_builder.cpp
habana_lazy/view_utils.cpp
habana_lazy/hpu_stage_submission.cpp
)
add_subdirectory(hpu_ops)
add_subdirectory(python_packages/habana_frameworks/torch)
target_compile_features(habana_pytorch_plugin PRIVATE cxx_std_17)
# Link against LibTorch and synapse
target_link_libraries(habana_pytorch_plugin
PRIVATE
Python::Python
habana_serialization
tensor_comparator_core
nlohmann_json::nlohmann_json
PUBLIC
habana_pytorch_backend
habana_pytorch_frontend_ops
torch
absl::hash
ZLIB::ZLIB
)
target_include_directories(habana_pytorch_plugin PRIVATE ${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/pytorch_helpers ${CMAKE_BINARY_DIR})
# Create symlink to latest build from tests dir
# TODO: make it play nicely with building multiple versions in build.py
add_custom_command(TARGET habana_pytorch_plugin POST_BUILD COMMAND
${CMAKE_COMMAND} -E create_symlink $<TARGET_FILE:habana_pytorch_plugin>
${CMAKE_SOURCE_DIR}/tests/$<TARGET_FILE_NAME:habana_pytorch_plugin>
COMMAND ${CMAKE_COMMAND} -E create_symlink $<TARGET_FILE:habana_pytorch_plugin>
$ENV{BUILD_ROOT_LATEST}/$<TARGET_FILE_NAME:habana_pytorch_plugin>
)
install(TARGETS habana_pytorch_plugin LIBRARY DESTINATION habana_torch_plugin/lib)
add_subdirectory(habana_eager)
add_habana_library(habana_pytorch2_plugin SHARED
common/eager/utils.cpp
pytorch_helpers/lazy_to_backend.cpp
pytorch_helpers/habana_helpers/dtype_helpers.cpp
pytorch_helpers/habana_helpers/frontend_utils.cpp
pytorch_helpers/habana_helpers/kernels_accumulation.cpp
pytorch_helpers/habana_helpers/logging.cpp
pytorch_helpers/habana_helpers/misc_utils.cpp
pytorch_helpers/habana_helpers/signal_handler.cpp
pytorch_helpers/habana_helpers/stats.cpp
pytorch_helpers/habana_helpers/thread_pool/acc_thread_pool.cpp
pytorch_helpers/habana_helpers/thread_pool/thread_pool.cpp
pytorch_helpers/habana_helpers/towl.cpp
pytorch_helpers/low_overhead_profiler/profiler.cpp
pytorch_helpers/visualize/visualize.cpp
pytorch_helpers/serialize/export.cpp
habana_kernels/basic_kernels.cpp
habana_kernels/binary_inplace_kernels.cpp
habana_kernels/binary_kernels.cpp
habana_kernels/compare_kernels.cpp
habana_kernels/embedding_kernels.cpp
habana_kernels/fallback_helper.cpp
habana_kernels/shape_agnostic_helper.cpp
habana_kernels/hccl_kernels.cpp
habana_kernels/index_kernels.cpp
habana_kernels/instance_norm_utils.cpp
habana_kernels/kernel_input_checks.cpp
habana_kernels/kernel_utils.cpp
habana_kernels/linear_kernels.cpp
habana_kernels/loss_kernels.cpp
habana_kernels/nms_kernels.cpp
habana_kernels/nonzero_kernel.cpp
habana_kernels/norm_kernels.cpp
habana_kernels/optimizer_kernels.cpp
habana_kernels/random_gen_kernels.cpp
habana_kernels/reduction_kernels.cpp
habana_kernels/repeat.cpp
habana_kernels/roi_align_kernels.cpp
habana_kernels/tensor_shape_kernels.cpp
habana_kernels/threshold_kernels.cpp
habana_kernels/topk_kernels.cpp
habana_kernels/unary_kernels.cpp
habana_lazy/aten_lazy_bridge.cpp
habana_lazy/debug_utils.cpp
habana_lazy/hlexec.cpp
habana_lazy/hpu_lazy_tensors.cpp
habana_lazy/hpu_stage_submission.cpp
habana_lazy/ir_utils.cpp
habana_lazy/ir.cpp
habana_lazy/lazy_arg_spec.cpp
habana_lazy/lazy_executor.cpp
habana_lazy/lazy_graph_hash_builder.cpp
habana_lazy/lazy_graph_hash_disabler.cpp
habana_lazy/lazy_storage.cpp
habana_lazy/memlog.cpp
habana_lazy/passes/fold_conv_batchnorm.cpp
habana_lazy/passes/fuse_bn_relu_residual_add.cpp
habana_lazy/passes/fuse_mm_transpose.cpp
habana_lazy/passes/fuse_strided_views.cpp
habana_lazy/passes/pass_utils.cpp
habana_lazy/passes/recalculate_batchnorm_params.cpp
habana_lazy/passes/replace_inplace_ops.cpp
habana_lazy/passes/replace_views_with_reshapes.cpp
habana_lazy/passes/transform_graph.cpp
habana_lazy/tensor_impl.cpp
habana_lazy/view_utils.cpp
hpu_ops/lazy/binaryscalar2tensor.cpp
hpu_ops/lazy/bitwise_gen.cpp
hpu_ops/lazy/bitwise_shift_gen.cpp
hpu_ops/lazy/compare_gen.cpp
hpu_ops/lazy/div_round_gen.cpp
hpu_ops/lazy/embedding_gen.cpp
hpu_ops/lazy/index_select_gen.cpp
hpu_ops/lazy/maxpool_gen.cpp
hpu_ops/lazy/pow_gen.cpp
hpu_ops/lazy/unique_gen.cpp
hpu_ops/lazy/upsample_gen.cpp
hpu_ops/lazy/xlogy_gen.cpp
${habana_pytorch2_plugin_glob_files}
)
target_include_directories(habana_pytorch2_plugin PRIVATE ${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/pytorch_helpers ${CMAKE_BINARY_DIR})
target_compile_features(habana_pytorch2_plugin PRIVATE cxx_std_17)
# Link against LibTorch and synapse
target_link_libraries(habana_pytorch2_plugin
PRIVATE
Python::Python
habana_serialization
tensor_comparator_core
nlohmann_json::nlohmann_json
PUBLIC
habana_pytorch_backend
habana_pytorch2_frontend
torch
absl::hash
npu::hllogger
npu::fmt
ZLIB::ZLIB
)
# Create symlink to latest build from tests dir
# TODO: make it play nicely with building multiple versions in build.py
add_custom_command(TARGET habana_pytorch2_plugin POST_BUILD COMMAND
${CMAKE_COMMAND} -E create_symlink $<TARGET_FILE:habana_pytorch2_plugin>
${CMAKE_SOURCE_DIR}/tests/$<TARGET_FILE_NAME:habana_pytorch2_plugin>
COMMAND ${CMAKE_COMMAND} -E create_symlink $<TARGET_FILE:habana_pytorch2_plugin>
$ENV{BUILD_ROOT_LATEST}/$<TARGET_FILE_NAME:habana_pytorch2_plugin>
)
add_dependencies(habana_pytorch2_plugin habana_pytorch_frontend_ops)
add_dependencies(habana_serialization pytorch_generate_env)
install(TARGETS habana_pytorch2_plugin LIBRARY DESTINATION habana_torch_plugin/lib)
option(BUILD_TESTS "Build gtest binaries" ON)
if(BUILD_TESTS)
add_subdirectory("$ENV{HABANA_SOFTWARE_STACK}/3rd-parties/googletest_1_13/"
${CMAKE_BINARY_DIR}/ThirdParty/googletest/
EXCLUDE_FROM_ALL
SYSTEM)
add_subdirectory(tests/cpp)
endif()
option(BUILD_PKGS "Build python packages" OFF)
option(INSTALL_PKGS "Install python packages" OFF)
# additional args will be treated as dependencies - relative to the PACKAGE location
function(build_or_install_wheel PACKAGE)
get_filename_component(name ${PACKAGE} NAME)
set(OUTPUT "${CMAKE_BINARY_DIR}/pkgs/${name}")
set(PIP ${Python_EXECUTABLE} -m pip)
if(INSTALL_PKGS)
set(PIPARGS install -U ${PACKAGE}/)
else()
set(PIPARGS wheel --no-deps --wheel-dir=${CMAKE_BINARY_DIR}/pkgs ${PACKAGE})
endif()
list(TRANSFORM ARGN PREPEND "${PACKAGE}/" OUTPUT_VARIABLE DEPS)
add_custom_command(OUTPUT ${OUTPUT}
COMMAND ${PIP} ${PIPARGS}
COMMAND ${CMAKE_COMMAND} -E touch ${OUTPUT}
DEPENDS habana_pytorch_plugin habana_pytorch2_plugin
DEPENDS ${DEPS})
add_custom_target(${name} ALL DEPENDS ${OUTPUT})
endfunction()
if(BUILD_PKGS)
build_or_install_wheel(${PROJECT_SOURCE_DIR}/pytorch_helpers/dataloader/habana_dataloader
__init__.py
habana_dataloader/__init__.py
habana_dataloader/aeon_config.py
habana_dataloader/aeon_manifest.py
habana_dataloader/aeon_ssd_configurator.py
habana_dataloader/aeon_transformers.py
habana_dataloader/habana_dataset.py
include/blocking_queue.h
include/data_loader.h
include/pybind11_json.hpp
LICENSE.txt
main.cpp
setup.py
)
build_or_install_wheel(${PROJECT_SOURCE_DIR}/python_packages
habana_frameworks/torch/__init__.py
habana_frameworks/torch/activity_profiler/__init__.py
habana_frameworks/torch/activity_profiler/activity_profiler.py
habana_frameworks/torch/activity_profiler/csrc/bindings.cpp
habana_frameworks/torch/core/__init__.py
habana_frameworks/torch/core/bindings.cpp
habana_frameworks/torch/core/hccl/__init__.py
habana_frameworks/torch/core/step_closure.py
habana_frameworks/torch/core/weight_sharing.py
habana_frameworks/torch/distributed/__init__.py
habana_frameworks/torch/distributed/hccl/__init__.py
habana_frameworks/torch/distributed/hccl/process_group_lazy_hccl.cpp
habana_frameworks/torch/distributed/hccl/process_group_lazy_hccl.hpp
habana_frameworks/torch/distributed/hccl/process_group_eager_hccl.cpp
habana_frameworks/torch/distributed/hccl/process_group_eager_hccl.hpp
habana_frameworks/torch/distributed/hccl/ProcessGroupHCCL.cpp
habana_frameworks/torch/distributed/hccl/ProcessGroupHCCL.hpp
habana_frameworks/torch/distributed/hccl/reducer_timer.cpp
habana_frameworks/torch/dynamo/compile_backend/recipe_compiler.cpp
habana_frameworks/torch/hpex/__init__.py
habana_frameworks/torch/hpex/csrc/bindings.cpp
habana_frameworks/torch/hpex/csrc/bindings.h
habana_frameworks/torch/hpex/csrc/embedding_bag_preproc_main.cpp
habana_frameworks/torch/hpex/csrc/embedding_bag_preproc.cpp
habana_frameworks/torch/hpex/csrc/radix_sort.h
habana_frameworks/torch/hpex/kernels/__init__.py
habana_frameworks/torch/hpex/kernels/CustomRoiAlign.py
habana_frameworks/torch/hpex/kernels/EmbeddingBag.py
habana_frameworks/torch/hpex/kernels/EmbeddingBagPreproc.py
habana_frameworks/torch/hpex/kernels/fbgemm.py
habana_frameworks/torch/hpex/movingavrg/__init__.py
habana_frameworks/torch/hpex/movingavrg/FusedEMA.py
habana_frameworks/torch/hpex/normalization/__init__.py
habana_frameworks/torch/hpex/normalization/FusedClipNorm.py
habana_frameworks/torch/hpex/optimizers/__init__.py
habana_frameworks/torch/hpex/optimizers/distributed/__init__.py
habana_frameworks/torch/hpex/optimizers/distributed/FusedAdamW.py
habana_frameworks/torch/hpex/optimizers/FusedAdagrad.py
habana_frameworks/torch/hpex/optimizers/FusedAdamW.py
habana_frameworks/torch/hpex/optimizers/FusedLamb.py
habana_frameworks/torch/hpex/optimizers/FusedLars.py
habana_frameworks/torch/hpex/optimizers/FusedResourceApplyMomentum.py
habana_frameworks/torch/hpex/optimizers/FusedSGD.py
habana_frameworks/torch/hpex/optimizers/SparseAdagrad.py
habana_frameworks/torch/hpex/optimizers/SparseSGD.py
habana_frameworks/torch/hpu/__init__.py
habana_frameworks/torch/hpu/_utils.py
habana_frameworks/torch/hpu/csrc/Stream.cpp
habana_frameworks/torch/hpu/csrc/Event.cpp
habana_frameworks/torch/hpu/csrc/Module.cpp
habana_frameworks/torch/hpu/csrc/bindings.cpp
habana_frameworks/torch/hpu/events.py
habana_frameworks/torch/hpu/graphs.py
habana_frameworks/torch/hpu/memory.py
habana_frameworks/torch/hpu/random.py
habana_frameworks/torch/hpu/streams.py
habana_frameworks/torch/hpu/metrics/__init__.py
habana_frameworks/torch/hpu/metrics/exceptions.py
habana_frameworks/torch/hpu/metrics/metrics.py
habana_frameworks/torch/hpu/metrics/saver.py
habana_frameworks/torch/profiler/__init__.py
habana_frameworks/torch/profiler/ProfilerApi.py
habana_frameworks/torch/utils/__init__.py
habana_frameworks/torch/utils/debug/__init__.py
habana_frameworks/torch/utils/debug/csrc/bindings.cpp
habana_frameworks/torch/utils/debug/README.txt
habana_frameworks/torch/utils/distributed_utils.py
habana_frameworks/torch/utils/event_dispatcher/__init__.py
habana_frameworks/torch/utils/event_dispatcher/csrc/bindings.cpp
habana_frameworks/torch/utils/experimental/__init__.py
habana_frameworks/torch/utils/experimental/csrc/bindings.cpp
habana_frameworks/torch/utils/experimental/distributed_emulation.py
habana_frameworks/torch/utils/lib_utils.py
habana_frameworks/torch/utils/library_loader.py
habana_frameworks/torch/utils/version_checker.py
habana_frameworks/torch/utils/profiler/__init__.py
habana_frameworks/torch/utils/profiler/csrc/bindings.cpp
LICENSE.txt
setup.py
torch_hpu/__init__.py
)
endif()