Skip to content

Commit 897dbb7

Browse files
authoredMar 1, 2025··
feat: support local GPU mode (#57)
* feat: support local GPU mode * chore: changed the GPU field in TensorFusionConnectionSpec to GPUs. Multi-GPU mode will be supported in the future. * chore: define the QosLevel enumeration
1 parent d5e9d87 commit 897dbb7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1261
-229
lines changed
 

‎.vscode/launch.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"env": {
1313
"ENABLE_WEBHOOKS": "false"
1414
},
15-
"program": "${workspaceFolder}/cmd/operator/main.go",
15+
"program": "${workspaceFolder}/cmd/main.go",
1616
},
1717
{
1818
"name": "Debug Discovery",
@@ -35,7 +35,7 @@
3535
"KUBECONFIG": "~/.kube/config-tf-dev",
3636
"ENABLE_WEBHOOKS": "false"
3737
},
38-
"program": "${workspaceFolder}/cmd/operator/main.go",
38+
"program": "${workspaceFolder}/cmd/main.go",
3939
},
4040
{
4141
"name": "Debug Demo Env Operator",
@@ -47,7 +47,7 @@
4747
"KUBECONFIG": "~/.kube/dev_us-east-1_demo",
4848
"ENABLE_WEBHOOKS": "false"
4949
},
50-
"program": "${workspaceFolder}/cmd/operator/main.go",
50+
"program": "${workspaceFolder}/cmd/main.go",
5151
},
5252
{
5353
"name": "Debug Test Code",

‎Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ lint-fix: golangci-lint ## Run golangci-lint linter and perform fixes
9393

9494
.PHONY: build
9595
build: manifests generate fmt vet ## Build manager binary.
96-
go build -o bin/manager cmd/operator/main.go
96+
go build -o bin/manager cmd/main.go
9797

9898
.PHONY: run
9999
run: manifests generate fmt vet ## Run a controller from your host.
100-
go run ./cmd/operator/main.go
100+
go run ./cmd/main.go
101101

102102
# If you wish to build the manager image targeting other platforms you can use the --platform flag.
103103
# (i.e. docker build --platform linux/arm64). However, you must enable docker buildKit for it.

0 commit comments

Comments
 (0)