Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Quantization] Quantize embedding variables by writing checkpoint #3

Merged
merged 1 commit into from
Aug 4, 2022

Conversation

xiaowan0322
Copy link

Quantize embedding variables by writing checkpoint

@candyzone candyzone merged commit 6075341 into candyzone:quantized Aug 4, 2022
candyzone added a commit that referenced this pull request Apr 11, 2023
Steps:
  1. bazel build //tensorflow/core/kernels:embedding_variable_ops_test
  2. bazel-bin/tensorflow/core/kernels/embedding_variable_ops_test --gtest_filter=EmbeddingVariableTest.TestLookupRemoveConcurrency
  3. coredump detail:
    #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
    #1  0x00007fc57518f921 in __GI_abort () at abort.c:79
    #2  0x00007fc57c2f3866 in tensorflow::testing::StacktraceHandler(int, siginfo_t*, void*) () from /root/.cache/bazel/_bazel_root/a0fa203134db261597b116f783336d8b/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/core/kernels/../../../_solib_k8/_U_S_Stensorflow_Score_Skernels_Cembedding_Uvariable_Uops_Utest___Utensorflow/libtensorflow_framework.so.1
    #3  <signal handler called>
    #4  tensorflow::CounterFilterPolicy<long long, float, tensorflow::EmbeddingVar<long long, float> >::GetFreq (this=0x7fc583917250, key=20, value_ptr=0x0) at ./tensorflow/core/framework/embedding/counter_filter_policy.h:62
    DeepRec-AI#5  tensorflow::CounterFilterPolicy<long long, float, tensorflow::EmbeddingVar<long long, float> >::LookupOrCreate (this=0x7fc583917250, key=20, val=0x7fc564000b20, default_value_ptr=0x7fc583b0dc80, value_ptr=0x7fc57349f248, count=<optimized out>, default_value_no_permission=0x7fc573ce5000) at ./tensorflow/core/framework/embedding/counter_filter_policy.h:46
    DeepRec-AI#6  0x00007fc57d58b0a6 in tensorflow::EmbeddingVar<long long, float>::LookupOrCreate (key=20, default_v=0x0, count=1, val=0x7fc564000b20, this=0x7fc58363da40) at ./tensorflow/core/framework/embedding/embedding_var.h:235N
@xiaowan0322 xiaowan0322 deleted the ev_int8 branch May 29, 2023 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants