I hereby claim:
- I am thesues on github.
- I am deanraccoon (https://keybase.io/deanraccoon) on keybase.
- I have a public key ASBBFEKvMtdNnGWGrT-OToZWuImEeG-UQtQly-i7me0-0wo
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| import argparse | |
| import subprocess | |
| import time | |
| import signal | |
| import sys | |
| import math | |
| import matplotlib.pyplot as plt | |
| import torch | |
| import torch.nn as nn | |
| import torch.nn.functional as F | |
| import queue | |
| import threading | |
| # 定义一个简单的两层全连接模型 | |
| class SimpleModel(nn.Module): | |
| def __init__(self, input_dim, hidden_dim, output_dim): | |
| super(SimpleModel, self).__init__() |
| #include <cuda_runtime.h> | |
| #include <infiniband/verbs.h> | |
| #include <iostream> | |
| int main() { | |
| // 1. 分配 GPU 内存 | |
| void* gpu_ptr1; | |
| void* gpu_ptr2; | |
| // 64MB * 2 => pass | |
| // 110MB * 2 => pass |
| task=$(curl --location 'http://ailint.tiktok-row.org/dev' --header 'Authorization: ABCDEFG' --header 'Content-Type: application/json' --data '{"repo":"https://github.com/bd-iaas-us/AILint.git", "token":"FAKE", "prompt":"create a file whose name is utils.py. implement a binary search. export function as search(array, value)"}' | python3 -c "import sys, json; print(json.load(sys.stdin)['task_id'])") | |
| curl http://ailint.tiktok-row.org/dev/histories/$task --header 'Authorization: ABCDEFG' |
| 1. comment out | |
| ```python | |
| def call_api(gateway_list, endpoint, element, http_method='put', api_vars=None): | |
| """ | |
| Generic API handler to process a given request across multiple gateways | |
| :param gateway_list: (list) | |
| :param endpoint: (str) http api endpoint name to call | |
| :param element: (str) object to act upon | |
| :param http_method: (str) put or get http method |
| #include <stdio.h> | |
| #define __USE_FILE_OFFSET64 | |
| #include <cephfs/libcephfs.h> | |
| #include <errno.h> | |
| #include <fcntl.h> | |
| #include <string> | |
| #include <iostream> | |
| #include <time.h> | |
| #include <pthread.h> |
| package util | |
| import ( | |
| "bytes" | |
| ) | |
| func EscapeColon(s string) string { | |
| //Byte loop is OK for utf8 | |
| buf := new(bytes.Buffer) | |
| l := len(s) |
| package main | |
| import ( | |
| "encoding/hex" | |
| "log" | |
| "net" | |
| "time" | |
| ) | |
| const ( |
| #!/bin/bash | |
| account="thesues" | |
| token=$1 | |
| download_asset() | |
| { | |
| user=$1 | |
| repo=$2 | |
| json=$3 |
I hereby claim:
To claim this, I am signing this object: