lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ray-bin: init at 2.0.0

use the correct redis

+185
+11
pkgs/development/python-modules/ray/binary-hashes.nix
··· 1 + { 2 + cp38 = { 3 + sha256 = "da8adfa33ff54bc61cfe80334a0ee889e0060918db6ff9215aebe32e98b1f939"; 4 + }; 5 + cp39 = { 6 + sha256 = "cab13346650f88171b3f348ed352f04695b96d1ab1090ed3b80bdc93e897dbd4"; 7 + }; 8 + cp310 = { 9 + sha256 = "bcf3bff9517d77ea6c98592fa16e1cfb8bc0cfa345d3be69729bfa9c5bd78a7c"; 10 + }; 11 + }
+166
pkgs/development/python-modules/ray/default.nix
··· 1 + { aiohttp 2 + , aiohttp-cors 3 + , aiorwlock 4 + , aiosignal 5 + , attrs 6 + , autoPatchelfHook 7 + , buildBazelPackage 8 + , buildPythonPackage 9 + , fetchPypi 10 + , click 11 + , cloudpickle 12 + , colorama 13 + , colorful 14 + , cython 15 + , dm-tree 16 + , fastapi 17 + , filelock 18 + , frozenlist 19 + , fsspec 20 + , gpustat 21 + , grpc 22 + , grpcio 23 + , gym 24 + , jsonschema 25 + , lib 26 + , lz4 27 + , matplotlib 28 + , msgpack 29 + , numpy 30 + , opencensus 31 + , packaging 32 + , pandas 33 + , py-spy 34 + , prometheus-client 35 + , protobuf3_20 36 + , psutil 37 + , pyarrow 38 + , pydantic 39 + , python 40 + , pythonAtLeast 41 + , pythonOlder 42 + , pythonRelaxDepsHook 43 + , pyyaml 44 + , redis 45 + , requests 46 + , scikitimage 47 + , scipy 48 + , setproctitle 49 + , smart-open 50 + , starlette 51 + , stdenv 52 + , tabulate 53 + , tensorboardx 54 + , uvicorn 55 + , virtualenv 56 + }: 57 + 58 + let 59 + pname = "ray"; 60 + version = "2.0.0"; 61 + in 62 + buildPythonPackage rec { 63 + inherit pname version; 64 + format = "wheel"; 65 + 66 + disabled = pythonOlder "3.8" || pythonAtLeast "3.11"; 67 + 68 + src = 69 + let 70 + pyShortVersion = "cp${builtins.replaceStrings ["."] [""] python.pythonVersion}"; 71 + binary-hash = (import ./binary-hashes.nix)."${pyShortVersion}"; 72 + in 73 + fetchPypi ({ 74 + inherit pname version format; 75 + dist = pyShortVersion; 76 + python = pyShortVersion; 77 + abi = pyShortVersion; 78 + platform = "manylinux2014_x86_64"; 79 + } // binary-hash); 80 + 81 + passthru.optional-dependencies = rec { 82 + data-deps = [ 83 + pandas 84 + pyarrow 85 + fsspec 86 + ]; 87 + 88 + serve-deps = [ 89 + aiorwlock 90 + fastapi 91 + pandas 92 + starlette 93 + uvicorn 94 + ]; 95 + 96 + tune-deps = [ 97 + tabulate 98 + tensorboardx 99 + ]; 100 + 101 + rllib-deps = tune-deps ++ [ 102 + dm-tree 103 + gym 104 + lz4 105 + matplotlib 106 + scikitimage 107 + pyyaml 108 + scipy 109 + ]; 110 + 111 + air-deps = data-deps ++ serve-deps ++ tune-deps ++ rllib-deps; 112 + }; 113 + 114 + nativeBuildInputs = [ 115 + autoPatchelfHook 116 + pythonRelaxDepsHook 117 + ]; 118 + 119 + pythonRelaxDeps = [ "grpcio" "click" "protobuf" ]; 120 + 121 + propagatedBuildInputs = [ 122 + attrs 123 + aiohttp 124 + aiohttp-cors 125 + aiosignal 126 + click 127 + cloudpickle 128 + colorama 129 + colorful 130 + cython 131 + filelock 132 + frozenlist 133 + gpustat 134 + grpcio 135 + jsonschema 136 + msgpack 137 + numpy 138 + opencensus 139 + packaging 140 + py-spy 141 + prometheus-client 142 + protobuf3_20 143 + psutil 144 + pydantic 145 + pyyaml 146 + requests 147 + setproctitle 148 + smart-open 149 + virtualenv 150 + ]; 151 + 152 + postInstall = '' 153 + chmod +x $out/${python.sitePackages}/ray/core/src/ray/{gcs/gcs_server,raylet/raylet} 154 + ln -sf ${redis}/bin/redis-server $out/${python.sitePackages}/ray/core/src/ray/thirdparty/redis/src/redis-server 155 + ''; 156 + 157 + pythonImportsCheck = [ "ray" ]; 158 + 159 + meta = with lib; { 160 + description = "A unified framework for scaling AI and Python applications"; 161 + homepage = "https://github.com/ray-project/ray"; 162 + license = licenses.asl20; 163 + maintainers = with maintainers; [ billhuang ]; 164 + platforms = [ "x86_64-linux" ]; 165 + }; 166 + }
+8
pkgs/top-level/python-packages.nix
··· 433 433 434 434 aiorun = callPackage ../development/python-modules/aiorun { }; 435 435 436 + aiorwlock = callPackage ../development/python-modules/aiorwlock { }; 437 + 436 438 aiosenseme = callPackage ../development/python-modules/aiosenseme { }; 437 439 438 440 aiosenz = callPackage ../development/python-modules/aiosenz { }; ··· 4034 4036 gps3 = callPackage ../development/python-modules/gps3 { }; 4035 4037 4036 4038 gpsoauth = callPackage ../development/python-modules/gpsoauth { }; 4039 + 4040 + gpustat = callPackage ../development/python-modules/gpustat { }; 4037 4041 4038 4042 gpxpy = callPackage ../development/python-modules/gpxpy { }; 4039 4043 ··· 6522 6526 openbabel = callPackage ../development/libraries/openbabel { inherit (self) python; }; 6523 6527 }; 6524 6528 6529 + opencensus = callPackage ../development/python-modules/opencensus { }; 6530 + 6525 6531 opencv3 = toPythonModule (pkgs.opencv3.override { 6526 6532 enablePython = true; 6527 6533 pythonPackages = self; ··· 9615 9621 raven = callPackage ../development/python-modules/raven { }; 9616 9622 9617 9623 rawkit = callPackage ../development/python-modules/rawkit { }; 9624 + 9625 + ray = callPackage ../development/python-modules/ray { redis = pkgs.redis; }; 9618 9626 9619 9627 rbtools = callPackage ../development/python-modules/rbtools { }; 9620 9628