Instructions to use MemTensor/MemT-1.0-Pro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MemTensor/MemT-1.0-Pro with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MemTensor/MemT-1.0-Pro", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("MemTensor/MemT-1.0-Pro", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MemTensor/MemT-1.0-Pro with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MemTensor/MemT-1.0-Pro" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MemTensor/MemT-1.0-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MemTensor/MemT-1.0-Pro
- SGLang
How to use MemTensor/MemT-1.0-Pro with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "MemTensor/MemT-1.0-Pro" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MemTensor/MemT-1.0-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "MemTensor/MemT-1.0-Pro" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MemTensor/MemT-1.0-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use MemTensor/MemT-1.0-Pro with Docker Model Runner:
docker model run hf.co/MemTensor/MemT-1.0-Pro
Add files using upload-large-folder tool
Browse files- model-00012-of-00226.safetensors +3 -0
- model-00020-of-00226.safetensors +3 -0
- model-00036-of-00226.safetensors +3 -0
- model-00064-of-00226.safetensors +3 -0
- model-00070-of-00226.safetensors +3 -0
- model-00071-of-00226.safetensors +3 -0
- model-00085-of-00226.safetensors +3 -0
- model-00094-of-00226.safetensors +3 -0
- model-00108-of-00226.safetensors +3 -0
- model-00113-of-00226.safetensors +3 -0
- model-00125-of-00226.safetensors +3 -0
- model-00128-of-00226.safetensors +3 -0
- model-00131-of-00226.safetensors +3 -0
- model-00162-of-00226.safetensors +3 -0
- model-00171-of-00226.safetensors +3 -0
- model-00180-of-00226.safetensors +3 -0
- model-00197-of-00226.safetensors +3 -0
- model-00200-of-00226.safetensors +3 -0
- model-00202-of-00226.safetensors +3 -0
- model-00205-of-00226.safetensors +3 -0
- model-00214-of-00226.safetensors +3 -0
- model-00216-of-00226.safetensors +3 -0
- model-00222-of-00226.safetensors +3 -0
model-00012-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49d31ba13fa60dacde3910ec5518555ff825cd76c0c46546137d0c65ec27ffdf
|
| 3 |
+
size 4991252600
|
model-00020-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:786c72a0bf08c1491dfc8d0e815f10de4b4535a03a4fa5f8b617645614d4f26e
|
| 3 |
+
size 4991252664
|
model-00036-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:673fa39058b4c97354151599ff2dfc28c1c4940e365bcc1ba7e370d2d62a0020
|
| 3 |
+
size 4991252840
|
model-00064-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b1861e95a6b4bceed1e7b85edf3122b107a9cd2aefa715bde59ce0a0958c8e1
|
| 3 |
+
size 4991252840
|
model-00070-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ede875bd0b7057a595b7c04e61a8a223c87f7c1cf6ff6dd7159b2c6e303a949
|
| 3 |
+
size 4995491376
|
model-00071-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe709dcbabbedb8a1f3a450dc580727e14e1c65d7d499e893197f98b24823cd3
|
| 3 |
+
size 4991252840
|
model-00085-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e1e32258b81239dedf241743aaeabe8fc528817ebbbba4cf1a12f3e3fe911b1
|
| 3 |
+
size 4991252840
|
model-00094-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd759a3aefd0c789ffd140162886a73f6e991ad5a3a4cdcd500ea92bbb94a5b4
|
| 3 |
+
size 4991252840
|
model-00108-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48409d3cca01d652cf6aae9d05f32b3d6cc4f34e50c47451f714c4a2401b9624
|
| 3 |
+
size 4991252840
|
model-00113-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a762b67056ef04a789894fe2fd9fb95562602a452906bdef74831866eb1513d3
|
| 3 |
+
size 4991252840
|
model-00125-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e08b9545ab93e5c3f513d0c59cba8cbe95a90652e7deccef847c8c308cb4afd6
|
| 3 |
+
size 4991252624
|
model-00128-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0678e8d249b6da4641696eb90f2fd6c6de8cbdc68fed7ba7c4f6acae07f86e3b
|
| 3 |
+
size 4991252840
|
model-00131-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec3cb3db8bc438fac0dc217e717dab8bfe273210da05cb3f9f725e956ea99c77
|
| 3 |
+
size 4991252840
|
model-00162-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38ba4249ef4ad2c2a2ef5e396678cb6df9ff8059142c50c34fb343ed564526ed
|
| 3 |
+
size 4991252744
|
model-00171-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f912a0f69b6eedd1129bed0baec144f01c0df8f6de8c7ac40b2036c5fe5012e0
|
| 3 |
+
size 4991252696
|
model-00180-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad109bc61920bd6db024a0719e4c384b06c2056c86e2d5cce309239b39b4b794
|
| 3 |
+
size 4991252648
|
model-00197-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70fa27ffd962d6e67ce839bbb362d38ef722205853c09e77deb4692cff276763
|
| 3 |
+
size 4962095640
|
model-00200-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c385b07b83e4d0c34764f5c428a250700fecdcb3b17dba4521636a54feabecc
|
| 3 |
+
size 4991252840
|
model-00202-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:042453345b71b51870c41a020c9417c46aaea877c37c816aae064ebe48b5bbf2
|
| 3 |
+
size 4987305976
|
model-00205-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d53be34e4784d5d9e4598df3902eb93854b5b9320359377065e2750adb7634db
|
| 3 |
+
size 4991253080
|
model-00214-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6446272b938401cf4087d2854310b53db7c92e26eb75b8b10a7b613fa6129ae
|
| 3 |
+
size 4991253080
|
model-00216-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:615f74af15dad6f71589f865036bdacbeb3258c971f0cdb7e9bfb7cfb5dd4782
|
| 3 |
+
size 4987306000
|
model-00222-of-00226.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:872f87277b446be0358d009f52c5ae2de876bb0b9897890ed26ec2de06747b95
|
| 3 |
+
size 4991251320
|