mirror of https://github.com/llvm/torch-mlir
* Unrevert #1724 * Update pytorch requirements.txtpull/1680/head snapshot-20221221.694
parent
66d7a412cb
commit
1d695239ff
|
@ -309,7 +309,7 @@ at::Tensor LazyNativeFunctions::empty_symint(
|
|||
c10::optional<bool> pin_memory,
|
||||
c10::optional<at::MemoryFormat> memory_format) {
|
||||
// TODO: support this directly
|
||||
auto size = c10::asIntArrayRefSlow(sym_size);
|
||||
auto size = C10_AS_INTARRAYREF_SLOW(sym_size);
|
||||
const auto device_type = torch::lazy::getBackend()->EagerFallbackDeviceType();
|
||||
at::TensorOptions options = at::TensorOptions()
|
||||
.device(c10::Device(device_type))
|
||||
|
|
|
@ -1 +1 @@
|
|||
87269961258692d20a59a8f54116a85aa441cdbc
|
||||
8b450f69345d14fef8e8e3fbec7da6527820b9aa
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
-f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
|
||||
--pre
|
||||
torch==2.0.0.dev20221217
|
||||
torchvision==0.15.0.dev20221217
|
||||
torch==2.0.0.dev20221220
|
||||
torchvision==0.15.0.dev20221220
|
||||
|
|
Loading…
Reference in New Issue