Skip to content

Commit 27be6db

Browse files
authored
style: 🔨 splits all import blocks into different sections (#98)
1 parent 3e10d4c commit 27be6db

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ require (
1515
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
1616
github.com/spf13/pflag v1.0.6
1717
github.com/valyala/fasthttp v1.59.0
18+
gopkg.in/yaml.v3 v3.0.1
1819
k8s.io/klog/v2 v2.130.1
1920
)
2021

@@ -43,5 +44,4 @@ require (
4344
golang.org/x/text v0.23.0 // indirect
4445
golang.org/x/tools v0.31.0 // indirect
4546
google.golang.org/protobuf v1.36.5 // indirect
46-
gopkg.in/yaml.v3 v3.0.1 // indirect
4747
)

pkg/llm-d-inference-sim/lora_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ import (
2121
"encoding/json"
2222
"errors"
2323

24-
vllmapi "github.com/llm-d/llm-d-inference-sim/pkg/vllm-api"
2524
. "github.com/onsi/ginkgo/v2"
2625
. "github.com/onsi/gomega"
2726
"github.com/openai/openai-go"
2827
"github.com/openai/openai-go/option"
28+
29+
vllmapi "github.com/llm-d/llm-d-inference-sim/pkg/vllm-api"
2930
)
3031

3132
var _ = Describe("LoRAs", func() {

pkg/llm-d-inference-sim/metrics.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ import (
2424
"sync/atomic"
2525
"time"
2626

27-
vllmapi "github.com/llm-d/llm-d-inference-sim/pkg/vllm-api"
2827
"github.com/prometheus/client_golang/prometheus"
28+
29+
vllmapi "github.com/llm-d/llm-d-inference-sim/pkg/vllm-api"
2930
)
3031

3132
// createAndRegisterPrometheus creates and registers prometheus metrics used by vLLM simulator

pkg/llm-d-inference-sim/simulator.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@ import (
3232
"github.com/buaazp/fasthttprouter"
3333
"github.com/go-logr/logr"
3434
"github.com/google/uuid"
35-
vllmapi "github.com/llm-d/llm-d-inference-sim/pkg/vllm-api"
3635
"github.com/prometheus/client_golang/prometheus"
3736
"github.com/prometheus/client_golang/prometheus/promhttp"
3837
"github.com/spf13/pflag"
3938
"github.com/valyala/fasthttp"
4039
"github.com/valyala/fasthttp/fasthttpadaptor"
4140
"k8s.io/klog/v2"
41+
42+
vllmapi "github.com/llm-d/llm-d-inference-sim/pkg/vllm-api"
4243
)
4344

4445
const (

0 commit comments

Comments
 (0)