-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
pythonPackages.torchdata: init at 0.3.0a1-e86cedc #160213
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -0,0 +1,70 @@ | ||||
| { lib | ||||
| , buildPythonPackage | ||||
| , fetchFromGitHub | ||||
|
|
||||
| # Propogated build inputs | ||||
| , pytorch | ||||
| , requests | ||||
|
|
||||
| # Check inputs | ||||
| , pytestCheckHook | ||||
| , expecttest | ||||
| , fsspec | ||||
| , numpy | ||||
| , rarfile | ||||
| , torchaudio | ||||
| , torchtext | ||||
| # , iopath | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| }: | ||||
|
|
||||
|
|
||||
| buildPythonPackage rec { | ||||
| pname = "torchdata"; | ||||
| version = "0.3.0a1-e86cedc"; | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should use the unstable format |
||||
|
|
||||
| src = fetchFromGitHub { | ||||
| owner = "pytorch"; | ||||
| repo = "data"; | ||||
| # rev = "v${version}"; | ||||
| rev = "e86cedc5ffd024ea293f541fc77e8a3b4856c8c9"; # git branch release/0.3.0 | ||||
|
Comment on lines
+28
to
+29
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can this be changed back? |
||||
| sha256 = "sha256:06gk7pqk2dbkxmaskycvvwyzhapbl5dr2r1v2vswdi6yx5iqzcwa"; | ||||
| }; | ||||
|
|
||||
| propagatedBuildInputs = [ | ||||
| pytorch # FIXME: relies on an unstable version of pytorch for now | ||||
| requests | ||||
| ]; | ||||
|
|
||||
| checkInputs = [ | ||||
| pytestCheckHook | ||||
| expecttest | ||||
| fsspec | ||||
| numpy | ||||
| rarfile | ||||
| torchaudio | ||||
| torchtext | ||||
| # iopath | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| ]; | ||||
|
|
||||
| disabledTests = [ | ||||
| # Tests that require network access | ||||
| "test_gdrive_iterdatapipe" | ||||
| "test_online_iterdatapipe" | ||||
| "test_http_reader_iterdatapipe" | ||||
| "test_on_disk_cache_holder_iterdatapipe" | ||||
| ]; | ||||
|
|
||||
| disabledTestPaths = [ | ||||
| # FIXME: This test relies on a newer (unstable) version of torchtext | ||||
| "test/test_text_examples.py" | ||||
| ]; | ||||
|
|
||||
| pythonImportsCheck = [ "torchdata" ]; | ||||
|
|
||||
| meta = with lib; { | ||||
| 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; [ ]; | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This must be set |
||||
| }; | ||||
| } | ||||
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.