I'm a young researcher. I came up with a new LLM's inference method "Helix" for…
- User
I'm a young researcher. I came up with a new LLM's inference method "Helix" for multi-node on heterogeneous devices. The idea is as follows: Using some algorithm, I find the ideal model placement of the model on the devices (On which device and which layers lie). For example, Model has 50 layers and I have 6 devices in different nodes, and which layers should be on them: { 'A100_1': [16, 17, 18, 19, 20, [Redacted InternationalBankingAccountNumber], 25, [Redacted InternationalBankingAccountNumber], 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49], 'A100_2': [17, 18, 19, 20, 21, 22, 23, 24, 25, [Redacted InternationalBankingAccountNumber], 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49], 'L4_1': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], 'L4_2': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], 'T4_1': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'T4_2': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] } I also have a new scheduler for processing requests to this model. For model placement above, I have an example for scheduling 10 requests (The device and the layers that this device processes for this request): Serving Request req_1 with input: Hello, world! Assigned Pipeline for req_1: [('L4_1', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]), ('A100_2', [17, 18, 19, 20, [Redacted InternationalBankingAccountNumber], 25, [Redacted InternationalBankingAccountNumber], 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49])] Serving Request req_2 with input: How are you today? Assigned Pipeline for req_2: [('L4_2', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]), ('A100_2', [17, 18, 19, 20, [Redacted InternationalBankingAccountNumber], 25, [Redacted InternationalBankingAccountNumber], 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49])] Serving Request req_3 with input: Tell me a joke. Assigned Pipeline for req_3: [('L4_1', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]), ('A100_1', [17, 18, 19, 20, 21, 22, 23, 24, 25, [Redacted InternationalBankingAccountNumber], 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49])] Serving Request req_4 with input: Explain quantum computing. Assigned Pipeline for req_4: [('T4_1', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]), ('A100_1', [16, 17, 18, 19, 20, [Redacted InternationalBankingAccountNumber], 25, [Redacted InternationalBankingAccountNumber], 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49])] Serving Request req_5 with input: What is the capital of France? Assigned Pipeline for req_5: [('L4_2', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]), ('A100_2', [17, 18, 19, 20, [Redacted InternationalBankingAccountNumber], [Redacted InternationalBankingAccountNumber], 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49])] Serving Request req_6 with input: Translate "Good morning" to Spanish. Assigned Pipeline for req_6: [('L4_1', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]), ('A100_2', [17, 18, 19, 20, [Redacted InternationalBankingAccountNumber], [Redacted InternationalBankingAccountNumber], 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49])] Serving Request req_7 with input: Summarize the plot of "Inception". Assigned Pipeline for req_7: [('T4_2', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]), ('A100_1', [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49])] Serving Request req_8 with input: What are the health benefits of green tea? Assigned Pipeline for req_8: [('L4_2', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]), ('A100_2', [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49])] Serving Request req_9 with input: Describe the process of photosynthesis. Assigned Pipeline for req_9: [('L4_1', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]), ('A100_2', [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49])] Serving Request req_10 with input: How does blockchain technology work?
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.