UOB-AI / UOB-AI.github.io

A repository to host our documentations website.
https://UOB-AI.github.io
1 stars 3 forks source link

I tensorflow/compiler/xla/service/service.cc:173] XLA service 0x7f9668027f90 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: #22

Closed Amalsalem closed 1 year ago

Amalsalem commented 1 year ago

2023-04-23 20:57:00.276459: I tensorflow/compiler/xla/service/service.cc:173] XLA service 0x7f9668027f90 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2023-04-23 20:57:00.276497: I tensorflow/compiler/xla/service/service.cc:181] StreamExecutor device (0): NVIDIA A100-PCIE-40GB, Compute Capability 8.0 2023-04-23 20:57:00.276509: I tensorflow/compiler/xla/service/service.cc:181] StreamExecutor device (1): NVIDIA A100-PCIE-40GB, Compute Capability 8.0 2023-04-23 20:57:00.758691: I tensorflow/tsl/platform/default/subprocess.cc:304] Start cannot spawn child process: No such file or directory 2023-04-23 20:57:00.804742: I tensorflow/compiler/jit/xla_compilation_cache.cc:477] Compiled cluster using XLA! This line is logged at most once for the lifetime of the process.

asubah commented 1 year ago

As I said in the other issues, without a context we can't help you, please provide more details, and preferably some code that we can test.

Amalsalem commented 1 year ago

i am trying to run this function

def q_mat(X, centers, alpha=1.0):

if X.size == 0:
    q = np.array([])
else:
    q = 1.0 / (1.0 + (np.sum(np.square(np.expand_dims(X, 1) - centers),

axis=2) / alpha))

print('qfirst', q)

    q = q**((alpha+1.0)/2.0)
    #print('sessecond', q)
    #print('np.transpose(q)',np.transpose(q))
    #print('np.sum(q, axis=1)',np.sum(q, axis=1) )
    q = np.transpose(np.transpose(q)/np.sum(q, axis=1))
    #print('alpha',alpha)
    #print('inside else',q)
    #print('inside else qq', q.argmax(0))
return q

On Wed, Apr 26, 2023 at 12:06 PM Abdulla Subah @.***> wrote:

As I said in the other issues, without a context we can't help you, please provide more details, and preferably some code that we can test.

— Reply to this email directly, view it on GitHub https://github.com/UOB-AI/UOB-AI.github.io/issues/22#issuecomment-1523055898, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY3B76GDKWLT5UA6HERO75TXDDQTDANCNFSM6AAAAAAXMDKGO4 . You are receiving this because you authored the thread.Message ID: @.***>