Open cyprienc opened 4 months ago
The function envpool.python.xla_template._make_xla_function wrongfully passes bytes instead of str for the name parameter when calling xla_client.register_custom_call_target.
envpool.python.xla_template._make_xla_function
bytes
str
name
xla_client.register_custom_call_target
This leads to errors when calling envs.xla().
envs.xla()
Removing .encode() fixes the issue.
.encode()
The lint issue is not related to this change.
The function
envpool.python.xla_template._make_xla_function
wrongfully passesbytes
instead ofstr
for thename
parameter when callingxla_client.register_custom_call_target
.This leads to errors when calling
envs.xla()
.Removing
.encode()
fixes the issue.