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
added pythonPackages.tensorboardX #52939
Conversation
e0f9efe
to
7daa7a1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the full PR template, it's there for a reason.
@FRidh all done |
@GrahamcOfBorg build python3.pkgs.tensorboardX |
@FRidh renamed to lowercase. |
Are there any updates on this pull request, please? |
@GrahamcOfBorg eval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok
9488c0a
to
53c410f
Compare
@FRidh, please have a look. |
Thank you for your contributions.
|
Updated PR to latest tensorboardX-2.0, apparently, previosly failed tests were fixed upstream, so now they all pass (besides two, one for Visdom integration which is missing from nixpkgs and one trying download something with wget. All builds and works nicely for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it also makes sense to squash all of the tensorboard commits, and have just a single python3Packages.tensorboardx: init at 2.0
.
From the perspective master branch, the meaningful change is that a package was added, the intermediate bumps are not very consequential (at least to me).
I think @mweinelt has an interest in getting this merged. |
@Mic92 commits squashed, githubId added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a great start, I only added some style remarks.
@@ -0,0 +1,30 @@ | |||
{boto3, buildPythonPackage, crc32c, fetchFromGitHub, lib, matplotlib, moto, numpy, pillow, pytorch, protobuf, six, pytest, tensorflow-tensorboard, torchvision }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you wrap this line? It is quite a bit too long to properly read on GitHub.
|
||
meta = { | ||
description = "Library for writing tensorboard-compatible logs"; | ||
homepage = https://github.com/lanpa/tensorboard-pytorch; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URL needs to be quoted as per RFC 45: https://github.com/NixOS/rfcs/blob/master/rfcs/0045-deprecate-url-syntax.md
substituteInPlace tests/test_onnx_graph.py --replace test_onnx_graph _skip_test_onnx_graph | ||
''; | ||
|
||
meta = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
meta = { | |
meta = with lib; { |
And then cut off lib.
on license
, maintainers
and platforms
.
postPatch='' | ||
substituteInPlace tests/test_visdom.py --replace test_TorchVis _skip_test_TorchVis | ||
substituteInPlace tests/test_onnx_graph.py --replace test_onnx_graph _skip_test_onnx_graph | ||
''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation here seems off.
@mweinelt, thanks for tips for fixing style. All done. |
@GrahamcOfBorg build python3.pkgs.tensorboardX |
@GrahamcOfBorg build python3.pkgs.tensorboardx |
Motivation for this change
Added an expression for tensorboardX, a standalone library for logging data for subsequent visualization by tensorboard.
Things done