Skip to content

Commit

Permalink
Merge pull request #76 from golemfactory/pwalski/gpu_info
Browse files Browse the repository at this point in the history
offer-template with GPU info
  • Loading branch information
nieznanysprawiciel authored Mar 26, 2024
2 parents a341765 + 85be431 commit 0642cf0
Show file tree
Hide file tree
Showing 14 changed files with 494 additions and 166 deletions.
131 changes: 131 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "offer-template dummy",
"cargo": {
"args": [
"build",
"--bin=ya-runtime-ai",
"--package=ya-runtime-ai"
],
"filter": {
"name": "ya-runtime-ai",
"kind": "bin"
}
},
"args": [
"--runtime",
"dummy",
"offer-template"
],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "offer-template automatic",
"cargo": {
"args": [
"build",
"--bin=ya-runtime-ai",
"--package=ya-runtime-ai"
],
"filter": {
"name": "ya-runtime-ai",
"kind": "bin"
}
},
"args": [
"--runtime",
"automatic",
"offer-template"
],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "test dummy",
"cargo": {
"args": [
"build",
"--bin=ya-runtime-ai",
"--package=ya-runtime-ai"
],
"filter": {
"name": "ya-runtime-ai",
"kind": "bin"
}
},
"args": [
"--runtime",
"dummy",
"test"
],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "test automatic",
"cargo": {
"args": [
"build",
"--bin=ya-runtime-ai",
"--package=ya-runtime-ai"
],
"filter": {
"name": "ya-runtime-ai",
"kind": "bin"
}
},
"args": [
"--runtime",
"automatic",
"test"
],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'ya-runtime-ai'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=ya-runtime-ai",
"--package=ya-runtime-ai"
],
"filter": {
"name": "ya-runtime-ai",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug integration test 'runtime_config'",
"cargo": {
"args": [
"test",
"--no-run",
"--test=runtime_config",
"--package=ya-runtime-ai"
],
"filter": {
"name": "runtime_config",
"kind": "test"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
122 changes: 112 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 9 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[workspace]
members = [
"runtimes/dummy"
members = [
"gpu-detection",
"runtimes/dummy",
]

[dependencies]
Expand All @@ -17,10 +18,11 @@ ya-service-bus = "0.7.1"
ya-client-model = "0.6.0"
ya-agreement-utils = "0.5"
ya-transfer = { git = "https://github.com/golemfactory/yagna.git", rev = "fb9a89b11c815b5b6b664ca6c8b1151524420aa3" }
gpu-detection = { path = "gpu-detection" }

actix = "0.13"
actix-rt = "2"
async-trait = "0.1.77"
async-trait = "0.1"
log = "0.4"
serde = { version = "^1.0", features = ["derive"] }
serde_json = "1.0"
Expand All @@ -31,15 +33,15 @@ env_logger = "0.10"
yansi = "0.5"
chrono = "0.4"
tokio = { version = "1.32", features = ["macros", "signal"] }
tokio-stream = { version = "0.1.14", features = ["io-util"] }
tokio-stream = { version = "0.1", features = ["io-util"] }
futures = "0.3"
flexi_logger = { version = "0.27", features = ["colors"] }
regex = "1"
reqwest = { version = "0.11", features = ["blocking", "json"] }
async-stream = "0.3.5"
async-stream = "0.3"
ya-gsb-http-proxy = { git = "https://github.com/golemfactory/yagna.git", rev = "fb9a89b11c815b5b6b664ca6c8b1151524420aa3" }
http = "0.2.11"
bytes = "1.5.0"
http = "1.1"
bytes = "1.5"
humantime = "2.1"
humantime-serde = "1.1"

Expand Down
Loading

0 comments on commit 0642cf0

Please sign in to comment.