We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to get the Nix packaging for the Haskell bindings up to data, but the QueueTest fails. Here's some more info:
QueueTest
NixOS/nixpkgs#119411
In particular, copying what I just wrote into the pull request:
The offsets for decoding strings seem to be out of whack. In QueueTest, the correct FFI.TensorData records for the strings look like this:
FFI.TensorData
tensorData: TensorData {tensorDataDimensions = [], tensorDataType = DT_STRING, tensorDataBytes = [0,0,0,0,0,0,0,0,2,72,105]} tensorData: TensorData {tensorDataDimensions = [], tensorDataType = DT_STRING, tensorDataBytes = [0,0,0,0,0,0,0,0,3,66,97,114]} tensorData: TensorData {tensorDataDimensions = [], tensorDataType = DT_STRING, tensorDataBytes = [0,0,0,0,0,0,0,0,3,66,97,122]} tensorData: TensorData {tensorDataDimensions = [], tensorDataType = DT_STRING, tensorDataBytes = [0,0,0,0,0,0,0,0,3,66,97,122]} tensorData: TensorData {tensorDataDimensions = [], tensorDataType = DT_STRING, tensorDataBytes = [0,0,0,0,0,0,0,0,5,65,115,121,110,99]} tensorData: TensorData {tensorDataDimensions = [], tensorDataType = DT_STRING, tensorDataBytes = [0,0,0,0,0,0,0,0,5,65,115,121,110,99]}
The broken ones I'm seeing look like this:
tensorData: TensorData {tensorDataDimensions = [], tensorDataType = DT_STRING, tensorDataBytes = [8,72,105,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]} dataBytes: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 tensorData: TensorData {tensorDataDimensions = [], tensorDataType = DT_STRING, tensorDataBytes = [12,66,97,122,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]} dataBytes: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 tensorData: TensorData {tensorDataDimensions = [], tensorDataType = DT_STRING, tensorDataBytes = [20,65,115,121,110,99,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]} dataBytes: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Feels like there's an offset of 8 going on.
Maybe somebody looking at it knows what's going on - help would be much appreciated!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to get the Nix packaging for the Haskell bindings up to data, but the
QueueTest
fails. Here's some more info:NixOS/nixpkgs#119411
In particular, copying what I just wrote into the pull request:
The offsets for decoding strings seem to be out of whack. In
QueueTest
, the correctFFI.TensorData
records for the strings look like this:The broken ones I'm seeing look like this:
Feels like there's an offset of 8 going on.
Maybe somebody looking at it knows what's going on - help would be much appreciated!
The text was updated successfully, but these errors were encountered: