Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

runtime shape errors are terrible in jupyter #899

Open
ematejska opened this issue Apr 28, 2020 · 0 comments
Open

runtime shape errors are terrible in jupyter #899

ematejska opened this issue Apr 28, 2020 · 0 comments

Comments

@ematejska
Copy link
Contributor

Imported from JIRA https://bugs.swift.org/browse/TF-471

Type: Bug Priority: Major
Reporter: Chris Lattner Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Runtime shape errors look like this, which is pretty terrible:

Fatal error: In[0] is not a matrix. Instead it has shape [60000]: file /swift-base/swift/stdlib/public/TensorFlow/CompilerRuntime.swift, line 2108
Current stack trace:
0 libswiftCore.so 0x00007ff60e13be00 _swift_stdlib_reportFatalErrorInFile + 115
1 libswiftCore.so 0x00007ff60e08406c <unavailable> + 3035244
2 libswiftCore.so 0x00007ff60e08415e <unavailable> + 3035486
3 libswiftCore.so 0x00007ff60decba12 <unavailable> + 1231378
4 libswiftCore.so 0x00007ff60e050d42 <unavailable> + 2825538
5 libswiftCore.so 0x00007ff60decaef9 <unavailable> + 1228537
6 libswiftTensorFlow.so 0x00007ff60b16b022 <unavailable> + 598050
7 libswiftTensorFlow.so 0x00007ff60b169770 checkOk(_:file:line:) + 508
8 libswiftTensorFlow.so 0x00007ff60b18de70 TFCCheckOk( + 81
9 libswiftTensorFlow.so 0x00007ff60b18de60 _swift_tfc_CheckOk + 9

We should be able to get something that looks like a compiler error message (including caret diagnostics) to come out of the runtime.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant