recommenders-addons
Additional utils and helpers to extend TensorFlow when build recommendation systems, contributed and maintained by SIG Recommenders.
파일 탐색기
최종 버전 다운로드 (.zip)- bug-performance-report.md
- feature-request.md
- backport.yml
- ci_test.yml
- github_build_dev_container.sh
- make_wheel_Linux_x86.sh
- make_wheel_macOS_arm64.sh
- make_wheel_macOS_x86.sh
- make_wheel_Windows_x86.sh
- notify_codeowners.py
- notify_codeowners.yml
- release-drafter.yml
- release.yml
- boring-cyborg.yml
- CODEOWNERS
- pull_request_template.md
- release-template.yml
- alibaba.jpg
- boss.svg
- merilin.png
- SIGRecommendersAddons.png
- tencent.png
- vips.jpg
- BUILD
- BUILD.tpl
- build_defs.bzl.tpl
- tf_configure.bzl
- 1.15.2.tar.gz
- env.sh
- mkinclude.sh
- README.md
- crosstool_wrapper_driver_is_not_gcc
- BUILD
- cc_toolchain_config.bzl
- crosstool_wrapper_driver_is_not_gcc.tpl
- msvc_wrapper_for_nvcc.py.tpl
- BUILD
- BUILD.tpl
- cc_toolchain_config.bzl.tpl
- CROSSTOOL.tpl
- BUILD
- BUILD.tpl
- BUILD.windows.tpl
- build_defs.bzl.tpl
- cuda_config.h.tpl
- BUILD
- cub.BUILD
- cuda_configure.bzl
- find_cuda_config.py
- BUILD
- hkv.BUILD
- BUILD
- hiredis.BUILD
- redis-plus-plus.BUILD
- build_pip_pkg.sh
- feature.py
- main.py
- README.md
- video_game_model.py
- bpv2.py
- README.md
- stop.sh
- train.sh
- export.sh
- movielens-100k-estimator.py
- README.md
- stop.sh
- train.sh
- export.sh
- movielens-100k-estimator.py
- README.md
- redis_config.json
- stop.sh
- train.sh
- compress_model.py
- export.sh
- movielens-100k-estimator.py
- README.md
- stop.sh
- train.sh
- export.sh
- movielens-100k-estimator.py
- README.md
- stop.sh
- train.sh
- warmup_train.sh
- export.sh
- movielens-100k-estimator.py
- README.md
- session_hook.py
- start_worker.sh
- stop.sh
- train.sh
- movielens-1m-keras.py
- README.md
- movielens_dynamic_embedding_tutorial.ipynb
- movielens-1m-keras-ps.py
- README.md
- start.sh
- stop.sh
- movielens-1m-keras-with-horovod.py
- README.md
- start.sh
- test.sh
- movielens-1m-ps.py
- README.md
- start.sh
- stop.sh
- README.md
- seq_and_dense.py.py
- start.sh
- test.sh
- vocab.py
- ev-keras-eager.py
- ev-keras-graph.py
- ev-norm-local.py
- ev-norm-ps.py
- README.md
- reduce_pooling.md
- all2all_embedding.png
- BasicEmbedding.md
- embedding.md
- FieldWiseEmbedding.md
- HvdAllToAllEmbedding.md
- SquashedEmbedding.md
- layers.md
- sparse_fill_empty_rows.md
- sparse_reshape.md
- sparse_segment_sum.md
- embedding_lookup.md
- ShadowVariable.md
- SaveSliceInfo.md
- CuckooHashTable.md
- CuckooHashTableConfig.md
- CuckooHashTableCreator.md
- DynamicEmbeddingOptimizer.md
- embedding_lookup.md
- embedding_lookup_sparse.md
- embedding_lookup_unique.md
- enable_inference_mode.md
- enable_train_mode.md
- FileSystemSaver.md
- FrequencyRestrictPolicy.md
- get_model_mode.md
- get_variable.md
- GraphKeys.md
- HkvEvictStrategy.md
- HkvHashTable.md
- HkvHashTableConfig.md
- HkvHashTableCreator.md
- keras.md
- math.md
- ModelMode.md
- RedisBackend.md
- RedisTable.md
- RedisTableConfig.md
- RedisTableCreator.md
- RestrictPolicy.md
- safe_embedding_lookup_sparse.md
- shadow_ops.md
- TimestampRestrictPolicy.md
- TrainableWrapper.md
- Variable.md
- dynamic_embedding.md
- tfra.md
- _toc.yaml
- dynamic_embedding_tutorial.ipynb
- embedding_variable_tutorial.ipynb
- README.md
- class_diagrams.png
- graph.png
- memory.png
- architecture.png
- expression-weights-hierarchically.png
- models-weights-compare.png
- optimizers-reuse-scheme.png
- overview-flow-chart.png
- 20191101-embedding-variable.md
- 20200424-sparse-domain-isolation.md
- lookup_table_op_cpu.h
- lookup_table_op_cpu_impl_int32_bfloat16.cc
- lookup_table_op_cpu_impl_int32_double.cc
- lookup_table_op_cpu_impl_int32_float.cc
- lookup_table_op_cpu_impl_int32_int32.cc
- lookup_table_op_cpu_impl_int64_bfloat16.cc
- lookup_table_op_cpu_impl_int64_double.cc
- lookup_table_op_cpu_impl_int64_float.cc
- lookup_table_op_cpu_impl_int64_half.cc
- lookup_table_op_cpu_impl_int64_int32.cc
- lookup_table_op_cpu_impl_int64_int64.cc
- lookup_table_op_cpu_impl_int64_int8.cc
- lookup_table_op_cpu_impl_int64_tstring.cc
- lookup_table_op_cpu_impl_tstring_bfloat16.cc
- lookup_table_op_cpu_impl_tstring_bool.cc
- lookup_table_op_cpu_impl_tstring_double.cc
- lookup_table_op_cpu_impl_tstring_float.cc
- lookup_table_op_cpu_impl_tstring_half.cc
- lookup_table_op_cpu_impl_tstring_int32.cc
- lookup_table_op_cpu_impl_tstring_int64.cc
- lookup_table_op_cpu_impl_tstring_int8.cc
- lookup_table_op_gpu.h
- lookup_table_op_gpu_impl_float_0.cu.cc
- lookup_table_op_gpu_impl_float_1.cu.cc
- lookup_table_op_gpu_impl_float_2.cu.cc
- lookup_table_op_gpu_impl_float_3.cu.cc
- lookup_table_op_gpu_impl_half_0.cu.cc
- lookup_table_op_gpu_impl_half_1.cu.cc
- lookup_table_op_gpu_impl_half_2.cu.cc
- lookup_table_op_gpu_impl_half_3.cu.cc
- lookup_table_op_gpu_impl_int32_0.cu.cc
- lookup_table_op_gpu_impl_int32_1.cu.cc
- lookup_table_op_gpu_impl_int32_2.cu.cc
- lookup_table_op_gpu_impl_int32_3.cu.cc
- lookup_table_op_gpu_impl_int32_float_0.cu.cc
- lookup_table_op_gpu_impl_int32_float_1.cu.cc
- lookup_table_op_gpu_impl_int32_float_2.cu.cc
- lookup_table_op_gpu_impl_int32_float_3.cu.cc
- lookup_table_op_gpu_impl_int64_0.cu.cc
- lookup_table_op_gpu_impl_int64_1.cu.cc
- lookup_table_op_gpu_impl_int64_2.cu.cc
- lookup_table_op_gpu_impl_int64_3.cu.cc
- lookup_table_op_gpu_impl_int8_0.cu.cc
- lookup_table_op_gpu_impl_int8_1.cu.cc
- lookup_table_op_gpu_impl_int8_2.cu.cc
- lookup_table_op_gpu_impl_int8_3.cu.cc
- lookup_table_op_hkv.h
- copyright.md
- json.cc
- json.h
- md5.cc
- md5.h
- README.md
- redis_cluster_connection_pool.hpp
- redis_connection_pool.hpp
- redis_connection_util.hpp
- redis_slots_tab.h
- redis_table_op_util.hpp
- thread_pool.h
- cuckoo_hashtable_op.cc
- cuckoo_hashtable_op.h
- cuckoo_hashtable_op_gpu.cu.cc
- cuckoo_hashtable_op_gpu.h
- dynamic_partition_op.cc
- dynamic_partition_op_gpu.cu.cc
- dynamic_stitch_op.cc
- dynamic_stitch_op_gpu.cu.cc
- fill_functor.cu.cc
- hkv_hashtable_op.cc
- hkv_hashtable_op_gpu.cu.cc
- redis_table_op.cc
- redis_table_op.h
- segment_reduction_ops.h
- segment_reduction_ops_gpu.cu.cc
- segment_reduction_ops_impl.cc
- segment_reduction_ops_impl.h
- BUILD
- cuckoohash_config.hh
- cuckoohash_map.hh
- cuckoohash_util.hh
- libcuckoo_bucket_container.hh
- agent_histogram.cuh
- agent_radix_sort_downsweep.cuh
- agent_radix_sort_upsweep.cuh
- agent_reduce.cuh
- agent_reduce_by_key.cuh
- agent_rle.cuh
- agent_scan.cuh
- agent_segment_fixup.cuh
- agent_select_if.cuh
- agent_spmv_orig.cuh
- single_pass_scan_operators.cuh
- block_histogram_atomic.cuh
- block_histogram_sort.cuh
- block_reduce_raking.cuh
- block_reduce_raking_commutative_only.cuh
- block_reduce_warp_reductions.cuh
- block_scan_raking.cuh
- block_scan_warp_scans.cuh
- block_scan_warp_scans2.cuh
- block_scan_warp_scans3.cuh
- block_adjacent_difference.cuh
- block_discontinuity.cuh
- block_exchange.cuh
- block_histogram.cuh
- block_load.cuh
- block_radix_rank.cuh
- block_radix_sort.cuh
- block_raking_layout.cuh
- block_reduce.cuh
- block_scan.cuh
- block_shuffle.cuh
- block_store.cuh
- dispatch_histogram.cuh
- dispatch_radix_sort.cuh
- dispatch_reduce.cuh
- dispatch_reduce_by_key.cuh
- dispatch_rle.cuh
- dispatch_scan.cuh
- dispatch_select_if.cuh
- dispatch_spmv_orig.cuh
- device_histogram.cuh
- device_partition.cuh
- device_radix_sort.cuh
- device_reduce.cuh
- device_run_length_encode.cuh
- device_scan.cuh
- device_segmented_radix_sort.cuh
- device_segmented_reduce.cuh
- device_select.cuh
- device_spmv.cuh
- grid_barrier.cuh
- grid_even_share.cuh
- grid_mapping.cuh
- grid_queue.cuh
- mutex.cuh
- arg_index_input_iterator.cuh
- cache_modified_input_iterator.cuh
- cache_modified_output_iterator.cuh
- constant_input_iterator.cuh
- counting_input_iterator.cuh
- discard_output_iterator.cuh
- tex_obj_input_iterator.cuh
- tex_ref_input_iterator.cuh
- transform_input_iterator.cuh
- thread_load.cuh
- thread_operators.cuh
- thread_reduce.cuh
- thread_scan.cuh
- thread_search.cuh
- thread_store.cuh
- warp_reduce_shfl.cuh
- warp_reduce_smem.cuh
- warp_scan_shfl.cuh
- warp_scan_smem.cuh
- warp_reduce.cuh
- warp_scan.cuh
- cub.cuh
- util_allocator.cuh
- util_arch.cuh
- util_debug.cuh
- util_device.cuh
- util_macro.cuh
- util_namespace.cuh
- util_ptx.cuh
- util_type.cuh
- concurrent_unordered_map.cuh
- hash_functions.cuh
- managed.cuh
- managed_allocator.cuh
- BUILD
- nv_allocator.h
- nv_hashtable.cuh
- nv_multigpu.cuh
- nv_multisplit.cuh
- nv_util.h
- BUILD
- cuda_utils.cuh
- cuckoo_hashtable_ops.cc
- data_flow_ops.cc
- hkv_hashtable_ops.cc
- math_ops.cc
- redis_table_ops.cc
- types.h
- utils.h
- BUILD
- __init__.py
- dynamic_layer_normalization.py
- dynamic_layer_normalization_test.py
- embedding.py
- embedding_test.py
- __init__.py
- callbacks.py
- callbacks_test.py
- models.py
- BUILD
- cuckoo_hashtable_ops_test.py
- dynamic_embedding_ops_test.py
- dynamic_embedding_optimizer_test.py
- dynamic_embedding_variable_test.py
- dynamic_partition_op_test.py
- dynamic_stitch_op_test.py
- hkv_hashtable_evict_test.py
- hkv_hashtable_ops_test.py
- horovod_sync_train_test.py
- math_grad_test.py
- math_ops_test.py
- ragged_embedding_ops_test.py
- redis_table_ops_test.py
- redis_table_variable_test.py
- restrict_policies_test.py
- shadow_embedding_ops_test.py
- tf_patch_test.py
- warm_start_util_test.py
- __init__.py
- BUILD
- cuckoo_hashtable_ops.py
- data_flow_grad.py
- data_flow_ops.py
- distributed_embedding_variable.py
- dynamic_embedding_creator.py
- dynamic_embedding_ops.py
- dynamic_embedding_optimizer.py
- dynamic_embedding_variable.py
- embedding_weights.py
- hkv_hashtable_ops.py
- math_grad.py
- math_ops.py
- ragged_embedding_ops.py
- redis_table_ops.py
- restrict_policies.py
- shadow_embedding_ops.py
- tf_patch.py
- tf_save_restore_patch.py
- warm_start_util.py
- __init__.py
- checkpoint.py
- saver.py
- __init__.py
- __init__.py
- __init__.py
- register_test.py
- run_all_test.py
- __init__.py
- run_all_test.py
- test_resource_loader.py
- test_utils_test.py
- __init__.py
- BUILD
- check_platform.py
- ensure_tf_install.py
- README.md
- resource_loader.py
- test_utils.py
- types.py
- __init__.py
- BUILD
- conftest.py
- register.py
- tensorflow_recommenders_addons.bzl
- version.py
- avx.h
- bpv2_hmaccum_cmd.c
- bpv2_hmaccum_cmd.h
- Makefile
- README.md
- redismodule.h
- BUILD
- BUILD.tpl
- tf_configure.bzl
- BUILD
- sparsehash_c11.BUILD
- build_devtoolset.sh
- fixlinks.sh
- platlib.patch
- rpm-patch.sh
- build_and_install_python.sh
- install_bazel.sh
- install_bootstrap_deb_packages.sh
- install_deb_packages.sh
- install_horovod.sh
- install_latest_clang.sh
- install_nccl.sh
- install_openmpi.sh
- install_patchelf.sh
- install_pip_packages_by_version.sh
- install_pytest.sh
- install_redis.sh
- install_rocksdb.sh
- install_trt.sh
- use_devtoolset_7.sh
- use_devtoolset_8.sh
- build_wheel.Dockerfile
- cpu_tests.Dockerfile
- cuda10.0-cudnn7-ubuntu16.04-manylinux2010-multipython.Dockerfile
- cuda11.0-cudnn8-ubuntu18.04-manylinux2010-multipython.Dockerfile
- cuda11.2-cudnn8-ubuntu20.04-manylinux2014-python3.10.Dockerfile
- cuda11.2-cudnn8-ubuntu20.04-manylinux2014-python3.7.Dockerfile
- cuda11.2-cudnn8-ubuntu20.04-manylinux2014-python3.8.Dockerfile
- cuda11.2-cudnn8-ubuntu20.04-manylinux2014-python3.9.Dockerfile
- cuda11.2-cudnn8.1-ubuntu18.04-manylinux2010-multipython.Dockerfile
- cuda11.2.1-cudnn8-ubuntu20.04-manylinux2014-multipython.Dockerfile
- cuda12.2-cudnn8.9-ubuntu20.04-manylinux2014-python3.10.Dockerfile
- cuda12.2-cudnn8.9-ubuntu20.04-manylinux2014-python3.11.Dockerfile
- cuda12.2-cudnn8.9-ubuntu20.04-manylinux2014-python3.9.Dockerfile
- cuda12.3-cudnn8.9-ubuntu20.04-manylinux2014-python3.10.Dockerfile
- cuda12.3-cudnn8.9-ubuntu20.04-manylinux2014-python3.11.Dockerfile
- cuda12.3-cudnn8.9-ubuntu20.04-manylinux2014-python3.9.Dockerfile
- cuda12.3.2-cudnn8.9-devel-ubuntu20.04.Dockerfile
- dev_container.Dockerfile
- pre-commit.Dockerfile
- sanity_check.Dockerfile
- serving-devel-gpu.Dockerfile
- serving-devel.Dockerfile
- BUILD
- build_docs.py
- Readme.md
- buildifier.sh
- clang-format.sh
- doc_requirements.txt
- install_bazelisk.sh
- pytest.txt
- tensorflow-cpu.txt
- tensorflow.txt
- typedapi.txt
- yapf.txt
- tf_auditwheel_patch.sh
- .bazelrc_gpu_padding
- .bazelrc_padding
- build_and_run_tests.sh
- parallel_gpu_execute.sh
- source_code_test.py
- build_dev_container.sh
- check_python_format.py
- config_tfserving.sh
- install_so_files.sh
- pre-commit.sh
- pre_commit_format.py
- run_build.sh
- run_cpu_tests.sh
- run_google_cloud_tests.sh
- run_gpu_tests.sh
- run_sanity_check.sh
- update_release_version.sh
- .bazelversion
- .dockerignore
- .gitignore
- .gitmodules
- .yapf
- BUILD
- configure.py
- CONTRIBUTING.md
- LICENSE
- MANIFEST.in
- README.md
- requirements.txt
- setup.py
- STYLE_GUIDE.md
- WORKSPACE
# 설치 가이드
git clone https://github.com/tensorflow/recommenders-addons
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd recommenders-addons
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천- Python 3 pip 명령어를 쓰려면 Python이 필요합니다.
pip install tensorflow-recommenders-addons
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install tensorflow-recommenders-addons-gpu
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install tensorflow==$TF_VERSION
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install artifacts/tensorflow_recommenders_addons-*.whl
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Python
쉬움pip install tensorflow-recommenders-addons
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install tensorflow-recommenders-addons-gpu
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install tensorflow==$TF_VERSION
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install artifacts/tensorflow_recommenders_addons-*.whl
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install artifacts/tensorflow_recommenders_addons_gpu-*.whl
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
4. Make
보통- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
cd third_party/redis_module
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
