Skip to content

pythonPackages.torchdata: init at 0.3.0a1-e86cedc#160213

Closed
rehno-lindeque wants to merge 1 commit intoNixOS:masterfrom
rehno-lindeque:torchdata-0.3.0
Closed

pythonPackages.torchdata: init at 0.3.0a1-e86cedc#160213
rehno-lindeque wants to merge 1 commit intoNixOS:masterfrom
rehno-lindeque:torchdata-0.3.0

Conversation

@rehno-lindeque
Copy link
Contributor

@rehno-lindeque rehno-lindeque commented Feb 15, 2022

Motivation for this change

Unstable version of the new composable pytorch data loading library.

TODO

I intend to use this at work, however it's not ready to merge. I'm leaving it as a draft PR for the time being:

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.05 Release Notes (or backporting 21.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Feb 15, 2022
@rehno-lindeque rehno-lindeque mentioned this pull request Aug 21, 2022
15 tasks
@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Sep 21, 2022
description = "A PyTorch repo for data loading and utilities to be shared by the PyTorch domain libraries.";
homepage = "github.com/pytorch/data";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This must be set

rarfile
torchaudio
torchtext
# iopath
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# iopath

Comment on lines +28 to +29
# rev = "v${version}";
rev = "e86cedc5ffd024ea293f541fc77e8a3b4856c8c9"; # git branch release/0.3.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be changed back?


buildPythonPackage rec {
pname = "torchdata";
version = "0.3.0a1-e86cedc";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should use the unstable format

, rarfile
, torchaudio
, torchtext
# , iopath
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# , iopath

Comment on lines +4 to +9

# Propogated build inputs
, pytorch
, requests

# Check inputs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Propogated build inputs
, pytorch
, requests
# Check inputs
, pytorch
, requests

@stale stale bot removed 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md labels Jun 18, 2023
@rehno-lindeque
Copy link
Contributor Author

If I remember correctly this is bundled with pytorch now. I'll open a new PR if that is not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments